Commit Graph

51651 Commits

Author SHA1 Message Date
Lars T Hansen
e7ed5e6eb6 Bug 1214152 - early check that shell is executable. r=terrence 2015-10-14 20:22:28 +02:00
Nicolas B. Pierron
d11d5d713f Bug 1214548 - Fix test case: Add guard to check that oomTest function is present. r=jonco
CLOSED TREE
2015-10-14 18:12:20 +02:00
Nicolas B. Pierron
5600a4c53c Bug 1214548 - GenerateLcovInfo: Check that getOrCreateScript does not OOM. r=bhackett 2015-10-14 17:27:30 +02:00
Jan de Mooij
55e8001287 Bug 1208819 - Fix irregexp overrecursion check to ignore interrupts. r=bhackett 2015-10-14 15:13:21 +02:00
Nicolas B. Pierron
224fd0ff0d Bug 1211331 - Ensure that GC slices are terminated such that we can safely iterate the heap. r=terrence 2015-10-14 14:32:40 +02:00
Jon Coppeard
0936ac2256 Bug 1214006 - Take account of the fact that JSScript::atoms may be null while tracing r=terrence
--HG--
extra : rebase_source : 6dea26039415d8b48b46d4f0998811a89a670c59
2015-10-14 13:24:08 +01:00
Jon Coppeard
03157a17ce Bug 1175755 - Only clear GC statistics aborted flag at the end of the outermost nested GC r=bbouvier
--HG--
extra : rebase_source : 4b2b228f7c8637545e352e5b497766cabc1f93dd
2015-10-14 13:24:08 +01:00
Jan de Mooij
d3a0b9cc9d Bug 1211939 - Don't call JSRuntime::onOutOfMemory from helper threads. r=jonco 2015-10-14 12:37:02 +02:00
Jan de Mooij
e9fd48c65a Bug 1214173 - Remove unused MSetPropertyInstruction::needsBarrier_. r=h4writer 2015-10-14 12:35:09 +02:00
Carsten "Tomcat" Book
b5df6bcbac Backed out changeset 30eae53d9cb5 (bug 1211409) for spidermonkey test failures on a CLOSED TREE 2015-10-14 10:45:09 +02:00
Carsten "Tomcat" Book
0c8f234c7f Backed out changeset 315e05e75b35 (bug 1211409) 2015-10-14 10:44:39 +02:00
Lars T Hansen
b85d91e425 Bug 1211409 - fix include order ON CLOSED TREE. 2015-10-14 10:13:30 +02:00
Tooru Fujisawa
372d96ff26 Bug 1214049 - Use ReportOutOfMemory in NativeObject::goodElementsAllocationAmount. r=Waldo
--HG--
extra : commitid : LSM1VK7jkP
extra : rebase_source : 8cb3bb4be0cf3fac6306a2c8d24dae6b349f94ae
2015-10-14 02:55:08 +09:00
Lars T Hansen
3073aa69bc Bug 1211409 - load/store exclusive for ARM-32. r=jolesen 2015-10-09 18:10:37 +01:00
Joel Maher
1eb70fbe5b Bug 1210863 - test_bug618176.xul fails on windows debug with runByDir enabled. r=dvander
--HG--
extra : rebase_source : 73d28be6270179719f42b51dd0978c9afce85abc
2015-10-13 14:10:00 +02:00
Jeff Walden
c9a85da898 Bug 1052139 - Make prototype-setting first create Object.prototype so that subsequent prototype chain-splicing will work correctly. r=bz 2015-10-09 13:21:39 -07:00
Jeff Walden
5a14010e95 Bug 1052139 - Adjust sandbox code to create the sandbox with an (observably) immutable [[Prototype]], once the flag's flipped. r=bz 2015-10-10 18:27:48 -07:00
Tom Schuster
7de30b64ba Bug 1212794 - Remove decompile-body functionality. r=till 2015-10-13 23:43:14 +02:00
Nick Fitzgerald
040e2d5aab Bug 1211006 - Add Debugger.Source.prototype.canonicalId; r=ejpbruel 2015-10-13 09:42:39 -07:00
Terrence Cole
bc130fa093 Bug 1206987 - Only disable the GPF dialog during testing; r=sfink
--HG--
extra : rebase_source : 24779b325030ac836b4b11ff4f0577cc02dd2178
2015-10-13 09:23:17 -07:00
Jon Coppeard
c617698d29 Bug 1212128 - Revert test code changes now issues with oomTest() have been fixed r=jandem 2015-10-13 13:49:05 +01:00
Jon Coppeard
a48bd42655 Bug 1212469 - Fix some OOM handling issues shown up by the previous patch r=jandem 2015-10-13 13:37:08 +01:00
Jon Coppeard
0bba2d39d5 Bug 1212469 - Make oomTest() into a shell function r=nbp 2015-10-13 13:37:07 +01:00
Jon Coppeard
daef6b660b Bug 1212343 - Propagate OOM from SafepointWriter r=nbp 2015-10-08 17:48:53 +01:00
Jan de Mooij
bb2d3f9b64 Bug 1209118 part 11 - Fix and simplify condition in GetPropertyIC::maybeDisable. r=efaust 2015-10-13 13:20:37 +02:00
Jakob Olesen
4021e72f40 Bug 1213881 - Run jsapi-tests in the arm64-sim autospider. r=sfink
--HG--
extra : rebase_source : 37b756d731dbc6b172c434d2819870a809adecb4
2015-10-12 08:48:00 +02:00
Shu-yu Guo
ecb26c53a9 Bug 1213552 - Fix typo in using TI to guard against introducing shadowing global lexical bindings. (r=efaust) 2015-10-12 23:09:42 -07:00
Shu-yu Guo
89fd3f53e8 Bug 1213574 - Fix up static scopes inside scripts wrt the static global lexical scope when merging parse task compartments. (r=jandem) 2015-10-12 23:09:42 -07:00
Jeff Walden
7e3cae8b2c Bug 1214051 - Reject NaN as a sampling probability, and test the floating point value range harder. r=jimb 2015-10-12 22:10:10 -07:00
Heiher
04541852cf Bug 1205167 - IonMonkey: MIPS64: Fix typo in Assembler-mips64. r=nbp
---
 js/src/jit/mips64/Assembler-mips64.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
