Jan de Mooij
7effa6b8fe
Bug 1348772
- Optimize Array.prototype.shift to have O(1) perf instead of O(n). r=jonco
...
JS code often uses arrays as queues, with a loop to shift() all items, and this resulted in quadratic behavior for us. That kind of code is much faster now.
2017-05-11 17:12:39 +02:00
Nicolas B. Pierron
5c420a509e
Bug 1347120 - XDR: Do not assert if the failure code is already set as to 'Throw' when there is a pending exception. r=shu
2017-05-11 13:25:20 +00:00
Nicolas B. Pierron
2a6927dcfd
Bug 1342328 - IonMonkey dce-with-rinstructions.js test: Prevent compilation of the top-level loop. r=tcampbell
2017-05-11 12:47:23 +00:00
Till Schneidereit
29431d1f42
Bug 1363758 - Don't use a dummy function for internally-create Promise in wasm compilation/instantiation. r=bbouvier
...
PromiseObject now has a createSkippingExecutor function that avoids the need for a dummy executor for internally created promises.
MozReview-Commit-ID: IEzNwMYSdde
2017-05-11 14:43:23 +02:00
Till Schneidereit
be699bc7bf
Bug 1357958 - Move the JS shell's Promise job handling into the engine to be used as a default implementation. r=jandem
...
The shell has a very basic implementation of Promise job queue handling. This patch moves it into the engine, exposed through friendapi functions. The motivation is that I want to write JSAPI tests for streams, which requires Promise handling. The test harness would need essentially a copy of the shell's Promise handling, which isn't nice.
To be clear, the default implementation isn't used automatically: the embedding has to explicitly request it using js::UseInternalJobQueues.
MozReview-Commit-ID: 6bZ5VG5mJKV
2017-05-11 14:43:22 +02:00
Wes Kocher
02bf8c4425
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: FfNikA7un6F
2017-05-10 17:31:18 -07:00
Wes Kocher
1b5ad2c128
Merge inbound to central, a=merge
...
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
Sebastian Hengst
67fb8912b0
Backed out changeset 502f442198b6 (bug 1360248) for build bustage in WasmSignalHandlers.cpp, at least on Windows 2012. r=backout on a CLOSED TREE
2017-05-10 20:22:11 +02:00
Sebastian Hengst
e6d07c36b9
Backed out changeset 5b0d8eb9dc56 (bug 1360248)
2017-05-10 20:21:37 +02:00
Sebastian Hengst
86c890c430
Backed out changeset 20f376c71c88 (bug 1360248)
2017-05-10 20:21:32 +02:00
Sebastian Hengst
aa90d097a7
Backed out changeset 3e087957c2c6 (bug 1360254)
2017-05-10 20:21:27 +02:00
Luke Wagner
f6aa6a7019
Bug 1360254 - Baldr: remove JSContext::wasmActivationStack (r=bbouvier)
...
MozReview-Commit-ID: Ftzs7mTUzWN
--HG--
extra : rebase_source : f528f33a1bcf94c11dc7e721c68f3301a5f29cbf
2017-05-10 12:29:15 -05:00
Luke Wagner
a554e5062f
Bug 1360248 - Baldr: use wasm::Frame* type for fp instead of void* (r=bbouvier)
...
MozReview-Commit-ID: K88WK1gmbZ9
--HG--
extra : rebase_source : 4159840d991c476cb66315757543b9d8ffc0a46c
2017-05-10 12:10:47 -05:00
Luke Wagner
bb0f5e559f
Bug 1360248 - Baldr: remove WasmActivation::exitSP_, using unwinding instead (r=bbouvier)
...
MozReview-Commit-ID: 1vh274E0A5O
--HG--
extra : rebase_source : 881bd26f53488b9e65c01bc16c83ffb5b83ba978
2017-05-10 12:08:38 -05:00
Luke Wagner
a5521c97a5
Bug 1360248 - Baldr: factor out argument/return ABI code (r=bbouvier)
...
MozReview-Commit-ID: HKqPRPUhwyx
--HG--
extra : rebase_source : f0ef4fb48c8d01100c63feaf9ea3b335647f5667
2017-05-10 11:54:43 -05:00
Benjamin Bouvier
b8329c34d6
Bug 1363431: wasm: Check for maximum br_table size; r=luke
...
MozReview-Commit-ID: 2Q2pWi5NSn7
--HG--
extra : rebase_source : a778197f93e3ea208e3d0bf067254e37aca6fa9f
2017-05-09 18:33:40 +02:00
Luke Wagner
b9a4912ee2
Bug 1360254 - Baldr: remove JSContext::wasmActivationStack (r=bbouvier)
...
MozReview-Commit-ID: Ftzs7mTUzWN
--HG--
extra : rebase_source : b4670defcde377465b9d51681bb51a60a942b214
2017-05-10 12:29:15 -05:00
Luke Wagner
90264dad88
Bug 1360248 - Baldr: use wasm::Frame* type for fp instead of void* (r=bbouvier)
...
MozReview-Commit-ID: K88WK1gmbZ9
--HG--
extra : rebase_source : 8ccee369bc072a6bb17050fb5c6e9ac12549822c
2017-05-10 12:10:47 -05:00
Luke Wagner
c933213f7d
Bug 1360248 - Baldr: remove WasmActivation::exitSP_, using unwinding instead (r=bbouvier)
...
MozReview-Commit-ID: 1vh274E0A5O
--HG--
extra : rebase_source : c23043a8e4bbf0178fb5efa8fc51e59e91907e19
2017-05-10 12:08:38 -05:00
Luke Wagner
a89e52745a
Bug 1360248 - Baldr: factor out argument/return ABI code (r=bbouvier)
...
MozReview-Commit-ID: HKqPRPUhwyx
--HG--
extra : rebase_source : ff22df8a9c839a4379ac8b5b6652081b8db69ad3
2017-05-10 11:54:43 -05:00
Milan Sreckovic
8e95e2695e
Bug 1358297: Part 5. We have a new function, StripTaggedASCII that needs to be added to the heap hazard whitelist. r=froydnj
...
MozReview-Commit-ID: 4bhnYwCkwIx
--HG--
extra : rebase_source : 4cd19deec0d0b854572b4f5b1f0340b5f00ff8e4
2017-05-10 13:12:48 -04:00
Wes Kocher
c7918207d5
Backed out changeset feea2db3ddbe (bug 1363664) at developer's request a=backout
...
MozReview-Commit-ID: 83nv6jxNwoL
2017-05-10 09:51:38 -07:00
Ravi Shankar
bacca6ee5c
Bug 1363664 - Add bindings for StyleGridTemplate and nsTArray<nsString>; r=heycam
...
MozReview-Commit-ID: AsVxzu4SUu9
--HG--
extra : rebase_source : 55f6b62e574aba07c21ac0d4041de6a15a4c3f41
2017-05-10 17:51:39 +05:30
Nicolas B. Pierron
d676a8001e
Bug 1351357 - Use the ReadOnlyCompileOptions from the HelperThread while decoding RegExp. r=bhackett
2017-05-10 13:42:08 +00:00
Carsten "Tomcat" Book
455239782b
Merge mozilla-central to mozilla-inbound
2017-05-10 15:30:44 +02:00
kedziorski.lukasz@gmail.com
f815a0af4b
Bug 1359436 - Add leak checking to CycleCollectedJSContext and related classes. r=mccr8
2017-05-09 13:59:00 +02:00
Carsten "Tomcat" Book
d5cb285977
Backed out changeset 3258871b4902 (bug 1359622) for browser_CTP_crashreporting.js | Uncaught exception - Timed out waiting for plugin binding to be in success state - timed out after 50 tries.
2017-05-10 13:01:57 +02:00
Carsten "Tomcat" Book
bef66488d9
Backed out changeset 8756a6262190 (bug 1357075)
2017-05-10 13:01:25 +02:00
Carsten "Tomcat" Book
76338929ce
Backed out changeset cf2ee5242986 (bug 1363191)
2017-05-10 13:01:23 +02:00
Shu-yu Guo
e25f176582
Bug 1363191 - Pop eval lexical scope before propagating its var scope's Annex B functions. (r=anba)
2017-05-09 14:45:27 -07:00
Shu-yu Guo
02ce432ff5
Bug 1357075 - Pad a nop to unwind to the scope just before a destructuring iterator close trynote. (r=arai)
2017-05-09 14:45:26 -07:00
Shu-yu Guo
a7f949a3ff
Bug 1359622 - Fix assert for calling Function.toString on class constructors when the compartment has had source discarded. (r=Yoric)
2017-05-09 14:45:26 -07:00
Andrew McCreight
087c406acb
Bug 1363538 - Remove some derelict testing code from XPCShellImpl.cpp. r=mrbkap
...
MozReview-Commit-ID: 96UyB317H0W
--HG--
extra : source : 0a74ed4854d784856f28cf48a422f4aa0763fd22
2017-05-09 14:35:23 -07:00
Sebastian Hengst
0f8a7b60eb
Backed out changeset 10acb957ba60 (bug 1363054) for failing Marionette's test_crash.py TestCrash.test_crash_content_process on Windows 8 x64 opt with e10s. r=backout on a CLOSED TREE
2017-05-09 19:36:24 +02:00
Sebastian Hengst
c50cb6eb14
Backed out changeset a2281e684a80 (bug 1363054)
2017-05-09 19:35:21 +02:00
Sebastian Hengst
e5491f037d
Backed out changeset 4d383642cf05 (bug 1363054)
2017-05-09 19:35:17 +02:00
Sebastian Hengst
8cd3282651
Backed out changeset eade14aad3f7 (bug 1363054)
2017-05-09 19:35:12 +02:00
Nicolas B. Pierron
851bd537a5
Bug 1348779 - irregexp: Report JS Errors on stack overflow. r=bhackett
2017-05-09 15:49:57 +00:00
Carsten "Tomcat" Book
df3e065b52
Backed out changeset 03caaa7757d4 (bug 1357958) for bustage in js/src/jit-test/tests/wasm/bench/wasm_box2d.js
2017-05-09 15:51:54 +02:00
Till Schneidereit
1b30c06e4e
Bug 1357958 - Move the JS shell's Promise job handling into the engine to be used as a default implementation. r=jandem
...
The shell has a very basic implementation of Promise job queue handling. This patch moves it into the engine, exposed through friendapi functions. The motivation is that I want to write JSAPI tests for streams, which requires Promise handling. The test harness would need essentially a copy of the shell's Promise handling, which isn't nice.
To be clear, the default implementation isn't used automatically: the embedding has to explicitly request it using js::UseInternalJobQueues.
MozReview-Commit-ID: DwtPsJ0uMtP
2017-05-09 15:04:24 +02:00
Carsten "Tomcat" Book
76ca853e3e
Merge mozilla-central to mozilla-inbound
2017-05-09 14:40:11 +02:00
Jan de Mooij
8a2dc81b1a
Bug 1363054 part 4 - Attach generalized type monitor stubs for unknown/unknownObject type sets. r=tcampbell
2017-05-09 14:04:57 +02:00
Jan de Mooij
a6ad8db9ea
Bug 1363054 part 3 - Pass StackTypeSet* to addMonitorStubForValue. r=tcampbell
2017-05-09 14:04:30 +02:00
Jan de Mooij
fab83d320c
Bug 1363054 part 2 - Remove some shared stubs code that's no longer needed. r=tcampbell
2017-05-09 14:04:10 +02:00
Jan de Mooij
4052fb6dc4
Bug 1363054 part 1 - Remove redundant addMonitorStubForValue calls. r=tcampbell
2017-05-09 14:03:44 +02:00
Jon Coppeard
e7b80c5987
Bug 1362977 - Rename CellSize to CellAlignBytes and improve the naming of related constants r=sfink
2017-05-09 11:38:32 +01:00
Alexandre Poirot
097e90a04c
Bug 1363539 - Remove dependency on DevTools from test_onGarbageCollection.html. r=sfink
...
MozReview-Commit-ID: LQ8oCAyC7sF
--HG--
extra : rebase_source : 82284076bcff9fa34d7410b22ce90bb6182d3a09
2017-02-22 12:45:11 +01:00
Mike Hommey
63f96098ea
Bug 1356140 - Enable tooltool cache on jobs that define one but don't use it. r=chmanchester
...
--HG--
extra : rebase_source : 085fe8ff6ac368624054bef1f171c8d24c8ecff1
2017-04-13 16:26:33 +09:00
Mike Hommey
709c879f5b
Bug 1356683 - Use new tooltool wrapper for Windows Spidermonkey builds. r=chmanchester
...
--HG--
extra : rebase_source : 19ccbfad81ebb30f51928af2492845c75182502a
2017-04-12 17:46:34 +09:00
Wes Kocher
f5ba7a67d6
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 9QuGHXqdxTb
2017-05-08 16:14:34 -07:00