Commit Graph

51314 Commits

Author SHA1 Message Date
Nicolas B. Pierron
b97581bda3 Bug 1212258 - ARM Assembler::as_b: Add oom check before reading the BufferOffset for debug assertions. r=jolesen 2015-10-08 18:07:15 +02:00
Jon Coppeard
b447892ec6 Bug 1209107 - Only expose module environment object through testing functions r=shu 2015-10-08 10:49:49 +01:00
Jon Coppeard
93caf76aac Bug 1212430 - Remove CrashAtUnhandlableOOM() and replace with AutoEnterOOMUnsafeRegion r=jandem 2015-10-08 10:49:49 +01:00
Jon Coppeard
0ae0f8e41a Bug 978802 - Crash in argumentsOptimizationFailed() if we run out of memory r=jandem 2015-10-08 10:49:49 +01:00
Lars T Hansen
aff3a9aab3 Bug 1177122 - handle OOM in JSStructuredCloneWriter destructor. r=evilpie 2015-10-08 10:25:23 +01:00
Lars T Hansen
f7185aea2d Bug 1212296 - undo a state change on OOM. r=till 2015-10-08 10:25:21 +01:00
Shu-yu Guo
a83ec92261 Bug 1212183 - Fix DOM getter optimizations in the JITs. 2015-10-06 19:49:06 -07:00
Jakob Olesen
996f1627b4 Bug 1130672 - ARM assembler: Check oom() before using editSrc(). r=jandem
The editSrc() function returns a pointer into the assembly buffer. This
may not be a valid pointer if the assembly buffer ran out of memory.