2015-10-13 18:12:24 +08:00
Heiher
990f7ecd0c Bug 1213165 - IonMonkey: MIPS32: Fix ion/bug901086.js failed. r=nbp f=rankov
---
 js/src/jit/mips32/Trampoline-mips32.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
2015-10-13 17:15:57 +08:00
Heiher
2382e575d6 Bug 1213742 - IonMonkey: MIPS64: Import BaselineIC-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/BaselineIC-mips64.cpp | 47 +++++++++++++++++++++++++++++++++
 js/src/moz.build                        |  1 +
 2 files changed, 48 insertions(+)
 create mode 100644 js/src/jit/mips64/BaselineIC-mips64.cpp
2015-10-13 17:15:55 +08:00
Heiher
b9a00a0485 Bug 1213741 - IonMonkey: MIPS64: Import BaselineCompiler-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/BaselineCompiler-mips64.cpp | 16 ++++++++++++++++
 js/src/jit/mips64/BaselineCompiler-mips64.h   | 26 ++++++++++++++++++++++++++
 js/src/moz.build                              |  1 +
 3 files changed, 43 insertions(+)
 create mode 100644 js/src/jit/mips64/BaselineCompiler-mips64.cpp
 create mode 100644 js/src/jit/mips64/BaselineCompiler-mips64.h
2015-10-13 17:15:53 +08:00
Heiher
298bfc7a6c Bug 1213740 - IonMonkey: MIPS64: Import Bailouts-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/Bailouts-mips64.cpp | 28 ++++++++++++++++++++++++++++
 js/src/moz.build                      |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 js/src/jit/mips64/Bailouts-mips64.cpp
2015-10-13 17:15:51 +08:00
Heiher
00ca55f93e Bug 1205167 - IonMonkey: MIPS64: Import Assembler-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/Assembler-mips64.cpp | 493 +++++++++++++++++++++++++++++++++
 js/src/jit/mips64/Assembler-mips64.h   | 186 +++++++++++++
 js/src/moz.build                       |   1 +
 3 files changed, 680 insertions(+)
 create mode 100644 js/src/jit/mips64/Assembler-mips64.cpp
 create mode 100644 js/src/jit/mips64/Assembler-mips64.h
2015-10-13 17:15:48 +08:00
Heiher
d4381dd681 Bug 1205167 - IonMonkey: MIPS: Import MIPS64 support into Assembler-mips-shared. r=froydnj f=rankov
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 280 +++++++++++++++++++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h   | 105 ++++++++-
 2 files changed, 379 insertions(+), 6 deletions(-)
2015-10-13 17:15:46 +08:00
Nick Fitzgerald
3f6f5e744d Bug 1201620 - Follow up: add a missing null check in js::SavedFrame::isSavedFrameOrWrapperAndNotProto; r=terrence 2015-10-12 16:48:07 -07:00
Nick Fitzgerald
f3032c8c01 Bug 1201620 - Make SavedFrame stacks structured cloneable; r=sfink 2015-10-12 13:29:48 -07:00
Jan de Mooij
2ffe42de82 Bug 1209118 part 10 - Fix a performance issue when disabling GetPropertyIC. r=efaust 2015-10-12 22:04:19 +02:00
Nicolas B. Pierron
6022217e06 Bug 1204700 - ARM: Use a different scratch register for store32. r=sstangl 2015-10-12 20:21:07 +02:00
Jan de Mooij
9f75398e43 Bug 1187233 part 1 - Date constructor should create a copy when called with a Date object. Original patch by Giovanni Sferro. r=jwalden
--HG--
extra : rebase_source : 121ec024c500c4614c9c6c87976785e8cbfc3496
2015-07-29 22:47:51 -07:00
Lars T Hansen
a003d98e8b Bug 1203595 - move tests into manual-tests. r=waldo
--HG--
rename : js/src/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType-unknown.js => js/src/jit-test/manual-tests/TypedObject-TypeDescrIsArrayType-unknown.js
rename : js/src/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType.js => js/src/jit-test/manual-tests/TypedObject-TypeDescrIsArrayType.js
2015-10-21 15:54:01 +02:00
Jon Coppeard
1e0b65b415 Bug 930414 - Instantiate module function defintions earlier as per the spec r=shu 2015-10-21 10:21:44 +01:00
Jon Coppeard
3b7831939e Bug 930414 - Add debugger support for modules r=shu 2015-10-21 10:21:44 +01:00
Jon Coppeard
59be23d316 Bug 930414 - Replace |thisObject| object op with |thisValue| and use if for modules r=shu r=smaug 2015-10-21 10:21:44 +01:00
Jon Coppeard
59f519ac6f Bug 930414 - Make |this| undefined in modules r=shu 2015-10-21 10:21:44 +01:00
Jon Coppeard
ff7b5cb56e Bug 930414 - Implement module namespaces r=shu 2015-10-21 10:21:44 +01:00
Jon Coppeard
7d8f15c8b5 Bug 930414 - Update module scope chain handling following addition of global lexical scope r=shu 2015-10-21 10:21:43 +01:00
Tooru Fujisawa
a8da00a13f Bug 1208835 - Add telemetry for RegExp static property access after String.prototype.replace with function argument and RegExp static property is changed inside it. r=till,bsmedberg
--HG--
extra : commitid : K27csD0p0cY
extra : rebase_source : cdb2418c23114dfa9442792b3e3541d982036ac6
2015-09-29 16:59:10 +09:00
Tooru Fujisawa
7c285c44e3 Bug 1211164 - Collect JS deprecated language extension telemetry for Add-ons. r=till,bsmedberg
--HG--
extra : commitid : 7dHndrGepgZ
extra : rebase_source : fd4a16cf3317cf3341dad6e31028cfa80a759933
2015-10-04 02:06:54 +09:00
Jan de Mooij
9501e0b09e Bug 1215992 - Terminate control flow for THROWSETCONST/THROWSETALIASEDCONST in IonBuilder. r=shu 2015-10-21 10:09:40 +02:00
Jan de Mooij
7026c2180c Bug 1216151 - Ensure the object has a non-lazy group in SetPropertyIC::tryAttachStub. r=efaust 2015-10-21 10:09:37 +02:00
Jason Orendorff
ca4d61c183 Bug 1211607, part 9 - JS::Call, JS::Construct, and friends. r=jandem.
--HG--
extra : commitid : JJgCSwgvJHN
extra : rebase_source : 888c04eac8a289484d0da7fa6cf5d2026e255a9a
2015-07-13 16:52:53 -05:00
Jason Orendorff
c11a281419 Bug 1211607, part 8 - JS_Enumerate. r=jandem.
--HG--
extra : commitid : 94AhMsWGh2c
extra : rebase_source : 0f9f30ca290909e3f7614b1ab43a01b398ea7ae6
2015-07-13 16:26:09 -05:00
Jason Orendorff
719bd6e36e Bug 1211607, part 7 - JS_DeleteProperty and friends. r=jandem.
--HG--
extra : commitid : BzGN71bZ4J1
extra : rebase_source : 40a26269a446a200045bdd90c749507cd3ad10be
2015-07-13 16:22:47 -05:00
Jason Orendorff
449f4f5543 Bug 1211607, part 6 - JS_SetProperty and friends. r=jandem.
--HG--
extra : commitid : DJ4TPtOSQIm
extra : rebase_source : e43426e1c429bb06d5e3c2704e1c4947e1a055cf
2015-07-13 15:57:04 -05:00
Jason Orendorff
49731758ed Bug 1211607, part 5 - JS_GetProperty and friends. r=jandem.
--HG--
extra : commitid : 3VldLHDAIac
extra : rebase_source : 86511cfc2296a7baedbd402c57857ba124b9ab4d
2015-07-13 15:43:08 -05:00
Jason Orendorff
103ae1a28e Bug 1211607, part 4 - JS_HasProperty and friends. r=jandem.
--HG--
extra : commitid : BIJsqylNFYC
extra : rebase_source : f2be23840b5be1f2a74c849d19b14ba44e3b8448
2015-07-13 15:34:06 -05:00
Jason Orendorff
bb692649e3 Bug 1211607, part 3 - JS_DefineProperty and friends. r=jandem.
--HG--
extra : commitid : 4QqGZSaROPR
extra : rebase_source : dc75dc5f4d59d61ab221d7632cfe6d67adef0663
2015-07-13 15:21:46 -05:00
Jason Orendorff
0139e7087a Bug 1211607, part 2 - JS_GetOwnPropertyDescriptor and friends. r=jandem.
--HG--
extra : commitid : BDiP7Ps6PtX
extra : rebase_source : 208b6edd377fc816c2396e853eddddaae502f387
2015-07-13 15:06:17 -05:00
Jason Orendorff
689e858cea Bug 1211607, part 1 - Document JSAPI functions that call object internal methods: JS_GetPrototype through JS_PreventExtensions. r=jandem.
--HG--
extra : commitid : GL8103oFI0M
extra : rebase_source : 60780301898efa2011140922b7d398ce6b083a49
2015-07-13 14:57:27 -05:00
Steve Fink
2d3abdfef0 Bug 1213024 - Comment the structured clone reading and writing, r=fitzgen
DONTBUILD; comment-only change.

--HG--
extra : commitid : LhEVoK5N2g7
extra : rebase_source : f457edc1b4e5c5dd148f550486190034145dfe8e
2015-10-12 10:32:36 -07:00
Jan de Mooij
f0594f92c9 Bug 1209118 part 9 - rm MGetElementCache, GetElementIC. r=efaust 2015-10-12 14:23:57 +02:00
Jan de Mooij
5aa1a93a85 Bug 1209118 part 8 - Use MGetPropertyCache for GETELEM. r=efaust 2015-10-12 14:23:57 +02:00
Jan de Mooij
f4027682a8 Bug 1209118 part 7 - Disable GetPropertyIC when the IC fails to attach stubs. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
5a31f43dcf Bug 1209118 part 6 - Move typed-or-unboxed element stub. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
0a29747577 Bug 1209118 part 5 - Move dense element hole stub. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
4a1bb93855 Bug 1209118 part 4 - Move dense element stub. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
71cad2c803 Bug 1209118 part 3 - Move arguments element stub. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
c93f4ab8c8 Bug 1209118 part 2 - Fix GetPropertyIC stubs. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
c80ed135ad Bug 1209118 part 1 - Add id operand to MGetPropertyCache. r=efaust 2015-10-12 14:23:55 +02:00
Tooru Fujisawa
472cd29b10 Bug 1211140 - Remove telemetry for RegExpSourceProperty. r=till
--HG--
extra : commitid : CNXXO8TPMDG
2015-10-12 16:44:42 +09:00
Tooru Fujisawa
e94d2dbb48 Bug 1213564 - Fix SpiderMonkey bytecode documentation comment format. r=jandem
--HG--
extra : commitid : JYFsbeU2Qhm
2015-10-10 18:34:28 +09:00
Morris Tseng
6c0c249c5a Bug 709490 - Part 3: Transfer OffscreenCanvas from mainthread to workers. r=baku, r=sfink
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : 5cbf8b9f53b7d1978c6371dbdb3771f80b94a171
2015-10-12 11:21:03 +08:00
Heiher
44b273355b Bug 1213532 - IonMonkey: MIPS32: Rename BaseFloatRegisters to FloatRegistersMIPSShared. r=arai
---
 js/src/jit/mips32/Architecture-mips32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-10-12 17:14:54 +08:00