Harden AssemblerBuffer::getInst() by adding assertions. Since invalid
uses of getInst() may be security bugs, use MOZ_RELEASE_ASSERT for the
range check.
2015-10-08 11:41:42 +05:30
Wes Kocher
2b3acc7aa0 Backed out changeset c109ff711c09 (bug 1212183) for mass bustage CLOSED TREE 2015-10-07 17:29:08 -07:00
Shu-yu Guo
be95718e8b Bug 1212605 - Emit global name conflicts check for Ion scripts regardless of scope chain usage. (r=efaust) 2015-10-07 16:52:30 -07:00
Shu-yu Guo
6e679eca03 Bug 1212183 - Fix DOM getter optimizations in the JITs. (r=jandem) 2015-10-07 15:49:28 -07:00
Wes Kocher
084c83383e Backed out 7 changesets (bug 1185106) for mulet m(4) orange
Backed out changeset 0ddd61fbe36f (bug 1185106)
Backed out changeset abdb25290c42 (bug 1185106)
Backed out changeset 2829205d2c81 (bug 1185106)
Backed out changeset e0552bf93a5a (bug 1185106)
Backed out changeset 50d74e6e8937 (bug 1185106)
Backed out changeset d26bbcce9e10 (bug 1185106)
Backed out changeset deb987f79ee8 (bug 1185106)
2015-10-07 14:54:05 -07:00
Eric Faust
f452a57a7c Bug 1185106 - Despondent followup: Fix an assertion so that maybe the tests will pass and it can finally land. (rs=Waldo) 2015-10-07 14:28:23 -07:00
Eric Faust
b5a762c88e Bug 1185106 - Follow up 2: Fix a non-JS_HAS_ASYNC_FUNCS build warning. (r=me) 2015-10-05 13:24:03 -07:00
Eric Faust
ed58495343 Bug 1185106 - Follow up: Clean up NIGHTLY_ONLY handling for async functions, and allow tests to pass on uplift. (r=Waldo) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
a564f46f93 Bug 1185106 - Part 4: Implement async functions. (r=efaust, r=jandem) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
367665b0be Bug 1185106 - Part 3: Add parser support for Async functions. (r=efaust) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
9963b230dc Bug 1185106 - Part 2: Implement ShellPromise. (r=till) 2015-10-05 13:24:03 -07:00
Till Schneidereit
bc4f9d9099 Bug 1185106 - Part 1: ShellPromise boilerplate. (r=efaust) 2015-10-05 13:24:03 -07:00
Eric Faust
745a9d59ea No Bug - Include jswin.h in jsobj.cpp to unbreak windows non-unified bustage. (r=terrence over IRC) 2015-10-07 13:34:20 -07:00
Lars T Hansen
ffaf1cb7cc Bug 1209497 - OOM-crash if a consistent object table is impossible. r=jandem 2015-10-07 18:22:28 +01:00
Lars T Hansen
1f22d82796 Bug 1211949 - check for allocation failure. r=nbp 2015-10-07 18:22:25 +01:00
Jon Coppeard
15bd450b04 Bug 1211964 - Fix a couple of OOM handling issues in regexp code r=terrence 2015-10-07 14:58:41 +01:00
Jon Coppeard
825deb434b Bug 1212015 - Fix an unchecked allocation in AsmJS r=terrence 2015-10-07 14:58:41 +01:00
Jon Coppeard
429c516ef8 Bug 1212011 - Replace more uses of CrashAtUnhandlableOOM() with AutoEnterOOMUnsafeRegion r=terrence 2015-10-07 14:58:41 +01:00
Jon Coppeard
8e7070660b Bug 1209001 - Add test code for OOM handling in parseModule() r=terrence 2015-10-07 14:58:40 +01:00
Jan de Mooij
175bd2224a Bug 1208403 - Fix byteSizeOfScript shell function to check for scripted functions. r=jonco
--HG--
extra : rebase_source : 05b74ef7e9e42a7d3801fa8c999bc0e06b2a7f8d
2015-10-07 14:30:50 +01:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Jan de Mooij
cdb37120fe Bug 1193102 - Deal with OOM in NewObjectCache::invalidateEntriesForShape. r=bhackett 2015-10-07 11:40:13 +01:00
Jacek Caban
ef98cfc55b Bug 1197281 - Use MOZ_FIND_WINSDK_VERSION for MOZ_WINSDK_MAXVER on mingw. r=glandium 2015-10-07 12:26:40 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Tom Schuster
9f084aa31c Bug 1211832 - Disable functions that can easily cause artificial OOMs. r=jonco 2015-10-06 17:04:09 +01:00
Tom Schuster
57abe031dd Bug 1188390 - Fail when Sprinter in disassemble ooms. r=h4writer 2015-10-06 17:04:09 +01:00
Jon Coppeard
7187bae5a8 Bug 1208665 r=Waldo a=abillings 2015-10-07 11:04:37 +01:00
Nicolas B. Pierron
c1ecd2ffc8 Bug 1211962 - addNativeToBytecodeEntry: Check that the masm.currentOffset() returns a valid result. r=djvj 2015-10-07 11:55:09 +02:00
Benjamin Bouvier
d346e51c8d Bug 1211956: Check result of EmptyShape::getInitialShape; r=h4writer
--HG--
extra : rebase_source : c2ec5ca1e09c8c5919a51469218bf58c070a8c54
2015-10-06 18:24:03 +02:00
Steve Fink
1eb9a85635 Bug 1205887 - Verify that MOZILLA_VERSION was set correctly, r=glandium
--HG--
extra : commitid : 3g91k2r7xzC
extra : rebase_source : 2e49c764882e7234dddcdaea3273b7057ba12543
2015-09-29 13:39:37 -07:00
Steve Fink
6795239dce No bug. Remove some long obsolete files. r=woof!
--HG--
extra : commitid : ColRK0WPSMO
extra : rebase_source : 02581480dff3b99106096470a78d8cdf7666aff8
2015-10-06 14:31:04 -07:00
Shu-yu Guo
0d21d8c3b8 Bug 1212128 - Annotate oomInGetJumpLabelForBranch with allow-oom. (rs=terrence) 2015-10-06 15:40:46 -07:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
28cf01e111 Bug 589199 - Implement all-or-nothing redeclaration checks for global and eval scripts. (r=efaust) 2015-10-06 14:00:30 -07:00
Shu-yu Guo
3ee25fe1c0 No bug - Rename Definition::CONST to Definition::CONSTANT to avoid macro name collision on Windows. (r=Waldo) 2015-10-06 14:00:30 -07:00
Shu-yu Guo
52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Shu-yu Guo
99fd14ce85 Bug 589199 - Fix jit-tests and js reftests. (r=efaust) 2015-10-06 14:00:30 -07:00
Shu-yu Guo
76da4d1112 Bug 1202902 - Support non-syntactic extensible lexical scopes. (r=billm) 2015-10-06 14:00:29 -07:00
Shu-yu Guo
819c2c5120 Bug 589199 - Fix up the global lexical scope when merging off-thread compiled scripts. (r=bhackett) 2015-10-06 14:00:29 -07:00
Shu-yu Guo
df3a5245f4 Bug 589199 - Fix eval static scope to play with the global lexical scope. (r=efaust) 2015-10-06 14:00:29 -07:00
Shu-yu Guo
e168c18e3b Bug 589199 - Support global lexicals in Ion. (r=jandem) 2015-10-06 14:00:29 -07:00
Shu-yu Guo
934bb0bb13 Bug 589199 - Support global lexicals in Baseline. (r=jandem) 2015-10-06 14:00:29 -07:00
Shu-yu Guo
78aa3b8277 Bug 589199 - Support global lexicals in the interpreter. (r=efaust) 2015-10-06 14:00:29 -07:00
Shu-yu Guo
2c1ffa9a18 Bug 589199 - Parse and emit bytecode for global lexicals. (r=efaust) 2015-10-06 14:00:29 -07:00
Shu-yu Guo
aedb453377 Bug 589199 - Make a global lexical scope and hook it up to JS entry points. (r=efaust) 2015-10-06 14:00:28 -07:00
Shu-yu Guo
4f61fca4fa Bug 589199 - Mark non-global lexical scopes are non-extensible. (r=efaust) 2015-10-06 14:00:28 -07:00
Shu-yu Guo
a2244691ca Bug 589199 - Cleanup: remove unused DEPTH_SLOT from BlockObject. (r=efaust) 2015-10-06 14:00:28 -07:00
Terrence Cole
95cb7b72c9 Bug 1211031 - Use WeakRef to manage the LazyScript to JSScript back-reference; r=jandem
--HG--
extra : rebase_source : ddc0faeb3fcb3fa0bdaf873ab9cce1e1ffb29cd8
2015-10-02 15:29:34 -07:00
Terrence Cole
8302f0688c Bug 1211022 - Add a type specialization for weak C++ GC thing references; r=sfink
--HG--
extra : rebase_source : 12192c6bb506c7e97308260131b0a00ebb13a6e6
2015-09-30 09:39:34 -07:00
Steve Fink
192d9479c1 Bug 977338 - Remove AtomicOperations-inl.h, r=lth
--HG--
extra : commitid : DbOnIWRGaAp
2015-10-06 00:15:02 -07:00
Steve Fink
2bba95670b Bug 977338 - Smaller unified chunks for js/src, r=terrence
--HG--
extra : commitid : 84tRIEZntfN
extra : rebase_source : e78cd43949ef6e7b9e9ce03db284914b727cb7d1
2014-09-03 11:09:30 -07:00
Wes Kocher
c05e2b4f00 Backed out 6 changesets (bug 1185106) for SM bustage CLOSED TREE
Backed out changeset 8453ae71b30d (bug 1185106)
Backed out changeset 446ea07800c9 (bug 1185106)
Backed out changeset a3c1f65f0dff (bug 1185106)
Backed out changeset 5174ef291f0c (bug 1185106)
Backed out changeset 8073e7c4cf94 (bug 1185106)
Backed out changeset 3afd56565e23 (bug 1185106)
2015-10-06 08:49:21 -07:00
Nicolas B. Pierron
e19fd45ea5 Bug 1205639 - MacroAssembler*::toggledCall: Prevent assertions in oom cases. r=jandem 2015-10-06 17:28:32 +02:00
Eric Faust
39278371fb Bug 1185106 - Follow up 2: Fix a non-JS_HAS_ASYNC_FUNCS build warning. (r=me) 2015-10-05 13:24:03 -07:00
Eric Faust
dd6c5231fd Bug 1185106 - Follow up: Clean up NIGHTLY_ONLY handling for async functions, and allow tests to pass on uplift. (r=Waldo) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
986d54fb1c Bug 1185106 - Part 4: Implement async functions. (r=efaust, r=jandem) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
5932f613ca Bug 1185106 - Part 3: Add parser support for Async functions. (r=efaust) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
b0c9ef4c11 Bug 1185106 - Part 2: Implement ShellPromise. (r=till) 2015-10-05 13:24:03 -07:00
Till Schneidereit
d6db05aa78 Bug 1185106 - Part 1: ShellPromise boilerplate. (r=efaust) 2015-10-05 13:24:03 -07:00
Eric Faust
a2917e316f Bug 1211546 - Unbreak the non-unified build. (r=sfink, r=nbp, r=shu) 2015-10-05 13:24:02 -07:00
Jon Coppeard
c0902ce3af Bug 1209911 - Enable threads for existing OOM tests r=terrence
--HG--
extra : rebase_source : fd0d010b3daa26f9d3d17741dc1f0058e0b46901
2015-10-06 14:50:50 +01:00
Jon Coppeard
a758f19926 Bug 1209911 - Remove option to simulate OOM on all threads r=terrence
--HG--
extra : rebase_source : c03694b314165446ffa3a6ab4d70fea02c202055
2015-10-06 14:50:50 +01:00
Jon Coppeard
f3fb1958bf Bug 1209911 - Limit the number of helper threads of a particular type when simulating OOM r=jandem
--HG--
extra : rebase_source : 4313e2f5c109c91ef047483bfa157ff4505b4855
2015-10-06 14:50:50 +01:00
Jon Coppeard
55207dee47 Bug 1209911 - Use a Variant type to represent HelperThread data r=jandem
--HG--
extra : rebase_source : 42fcdd9ea5d97a435ecae93a73c430282695a2f7
2015-10-06 14:50:49 +01:00
Jon Coppeard
298b347ff4 Bug 1209911 - Add oomThreadTypes() test function to report the number of thread types we can simulate OOM on r=terrence
--HG--
extra : rebase_source : facfa7ff892375e7c5999cd9310948866542e2f9
2015-10-06 14:50:49 +01:00
Jon Coppeard
810fbfb206 Bug 1209911 - Make AutoEnterOOMUnsafeRegion ignore threads that are not simulating OOM r=terrence
--HG--
extra : rebase_source : 99b217832f10946adf18896a1bb064092bb0b7fd
2015-10-06 14:50:49 +01:00
Jon Coppeard
5ea571ddb7 Bug 1211100 - Add Vector::infallibleEmplaceBack and use it in JSScript::initScriptCounts() r=nbp
--HG--
extra : rebase_source : a989ddba0bc981725a955c705a51aa495ef59ab9
2015-10-06 14:50:49 +01:00
Jon Coppeard
d64ed1e125 Bug 1209585 - Fix possible memory leak if generating stub code fails with OOM r=jandem
--HG--
extra : rebase_source : 2c2670f55ad0209e31ee164cf1abc16f6e25dbde
2015-10-06 14:50:49 +01:00
Kaustabh Datta Choudhury
92494c4d5f Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop debug builds. r=jmaher 2015-10-06 09:46:24 -04:00
Benjamin Bouvier
448b7e50a9 Bug 1111201: Check for OOM when calling an asm.js function with new; r=evilpie
--HG--
extra : commitid : L6bCXbi1bZL
extra : rebase_source : 2beba03ece8f8ad045731946f46fe7ab2f94b7b2
2015-10-06 11:59:30 +02:00
Benjamin Bouvier
c3436b9a3b Bug 1210653: Make bug-1188290.js dependent on the existence of TypedObject; r=terrence
--HG--
extra : commitid : 2MqDQdIVSRR
extra : rebase_source : 4d2458a89c91a318c9ad2eabb18e8434c86235d4
2015-10-05 16:03:50 +02:00
Jan de Mooij
d4bb1e0aaf Bug 1209026 - Use infallible new for some Label allocations. r=jonco 2015-10-06 09:48:41 +01:00
Jan de Mooij
43ce0aa1c5 Bug 1208850 - Inline functions exported to self-hosting global. r=till 2015-10-06 09:47:51 +01:00
Terrence Cole
b16e5ef7d1 Bug 1205012 - Allow rust source code in SpiderMonkey; r=mshal
--HG--
extra : rebase_source : b837db972abeb5b2a955c4b52b7ceb6f31c74660
2015-09-18 13:55:29 -07:00
Wes Kocher
be54e0666b Backed out changeset 2b25fe2e8b2f (bug 1211546) for build bustage CLOSED TREE 2015-10-05 14:27:31 -07:00
Wes Kocher
a0d17b972a Backed out 6 changesets (bug 1185106) for build bustage CLOSED TREE
Backed out changeset 6bd1aab9f146 (bug 1185106)
Backed out changeset ede6564c4d13 (bug 1185106)
Backed out changeset abf4f0c6f42e (bug 1185106)
Backed out changeset 102aa11bc1aa (bug 1185106)
Backed out changeset 9c74d17cf769 (bug 1185106)
Backed out changeset c3d780ac9879 (bug 1185106)
2015-10-05 14:27:19 -07:00
Eric Faust
a5c1fe593f Bug 1185106 - Follow up 2: Fix a non-JS_HAS_ASYNC_FUNCS build warning. (r=me) 2015-10-05 13:24:03 -07:00
Eric Faust
5eef807d7a Bug 1185106 - Follow up: Clean up NIGHTLY_ONLY handling for async functions, and allow tests to pass on uplift. (r=Waldo) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
48ac7512bc Bug 1185106 - Part 4: Implement async functions. (r=efaust, r=jandem) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
06f8c0d213 Bug 1185106 - Part 3: Add parser support for Async functions. (r=efaust) 2015-10-05 13:24:03 -07:00
Mariusz Kierski
4601af29d4 Bug 1185106 - Part 2: Implement ShellPromise. (r=till) 2015-10-05 13:24:03 -07:00
Till Schneidereit
cdde94a546 Bug 1185106 - Part 1: ShellPromise boilerplate. (r=efaust) 2015-10-05 13:24:03 -07:00
Eric Faust
7b3ec1ac59 Bug 1211546 - Unbreak the non-unified build. (r=sfink, r=nbp) 2015-10-05 13:24:02 -07:00
Wes Kocher
0628e22f00 Merge m-c to inbound, a=merge CLOSED TREE 2015-10-05 13:11:26 -07:00
Wes Kocher
7492fb02ac Merge inbound to central, a=merge 2015-10-05 13:02:21 -07:00
Brian Hackett
3d04aec30e Bug 1210596 - Mark array groups as not packed when initializing individual elements with holes, r=jandem. 2015-10-05 10:18:05 -06:00
Brian Hackett
6e35b6937e Bug 1207821 - Change the initialized length of an unboxed array in some places without triggering pre barriers, r=jandem. 2015-10-05 10:05:19 -06:00
Brian Hackett
c7546357ff Bug 1207572 - Make sure idempotent caches are invalidated when getting the non-int32 length of an array, r=jandem. 2015-10-05 10:00:47 -06:00
Brian Hackett
4e41796a57 Bug 1209471 - Fix group used for Array.concat result, r=jandem. 2015-10-05 09:53:55 -06:00
Wes Kocher
c1750b75c7 Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Carsten "Tomcat" Book
9a4e08328c Merge m-c to mozilla-inbound on a CLOSED TREE 2015-10-05 13:52:47 +02:00
Carsten "Tomcat" Book
131b0cd1dd merge mozilla-inbound to mozilla-central a=merge 2015-10-05 12:02:03 +02:00