Heiher
6add4b90ea Bug 1213532 - IonMonkey: MIPS32: Fix call FloatRegistersMIPSShared::GetName recursive. r=arai
---
 js/src/jit/mips32/Architecture-mips32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-10-12 17:05:02 +08:00
Jakob Olesen
5c240f7a58 Bug 1208674 - Fix ToggleCall to handle constant pools. r=sstangl
Handle constant pools inserted anywhere, even at the initial pointer
location. Don't attempt handling constant pools with natural guard
branches. They are not relevant here (and actually never generated
currently).

Stop flushing constant pools in toggledCall(). Since ToggleCall() does
handle constant pools at any point, there is no need to prevent their
insertion.

Replace the NextInstruction() functions with Instruction::skipPool()
which mimics the ARM implementation.

Add an Instruction::IsStackPtrSync() which recognizes the instructions
inserted by syncStackPtr().
2015-10-11 18:13:09 +02:00
Jakob Olesen
650d8674e8 Bug 1208674 - part 1: Add ToggleCall assertions. r=sstangl
Assert that the ToggleCall() function does not overwrite any unexpected
instructions.
2015-10-11 18:13:09 +02:00
Heiher
a02161d4e3 Bug 1210322 - IonMonkey: MIPS: Rename BaseFloatRegister/s to FloatRegister/sMIPSShared. r=nbp
---
 js/src/jit/mips-shared/Architecture-mips-shared.h | 6 +++---
 js/src/jit/mips32/Architecture-mips32.h           | 4 ++--
 js/src/jit/mips64/Architecture-mips64.h           | 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)
2015-10-12 04:46:03 +08:00
Heiher
0983771843 Bug 1205166 - IonMonkey: MIPS64: Import Architecture-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/Architecture-mips64.cpp |  76 ++++++++++
 js/src/jit/mips64/Architecture-mips64.h   | 226 ++++++++++++++++++++++++++++++
 js/src/moz.build                          |   6 +-
 3 files changed, 307 insertions(+), 1 deletion(-)
 create mode 100644 js/src/jit/mips64/Architecture-mips64.cpp
 create mode 100644 js/src/jit/mips64/Architecture-mips64.h
2015-10-12 04:45:56 +08:00
Heiher
72beb2cfc6 Bug 1205166 - IonMonkey: MIPS: Import MIPS64 support into Architecture-mips-shared. r=nbp f=rankov
---
 .../jit/mips-shared/Architecture-mips-shared.cpp   |  4 +--
 js/src/jit/mips-shared/Architecture-mips-shared.h  | 33 ++++++++++++++++++----
 2 files changed, 29 insertions(+), 8 deletions(-)
2015-10-12 04:45:49 +08:00
Jeff Walden
a83ec4837b Bug 1052139 - Continued work on making the global object's prototype chain immutable, once a switch is flipped. r=bz
--HG--
extra : rebase_source : ca97d872091b35bb3b729f971f8cbfed404fd7bc
2015-10-09 13:21:39 -07:00
Terrence Cole
9ba17a864f Bug 1213133 - Remove jit-test's legacy multiprocessing and serial task runners; r=sfink 2015-10-09 13:39:17 -07:00
Terrence Cole
1e2222982c Bug 1213129 - Share worker count derivation code between jit and js test suites; r=sfink 2015-10-09 13:39:05 -07:00
Boris Zbarsky
b90baf6535 Bug 1213289 part 1. Change dom::Throw to take an XPCOM string, not a raw C string, for the message. r=bkelly 2015-10-09 16:48:10 -04:00
Terrence Cole
842a6a169a Bug 1213127 - Switch jit-tests over to using jstest's task runner; r=sfink
--HG--
extra : rebase_source : e7898cef866653af74374cc5440a9005fc6fbcad
2015-10-09 13:28:59 -07:00
Terrence Cole
8ee503dbff Bug 1213365 - Share environment control code between js and jit test harnesses; r=sfink
--HG--
extra : rebase_source : ed75f1c4bb4d3ca853f1b6e6d9b93f019d39cc24
2015-10-09 12:56:27 -07:00
Terrence Cole
7f709faaea Bug 1213111 - Extract progressbar from jittest's process_test_results; r=sfink
--HG--
extra : rebase_source : 3704f33be30bb370218b38246b27a17ac8c7b546
2015-10-09 12:54:57 -07:00
Terrence Cole
3d9eb107a8 Bug 1213104 - Pass the ProgressBar directly, since we are no longer using results; r=sfink
--HG--
extra : rebase_source : 37fe5b3614ddd2165ead9d2366e643691f507187
2015-10-09 12:54:25 -07:00
Jeff Walden
75b257996c Bug 1052139 - Make more parts of the global object's prototype chain immutable, when we flip that switch. r=bz
--HG--
extra : rebase_source : 7d196acc689d26153ba2462ff2c78fc94ec7351a
2015-10-08 15:08:13 -07:00
Eric Faust
980f4a8f37 Bug 1105463 - Follow up: Fix erroneous syntax test. (r=theSheriffMadeMeDoIt) 2015-10-09 13:22:10 -07:00
Eric Faust
6bdfc72d37 Bug 1105463 - Implement default constructors for ES6 class definitions. (r=jorendorff) 2015-10-09 09:33:57 -07:00
Wes Kocher
e97be1e0dc Backed out changeset cf4cdc781c72 (bug 1105463) for build bustage CLOSED TREE 2015-10-09 09:55:35 -07:00
Eric Faust
3dbb3a51aa Bug 1105463 - Implement default constructors for ES6 class definitions. (r=jorendorff) 2015-10-09 09:33:57 -07:00
Lars T Hansen
cecee28175 Bug 1212390 - correct test case. r=jonco 2015-10-09 11:53:31 +01:00
Tooru Fujisawa
90a36b2cba Bug 1208341 - Make NativeObject::goodElementsAllocationAmount fallible. r=Waldo
--HG--
extra : commitid : 4CMt7MTHfMA
extra : rebase_source : cee060f532cd62f8286726fb7d13479eb6f74232
2015-09-25 23:12:39 +09:00
Lars T Hansen
38703f8d07 Bug 1212390 - fix lingering bugs around oomAtAllocation. r=jonco 2015-10-09 10:58:12 +01:00
Eric Faust
917310817d Bug 1141863 - Followfollowfollowup: Remove redundant assert causing rooting hazards. (r=Waldo over IRC) CLOSED TREE 2015-10-08 21:07:47 -07:00
Jeff Walden
3aa6df2874 Bug 1141863 - Last followup fix for a couple jstest failures. r=orange in a CLOSED TREE 2015-10-08 20:03:47 -07:00
Jeff Walden
3ea4cb95a0 Bug 1206594 - Followup hazard-fix. r=H-bustage in a CLOSED TREE 2015-10-08 18:56:11 -07:00
Eric Faust
0cc89de95a Bug 1141863 - Followup: Clean up proxy get traps to handle new |this| creation semantics. (rs=Waldo) CLOSED TREE 2015-10-08 18:37:16 -07:00
Jim Blandy
3a57c83537 Bug 1206596: Address review nits. DONTBUILD r=fitzgen
--HG--
extra : amend_source : ce6dc6708a72fd2581e83d29ac051d48788ad7c5
2015-10-08 17:13:55 -07:00
Jim Blandy
954b9b3f09 Bug 1206594: Address review comments. r=fitzgen
--HG--
extra : rebase_source : f15999b85e2aec44e99ebd28908b39757874bda9
2015-10-08 17:05:01 -07:00
Eric Faust
a938244ccd Bug 1141863 - Tests. (r=jorendorff) 2015-10-08 17:01:49 -07:00
Eric Faust
6cbeeeb97c Bug 1141863 - Part 2: Implement ES6 SuperCall. (r=jandem, r=jorendorff) 2015-10-08 17:01:49 -07:00
Eric Faust
3eab0ab893 Bug 1141863 - Part 1: Make |this| object creation account for new.target. (r=jandem, r=jorendorff) 2015-10-08 17:01:49 -07:00
Eric Faust
8548d0864a Bug 1169740 - Implement a TDZ-like behavior for |this| in derived class constructors. (r=jandem, r=jorendorff, inputs on nit resoulution from Waldo) 2015-10-08 17:01:48 -07:00
Jim Blandy
4858041f5e Bug 1206596: Change js::SavedStacks to use mozilla::FastBernoulliTrial. r=fitzgen
--HG--
extra : rebase_source : 9bde9fc52a0a0badcf264af12f4d98893d466348
2015-09-17 16:29:39 -07:00
Jim Blandy
848a2464c3 Bug 1206596: Make random_generateSeed visible, and let it generate wider seeds. r=fitzgen
--HG--
extra : rebase_source : 3364c00ab6bdc8d96befeea60c8fd106b8fdcd21
2015-09-16 21:46:54 -07:00
Jim Blandy
8bd1033c7a Bug 1206594: Update SavedStacks sampling probability only when a Debugger changes its probability, not on every sample taken. r=fitzgen
--HG--
extra : rebase_source : 35e2357d0fa4dc16b9c5a440ef806678caf281e4
2015-09-16 17:55:14 -07:00
Jim Blandy
0ee8c8ee9b Bug 1206594: Pass SavedStacks::chooseSamplingProbability its JSCompartment directly. r=fitzgen
--HG--
extra : rebase_source : 5555867b3cc1baa6f1a4b9ff9d0cc811a365125d
2015-08-31 14:33:52 -07:00
Jeff Walden
97f503201e Bug 1052139 - Make more objects on the global prototype chain have immutable [[Prototype]], when we enable enforcement of this requirement. r=bz
--HG--
extra : rebase_source : bf51eb7770db290b639653cdcbf3586f888e8727
2015-10-08 15:07:57 -07:00
Geoff Brown
c06380f4d5 Bug 1216226 - Skip some slow js-reftests on Android Debug; r=me,trivial,test-only 2015-10-19 17:05:36 -06:00
Shu-yu Guo
cd0445bf55 Bug 1207868 - Implement Debugger.Object.asEnvironment. (r=jimb) 2015-10-19 13:21:00 -07:00
Eric Faust
ff8fd153ef Bug 1216107 - Remove bogus assert. (r=arai) 2015-10-19 12:53:57 -07:00
Steve Fink
e687458770 Bug 1215337 - Cache slotSpan(), r=terrence
--HG--
extra : rebase_source : 712fdc07b64040124e7536216bd26b04ab64764d
2015-10-15 15:45:51 -07:00
Nicolas B. Pierron
ef0f307ef2 Bug 1106171 - Add test case. r=me 2015-10-19 20:37:09 +02:00
Benjamin Bouvier
c0c6e3dedb Bug 1181612: Rename AsmJSFunctionLabels to make them easier to understand; r=luke
--HG--
extra : commitid : IZMCWrFp9Vl
extra : rebase_source : c3395e05dc8fd8ac23e305d6458446f60d36c112
2015-10-19 16:03:12 +02:00
Benjamin Bouvier
b9e217d3b1 Bug 1181612: Hoist codeLabels_ and associated common functions into Assembler-shared; r=luke
--HG--
extra : commitid : HC2oP6Gm6JA
extra : rebase_source : aa22bac23fea24ae9fe2554ec9cd4e766a21f35c
2015-10-08 18:05:12 +02:00
Jan de Mooij
6729df0f94 Backout ce75fb8d5a8b (bug 1187233) for B2G xpcshell failures. 2015-10-19 16:37:52 +02:00
Jon Coppeard
9f79fb702f Backed out changeset 1deba998864f (bug 1215555) for Android mochitest failures on a CLOSED TREE 2015-10-19 15:20:24 +01:00
Jan de Mooij
52f99ae0b7 Bug 1187233 - Date constructor should create a copy when called with a Date object. Original patch by Giovanni Sferro. r=jwalden 2015-07-29 22:47:51 -07:00
Jan de Mooij
6c3b08a91f Bug 1215573 - Remove AutoWritableJitCode from IonCache::updateBaseAddress. r=nbp 2015-10-19 15:38:33 +02:00
Jon Coppeard
9f21f44746 Bug 1215555 - Improve simulated OOM testing of ARM assembler buffer and fix bugs r=jolesen 2015-10-19 10:50:51 +01:00
Hannes Verschore
35615bd653 Bug 1097456: IonMonkey: Handle FoldTests failures, r=jandem 2015-10-19 13:40:08 +02:00
Benjamin Bouvier
e4c2a11938 Bug 1201460: Disallow asm.js compilation for class/methods; r=luke
--HG--
extra : commitid : EWC4l5auzzc
extra : rebase_source : 73e860e191fb899356337d177ab0ab491d641617
2015-10-16 12:23:10 +02:00
Jon Coppeard
28f863ed8e Backed out changeset 2d0fadc97308 (bug 1215555) for bustage on ARM platforms on a CLOSED TREE
--HG--
extra : amend_source : 163d18fae6f752abbd6fb439ab9129af3e167528
2015-10-19 11:31:25 +01:00
Jon Coppeard
5e9dceaa9a Bug 1215555 - Improve simulated OOM testing of ARM assembler buffer and fix bugs r=jolesen 2015-10-19 10:50:51 +01:00
Jeff Walden
631c5b85a9 Bug 1052139 - Make the [[Prototype]] of various (but not all) objects on the window object's [[Prototype]] chain immutable. BUT, also disable the code that actually respects immutable-prototype handling -- it'll be a one-liner to revert this when we're ready to do so. Making the rest of the chain immutable will happen in separate patches. r=bz
--HG--
extra : rebase_source : cb06025bfeb93d5b67315cc7c21e229b99666d24
2014-11-28 02:58:23 -05:00
Wes Kocher
b357e5db42 Backed out changeset ab9dbd4c1ec4 (bug 1212343) for oomInArrayProtoTest.js bustage 2015-10-08 14:44:06 -07:00
Shu-yu Guo
2157082432 Bug 1212183 - Followup: add back comment that got lost between backout and relanding. DONTBUILD 2015-10-08 13:20:59 -07:00
Sean Stangl
e0daa2c40a Bug 1212656 - ARM64: Fix automation build failures. (r=efaust) 2015-10-08 12:14:13 -07:00
Bobby Holley
796a2d66a8 Bug 1212693 - Remove skipCOWCallableChecks. r=bz 2015-10-08 10:22:00 -07:00
Wes Kocher
c908c03075 Backed out changeset a4e0f0475b78 (bug 1212258) for SM(e) orange 2015-10-08 10:15:38 -07:00
Jon Coppeard
bb863eaf07 Bug 1212756 - Fix jstests --debug option r=terrence 2015-10-08 17:48:53 +01:00
Jon Coppeard
6c9c84a8e4 Bug 1212349 - Encapsulate the shell's per-runtime state r=jandem 2015-10-08 17:48:53 +01:00
Jon Coppeard
db67be8145 Bug 1212343 - Propagate OOM from SafepointWriter r=nbp 2015-10-08 17:48:53 +01:00
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
Carsten "Tomcat" Book
b35c208fb6 merge b2g-inbound to mozilla-central a=merge 2015-10-05 11:56:23 +02:00
Jon Coppeard
76cb22230c Bug 1210760 - Don't simulate OOM in ExceptionHandlerBailout() r=terrence 2015-10-05 10:50:41 +01:00
Jon Coppeard
7dc69fa47e Bug 1210655 - Check classes are present when using them in test code r=terrence 2015-10-05 10:50:41 +01:00
Jon Coppeard
46c8da5401 Bug 1210607 - Check for null compartment in PopulateReportBlame() r=terrence 2015-10-05 10:50:41 +01:00
Jon Coppeard
08c32a7a8c Bug 1210391 - Module scopes are currently not cacheable r=jandem 2015-10-05 10:50:41 +01:00
Fabrice Desré
00266c87aa Bug 1211085 - Disable global reuse on b2gdroid r=khuey 2015-10-03 18:50:40 -07:00
Phil Ringnalda
718f29ed28 Merge m-c to f-t 2015-10-03 15:56:56 -07:00
Phil Ringnalda
23f82e924e Back out 2 changesets (bug 1052139) for mochitest-jetpack bustage
Backed out changeset 3dc503961322 (bug 1052139)
Backed out changeset 6f278bc63614 (bug 1052139)
2015-10-02 22:10:24 -07:00
Ehsan Akhgari
ee2cd3bbc3 Bug 1208908 - Fix a conditional statement in BytecodeRangeWithPosition::updatePosition(); r=ejpbruel
Found by Viva64.
2015-10-02 10:01:30 -04:00
Paolo Amadini
464a796d36 Bug 1177508 - Truncate the stack more aggressively in adoptAsyncStack. r=fitzgen
--HG--
extra : commitid : 4uOCJQqPLmI
extra : rebase_source : 51d5ce04ff1953fc1e800a5a34faf446da2e3ef6
2015-10-02 09:42:38 +01:00
Nick Fitzgerald
ee543a3018 Bug 1209263 - Allow embedders to tell SpiderMonkey how to structured clone principals; r=bz
--HG--
extra : rebase_source : 04835c034431953344e83203e7753043461474ba
2015-10-02 16:44:00 +02:00
Morris Tseng
0e4c914203 Bug 709490 - Part 3: Transfer OffscreenCanvas from mainthread to workers. r=baku, r=sfink
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : 8ee6656a9c2008482967962fed280ef78d0ff991
2015-10-05 10:50:16 +08:00
Phil Ringnalda
1757f55154 Merge m-c to m-i 2015-10-04 09:59:58 -07:00
Tooru Fujisawa
71a250a659 Bug 1210295 - Simplify TOK_DEFAULT case in Parser::exportDeclaration. r=Waldo
--HG--
extra : commitid : IbSnK7BiE96
extra : rebase_source : 8d677b4308dccf369d7d7121ba624ec595c8ead3
extra : amend_source : c9bd85b913fe776e77a6bc68c82553fe13646602
2015-10-01 14:30:05 +09:00
Jakob Olesen
c0ee8ebfc6 Bug 1210456 - Add atomic *SafeWhenRacy() for ARM64. r=lth
These methods landed with 1084248 for other architectures. A real
implementation is still needed, but this allows the code to build.
2015-10-01 11:21:00 +02:00
Jakob Olesen
34e11f2bca Bug 1208259 - Disable ARM64 Ion, fail testPreserveJitCode. r=jandem
IonMonkey for ARM64 is not yet implemented, so don't try running it.

The test case in testPreserveJitCode is explicitly counting how many
functions get Ion-compiled. Mark the test as a known failure for ARM64
when Ion is disabled.
2015-09-25 10:26:00 +02:00
Jakob Olesen
780d346651 Bug 1208259 - ARM64: Handle an empty nursery in branchValueIsNurseryObject(). r=bhackett
Fixes jsapitests testGCOutOfMemory.
2015-09-24 16:33:00 +02:00
Jakob Olesen
0f994c9a21 Bug 1208259 - Handle OOM in the ARM64 VIXL Simulator. r=sstangl
Make the Simulator creation robust against OOM stress tests. Now passes
jsapitests testNewRuntime.
2015-09-24 16:33:00 +02:00
Nicolas B. Pierron
27adf494d7 Bug 1210733 - Record source filenames independently of the script coverage. r=terrence 2015-10-05 17:05:08 +02:00
Terrence Cole
661f8d914d Bug 1210924 - Do not fire read barriers when using ReadBarriered in a boolean context; r=sfink 2015-10-02 12:04:08 -07:00
Brian Hackett
3b509ae190 Bug 1209933 - Make sure all parent runtime pointers are the topmost parent, r=billm. 2015-10-01 14:36:06 -06:00
Jeff Walden
c29c28268a Bug 1052139 - Make the [[Prototype]] of all objects on the window object's [[Prototype]] chain be immutable, BUT also disable the code that actually respects immutable-prototype handling. When we want to enable this, it'll then be a one-line change. r=bz
--HG--
extra : rebase_source : e8116d4aed87f03f4e0b91b60c6ccf43f040b31a
2014-11-28 02:58:23 -05:00
Jeff Walden
158654b888 Bug 1052139 - Adjust tests to tolerate an immutable global object prototype chain. r=bz
--HG--
extra : rebase_source : ced49e81cc2303142fefec943ac02bac41886360
2015-09-29 08:49:26 -07:00
Terrence Cole
101cabd425 Bug 1209704 - Part 4: Add a post-barrier to ReadBarriered; r=jonco 2015-09-29 13:03:52 -07:00
Terrence Cole
afd6086ae4 Bug 1209704 - Part 3: Share tracing accessors between all barrier classes; r=jonco 2015-10-01 14:06:55 -07:00
Terrence Cole
3bc84c801b Bug 1209704 - Part 2: Share storage and mixins between Read and Write barriers; r=jonco 2015-10-01 13:32:51 -07:00
Terrence Cole
6c4daeb6cd Bug 1209704 - Part 1: Rename BarrieredBase to WriteBarrieredBase; r=jonco 2015-10-01 13:01:43 -07:00
Hannes Verschore
f696467b42 Bug 1208002: Optimize creation of RegExpMatch result for 'str.match', r=bhackett 2015-10-02 17:47:11 +02:00
Jeff Walden
da748edab7 Bug 1205937. r=jandem, with various input from efaust as well
--HG--
extra : rebase_source : 4d1d090d67786e7bc984ee77d22518fca42b9b2c
2015-09-22 13:54:00 -07:00
Heiher
812cec0c44 Bug 1210399 - IonMonkey: MIPS: Safe for races. r=lth
---
 .../jit/mips-shared/AtomicOperations-mips-shared.h | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
2015-10-02 06:33:31 +08:00
Jon Coppeard
6afeb90495 Bug 1209001 - Fix OOM handling when creating ModuleObject r=terrence 2015-09-29 10:14:56 +01:00
Nicolas B. Pierron
deea2ccc60 Bug 1206247 - Do not collect coverage information if the source has no filename. r=bhackett 2015-10-01 12:41:40 +02:00
Nicolas B. Pierron
dd33ee53bc Bug 1204554 part 3.4 - Ensure that scriptCountsMaps data are still alive until the destruction of compartments. r=terrence,bhackett 2015-10-01 12:41:40 +02:00
Nicolas B. Pierron
29c2df3abe Bug 1204554 part 3.3 - Only collect inner JSScript if they have the same source. r=terrence 2015-10-01 12:41:40 +02:00
Nicolas B. Pierron
4173b946e1 Bug 1204554 part 3.2 - Collect the source files before any script, as they are swept first. r=terrence 2015-10-01 12:41:40 +02:00
Nicolas B. Pierron
8b349a80bd Bug 1204554 part 3.1 - Prevent lazy parsing if we have to spew lcov result. r=bhackett 2015-10-01 12:41:40 +02:00
Nicolas B. Pierron
b85acbc481 Bug 1204554 part 3.0 - Collect lcov output on the JSCompartment, and on the JSRuntime. r=terrence,bhackett 2015-10-01 12:41:40 +02:00
Nicolas B. Pierron
848c5c4b1c Bug 1204554 part 2 - Split LCov functions to make the aggregation of results incremental. r=terrence,bhackett 2015-10-01 12:41:40 +02:00
Nicolas B. Pierron
070ec8e3ee Bug 1204554 part 1 - Remove unused JSContext from LcovWriteScript. r=bhackett 2015-10-01 12:41:40 +02:00
Lars T Hansen
25b5faa8b8 Bug 1186982 - propagate OOM failures (no test case). r=h4writer 2015-10-01 11:02:40 +02:00
Jakob Olesen
36080777ce Bug 1205621 - arm64: Handle OOMs in a safer manner. r=lth
When inserting instructions that encode a pc-relative offset, don't use
a method that depends on getting a pointer to the newly inserted method.

Use the new nextinstrOffset() method when computing the encoding of the
pc-relative offset, and only insert each instruction once.

Propagate OOM from calls to buffer.allocEntry, folowing the approach in
the ARM assembler.
2015-09-24 10:21:00 +02:00
Wes Kocher
896562fc4e Backed out changeset 212f49a401b2 (bug 1186982) for SM failures 2015-09-30 16:31:10 -07:00
Shu-yu Guo
8869fe8278 Bug 1207863 - Fix ScopeIter iterating a strict eval frame that errored out before its CallObject was allocated. (r=jorendorff) 2015-09-30 16:30:49 -07:00
Terrence Cole
3985b32cf2 Bug 1209754 - Assert that all post-barriers happen on the main thread; r=jonco
--HG--
extra : rebase_source : c8841153d038a648f67b0b4af7db89ad08515b54
2015-09-29 14:33:37 -07:00
Nick Fitzgerald
30e17cfd82 Bug 1196461 - De-duplicate strings in heap snapshot core dumps; r=shu,jimb
This changeset replaces all of the

    // char16_t[]
    optional bytes someProperty = 1;

one- and two-byte string properties in the CoreDump.proto protobuf definition
file with:

    oneof {
        // char16_t[]
        bytes  someProperty    = 1;
        uint64 somePropertyRef = 2;
    }

The first time the N^th unique string is serialized, then someProperty is used
and the full string is serialized in the protobuf message. All following times
that string is serialized, somePropertyRef is used and its value is N.

Among the other things, this also changes JS::ubi::Edge::name from a raw pointer
with commented rules about who does or doesn't own and should and shouldn't free
the raw pointer to a UniquePtr that enforces those rules rather than relying on
developers reading and obeying the rules in the comments.
2015-09-30 16:03:31 -07:00
Lars T Hansen
3e4ca06729 Bug 1084248 - add a cast<> method, remove the casting constructor as requested. r=waldo 2015-10-01 00:46:45 +02:00
Lars T Hansen
fd3ed03e0f Bug 1084248 - no undefined behavior, take 2. r=waldo 2015-10-01 00:46:08 +02:00
Lars T Hansen
0edc1dd717 Bug 1084248 - safe for races, take 2. r=waldo 2015-10-01 00:45:49 +02:00
Lars T Hansen
46beba4c4d Bug 1186982 - propagate OOM failures. r=h4writer 2015-10-01 00:41:26 +02:00
Mike Hommey
9f2c4e94ba Bug 1209875 - Get rid of XULPPFLAGS. r=gps
The flags added in toolkit/locales/Makefile.in turn out not to be actually
used, so just remove that.

The remaining uses of XULPPFLAGS are to set debug flags depending on whether
MOZ_DEBUG is set or not. Just set a dedicated variable with the right value
from configure.
2015-10-01 07:30:48 +09:00
Terrence Cole
acdd60dddc Backout 9b1ab8950c41 (Bug 1209704) for regressing regexp. 2015-09-30 15:24:43 -07:00
Wes Kocher
65debbc7c9 Backed out changeset 8f99f32e4bfb (bug 1207863) for SM(e) failures 2015-09-30 15:16:37 -07:00
Shu-yu Guo
66e6e97e00 Bug 1207863 - Fix ScopeIter iterating a strict eval frame that errored out before its CallObject was allocated. (r=jorendorff) 2015-09-30 14:43:29 -07:00
Wes Kocher
3cfb7143e3 Backed out changeset 10db467779a0 (bug 1186982) for bug1186982.js failures CLOSED TREE 2015-09-30 10:16:08 -07:00
Wes Kocher
a959ec14e5 Backed out changeset c9b612f67e7a (bug 1209001) for OOM exceptions in bug-1209001.js 2015-09-30 10:14:58 -07:00
Terrence Cole
cc92078ad5 Bug 1209704 - Add a post-barrier to ReadBarriered; r=jonco 2015-09-29 13:03:52 -07:00
Tooru Fujisawa
0f0e5e7e28 Bug 1206980 - Separate MatchOrInsertSemicolon into 2 functions for after expression and non-expression. r=Waldo
--HG--
extra : commitid : AlfGCHRE7xf
extra : rebase_source : b02b3489c5bd737d1574580d1cdd2cfad90ed7c7
2015-09-25 22:01:27 +09:00
Tooru Fujisawa
e754c63e1b Bug 1208442 - Simplify parser syntax test. r=Waldo
--HG--
extra : commitid : Cazbbh2jPkF
extra : rebase_source : e82593f3216fb7c5660deb040fdeb35e09294de3
2015-09-20 12:20:43 +09:00
Lars T Hansen
f0330037ff Bug 1186982 - check for allocation failure. r=h4writer 2015-09-30 17:58:53 +02:00
Heiher
3ac55caceb Bug 1209962 - IonMonkey: MIPS: Memory barrier optimization. r=lth
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
2015-10-01 07:47:33 +08:00
Till Schneidereit
5ebe31a02f Bug 1209989 - Implicitly attach a PRThread to native threads when first used as a PRThread in the PosixNSPR implementation. r=terrence 2015-09-30 17:41:07 +02:00
Jason Orendorff
ebc93772ac Bug 1206168 - Rename JS_DefaultValue to JS::ToPrimitive. r=jandem.
--HG--
extra : commitid : IePcO0FF8By
extra : rebase_source : 74b0cc35acc8dbbde3e9d7d731d415b82f35a833
2015-09-18 12:26:48 -05:00
Jason Orendorff
deb2270515 Bug 1054756, part 5 - Remove Class::convert.
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00