Commit Graph

57535 Commits

Author SHA1 Message Date
Till Schneidereit
be760665a2 Bug 1314028 - Don't try to handle uncatchable exceptions in AbruptRejectPromise. r=luke
MozReview-Commit-ID: K0ThI6m1piW
2016-11-05 00:48:15 +01:00
Till Schneidereit
7955a2f7b8 Bug 1304551 - Properly handle bound functions in getBacktrace. r=efaust
getBacktrace, when invoked with `{locals:true}`, prints the `this` value for each frame, where applicable. When constructing bound functions, the `this` value is magic, which FormatFrame doesn't handle. Since printing that `this` value isn't useful, we just skip it.

MozReview-Commit-ID: 8axhOqyrA2B
2016-11-05 00:48:14 +01:00
Luke Wagner
48b632df69 Bug 1313180 - Baldr: allow JS imports in Tables (r=bbouvier)
MozReview-Commit-ID: 7yCF1SqsUUv

--HG--
extra : rebase_source : 93bef0a56edb0b5a789ab2507f449d5d5ad9fa28
2016-11-04 17:05:57 -05:00
Luke Wagner
7fdc3ce0d8 Bug 1313180 - Baldr: remove unused TrapOffset arg (r=bbouvier)
MozReview-Commit-ID: JtoRFBznumS

--HG--
extra : rebase_source : 218d7f7be6d76dcd35678c9e8657353dbffe06c7
2016-11-04 17:05:56 -05:00
Luke Wagner
84187fc09b Bug 1313180 - Baldr: move around a few things (r=bbouvier)
MozReview-Commit-ID: CYcuLOVCjcC

--HG--
extra : rebase_source : 6580cd7b4c41ca4ccc4cc0e4cffd5eec07878cd6
2016-11-04 17:05:56 -05:00
Luke Wagner
ad907414db Bug 1313180 - Baldr: switch everything to using function indices (r=bbouvier)
MozReview-Commit-ID: 8q9PJZI9lHo

--HG--
extra : rebase_source : e494f2e176e32adee222bd85dea2da2c1c28af1a
2016-11-04 17:05:56 -05:00
Luke Wagner
322851310b Bug 1313180 - Baldr: simplify startFuncIndex (r=bbouvier)
MozReview-Commit-ID: 7RhrxSMGKFo

--HG--
extra : rebase_source : eefc56b2b2aa02882acc7051643045ef3b68dec6
2016-11-04 17:05:56 -05:00
Luke Wagner
1e2eef89de Bug 1313180 - Baldr: turn off wasm tests for --jitflags=interp for SM-msan's benefit (r=bbouvier)
MozReview-Commit-ID: FvFAZUfG1Zs

--HG--
extra : rebase_source : 6013e30c74dc74bb0bbee11e53c14562f6d1e876
2016-11-04 17:05:56 -05:00
Wes Kocher
039ac36eca Backed out 4 changesets (bug 1132888) for SM-tc(r) failures a=backout
Backed out changeset cd3ff163021b (bug 1132888)
Backed out changeset f596578a143e (bug 1132888)
Backed out changeset 5e2739dedc3a (bug 1132888)
Backed out changeset e4b1a95a7f39 (bug 1132888)

--HG--
rename : js/src/jit-test/tests/self-test/assertRecoveredOnBailout-0.js => js/src/jit-test/tests/self-test/assertRecoveredOnBailout.js
2016-11-04 11:38:09 -07:00
Jon Coppeard
37de54b8fa Bug 1315122 - Remove JS::Heap<T>'s unused setToCrashOnTouch() methods r=jandem 2016-11-04 17:32:36 +00:00
Jon Coppeard
f1178f881e Bug 1313347 - Ensure we don't trigger another GC while collecting r=sfink 2016-11-04 17:32:36 +00:00
Jon Coppeard
99aa8489c8 Bug 1313098 - Assert we only access heap state on the main thread r=sfink r=mccr8 2016-11-04 17:32:36 +00:00
Jon Coppeard
9c6fe19daf Bug 1297769 - Don't wait for GC to finish when allocating off-main-thread r=sfink 2016-11-04 17:32:36 +00:00
Boris Zbarsky
598f3f4180 Bug 1021289 part 4. Implement support for WebIDL deleters over Xrays. r=peterv 2016-11-04 12:41:26 -04:00
Boris Zbarsky
6a713608c0 Bug 1021289 part 1. Change XrayWrapper::delete_ to call through to the traits delete_ method if the property doesn't actually exist on the expando. r=peterv 2016-11-04 12:41:26 -04:00
Nicolas B. Pierron
b4b5cfe443 Bug 1132888 part 4 - Test that we do not disable assertRecoveredOnBailout assertion. r=h4writer
--HG--
rename : js/src/jit-test/tests/self-test/assertRecoveredOnBailout.js => js/src/jit-test/tests/self-test/assertRecoveredOnBailout-0.js
2016-11-04 14:02:47 +00:00
Nicolas B. Pierron
17be977cbd Bug 1132888 part 3 - Fix assertRecoveredOnBailout optimization assertion. r=h4writer 2016-11-04 14:02:47 +00:00
Nicolas B. Pierron
1b520e664c Bug 1132888 part 2 - Prevent spewers from consuming almost all the ballast space. r=h4writer 2016-11-04 14:02:47 +00:00
Nicolas B. Pierron
ae46ada71f Bug 1132888 part 1 - Re-add recover instruction for recovering typed array allocations. r=h4writer 2016-11-04 14:02:46 +00:00
Tooru Fujisawa
cf1f457547 Bug 1314401 - Part 1: Eagerly check IsRegExpObject in IsRegExpMethodOptimizable. r=till sec-approval=dveditz 2016-11-04 20:27:58 +09:00
Benjamin Bouvier
368bb043d5 Bug 1304672: Fix for MSVC unified build bustage; r=luke
MozReview-Commit-ID: CckK0d8F5ow

--HG--
extra : rebase_source : c6abdab16b00575f5f7d9415f8cf22158a0af1d0
2016-11-03 16:54:52 +01:00
Benjamin Bouvier
75375be9aa Bug 1304672: Rename asmjs/ directory to wasm/; r=luke
MozReview-Commit-ID: 5B23MCOlmKX

--HG--
rename : js/src/asmjs/AsmJS.cpp => js/src/wasm/AsmJS.cpp
rename : js/src/asmjs/AsmJS.h => js/src/wasm/AsmJS.h
rename : js/src/asmjs/WasmAST.h => js/src/wasm/WasmAST.h
rename : js/src/asmjs/WasmBaselineCompile.cpp => js/src/wasm/WasmBaselineCompile.cpp
rename : js/src/asmjs/WasmBaselineCompile.h => js/src/wasm/WasmBaselineCompile.h
rename : js/src/asmjs/WasmBinary.cpp => js/src/wasm/WasmBinary.cpp
rename : js/src/asmjs/WasmBinary.h => js/src/wasm/WasmBinary.h
rename : js/src/asmjs/WasmBinaryFormat.cpp => js/src/wasm/WasmBinaryFormat.cpp
rename : js/src/asmjs/WasmBinaryFormat.h => js/src/wasm/WasmBinaryFormat.h
rename : js/src/asmjs/WasmBinaryIterator.cpp => js/src/wasm/WasmBinaryIterator.cpp
rename : js/src/asmjs/WasmBinaryIterator.h => js/src/wasm/WasmBinaryIterator.h
rename : js/src/asmjs/WasmBinaryToAST.cpp => js/src/wasm/WasmBinaryToAST.cpp
rename : js/src/asmjs/WasmBinaryToAST.h => js/src/wasm/WasmBinaryToAST.h
rename : js/src/asmjs/WasmBinaryToExperimentalText.cpp => js/src/wasm/WasmBinaryToExperimentalText.cpp
rename : js/src/asmjs/WasmBinaryToExperimentalText.h => js/src/wasm/WasmBinaryToExperimentalText.h
rename : js/src/asmjs/WasmBinaryToText.cpp => js/src/wasm/WasmBinaryToText.cpp
rename : js/src/asmjs/WasmBinaryToText.h => js/src/wasm/WasmBinaryToText.h
rename : js/src/asmjs/WasmCode.cpp => js/src/wasm/WasmCode.cpp
rename : js/src/asmjs/WasmCode.h => js/src/wasm/WasmCode.h
rename : js/src/asmjs/WasmCompartment.cpp => js/src/wasm/WasmCompartment.cpp
rename : js/src/asmjs/WasmCompartment.h => js/src/wasm/WasmCompartment.h
rename : js/src/asmjs/WasmCompile.cpp => js/src/wasm/WasmCompile.cpp
rename : js/src/asmjs/WasmCompile.h => js/src/wasm/WasmCompile.h
rename : js/src/asmjs/WasmFrameIterator.cpp => js/src/wasm/WasmFrameIterator.cpp
rename : js/src/asmjs/WasmFrameIterator.h => js/src/wasm/WasmFrameIterator.h
rename : js/src/asmjs/WasmGeneratedSourceMap.h => js/src/wasm/WasmGeneratedSourceMap.h
rename : js/src/asmjs/WasmGenerator.cpp => js/src/wasm/WasmGenerator.cpp
rename : js/src/asmjs/WasmGenerator.h => js/src/wasm/WasmGenerator.h
rename : js/src/asmjs/WasmInstance.cpp => js/src/wasm/WasmInstance.cpp
rename : js/src/asmjs/WasmInstance.h => js/src/wasm/WasmInstance.h
rename : js/src/asmjs/WasmIonCompile.cpp => js/src/wasm/WasmIonCompile.cpp
rename : js/src/asmjs/WasmIonCompile.h => js/src/wasm/WasmIonCompile.h
rename : js/src/asmjs/WasmJS.cpp => js/src/wasm/WasmJS.cpp
rename : js/src/asmjs/WasmJS.h => js/src/wasm/WasmJS.h
rename : js/src/asmjs/WasmModule.cpp => js/src/wasm/WasmModule.cpp
rename : js/src/asmjs/WasmModule.h => js/src/wasm/WasmModule.h
rename : js/src/asmjs/WasmSerialize.h => js/src/wasm/WasmSerialize.h
rename : js/src/asmjs/WasmSignalHandlers.cpp => js/src/wasm/WasmSignalHandlers.cpp
rename : js/src/asmjs/WasmSignalHandlers.h => js/src/wasm/WasmSignalHandlers.h
rename : js/src/asmjs/WasmStubs.cpp => js/src/wasm/WasmStubs.cpp
rename : js/src/asmjs/WasmStubs.h => js/src/wasm/WasmStubs.h
rename : js/src/asmjs/WasmTable.cpp => js/src/wasm/WasmTable.cpp
rename : js/src/asmjs/WasmTable.h => js/src/wasm/WasmTable.h
rename : js/src/asmjs/WasmTextToBinary.cpp => js/src/wasm/WasmTextToBinary.cpp
rename : js/src/asmjs/WasmTextToBinary.h => js/src/wasm/WasmTextToBinary.h
rename : js/src/asmjs/WasmTextUtils.cpp => js/src/wasm/WasmTextUtils.cpp
rename : js/src/asmjs/WasmTextUtils.h => js/src/wasm/WasmTextUtils.h
rename : js/src/asmjs/WasmTypes.cpp => js/src/wasm/WasmTypes.cpp
rename : js/src/asmjs/WasmTypes.h => js/src/wasm/WasmTypes.h
extra : rebase_source : b177b242026c7b42c5502eeadb968bc548cd82ce
2016-11-02 18:42:35 +01:00
Benjamin Bouvier
3397fa4d20 Bug 1304672: Renamings outside asmjs/ and jit/; r=luke
MozReview-Commit-ID: 1LGFJMlHaz2

--HG--
extra : rebase_source : 3ee8b822a6097260c9b9c0487b91a63e6ff1e575
2016-11-02 18:22:37 +01:00
Benjamin Bouvier
122a158231 Bug 1304672: More jit/ renamings from asm.js to wasm; r=luke
MozReview-Commit-ID: 62aCkmFbso1

--HG--
extra : rebase_source : c2b27059036e4b13dfb4766c6dd194a563640837
2016-11-02 18:06:57 +01:00
Jan de Mooij
af4e54557a Bug 1314569 - Purge ShapeTables on shrinking GCs. r=jonco 2016-11-03 19:15:15 +01:00
Till Schneidereit
a14435c813 Bug 1298414 - Properly handle resolve/reject callbacks on xray'd promises. r=bz,efaust
MozReview-Commit-ID: H9dppdKlRG6
2016-11-03 19:08:56 +01:00
André Bargull
7f3f04815c Bug 1314083 - Handle destructuring-only syntax when initially parsing async arrow parameters. r=arai 2016-11-03 03:08:59 -07:00
André Bargull
741730f0fd Bug 1297720 - Streamline ToNumberSlow's code so it matches ToStringSlow. r=till 2016-11-01 10:23:35 -07:00
André Bargull
0b966b9cd3 Bug 1291003 - Compute byteOffset before calling ToInteger in %TypedArray%.prototype.subarray. r=evilpie 2016-10-31 10:59:08 -07:00
Till Schneidereit
d805576197 Bug 1314386 - Properly handle a primitive-returning Promise.resolve in Promise.all. r=arai
MozReview-Commit-ID: GCWH4QPag6E
2016-11-03 16:42:09 +01:00
Till Schneidereit
91f8b86a70 Bug 1314392 - Throw error instead of crashing when getting passed unexpected parameters in getWaitForAllPromise testing function. r=arai
MozReview-Commit-ID: GSUlXTPhszK
2016-11-03 16:07:21 +01:00
Benjamin Bouvier
7668404498 Bug 1304672: Rename isCompilingAsmJS into isCompilingWasm; r=luke
MozReview-Commit-ID: 3yFHEI1CoWO

--HG--
extra : rebase_source : a177d3d221e879535b6e38caab3277e1774b2d1a
extra : histedit_source : 3b11b64ff01420bdd3eff29ee5f9ac562f614755
2016-11-02 17:20:55 +01:00
Benjamin Bouvier
cefa84fcb2 Bug 1304672: Rename NewAsmJS factory functions into New; r=luke
MozReview-Commit-ID: L1Vbl48Idqi

--HG--
extra : rebase_source : 5467323e091ffcef414ac1fa69a5eabee238e418
extra : histedit_source : 8392a9b91d89d13483fc1785b433183a5f50da15
2016-11-02 17:09:05 +01:00
Benjamin Bouvier
da6165095d Bug 1304672: Rename MBasicBlock::NewAsmJS into MBasicBlock::New; r=luke
(and setBackedgeAsmJS to setBackedgeWasm)

MozReview-Commit-ID: n86nANp8TI

--HG--
extra : rebase_source : 9f6f894eeb6097c2aa4ec733a6a0440178cd5961
extra : histedit_source : 4eeed756753c2a3fdc05a732dda8b40380dcc788
2016-11-02 11:48:00 +01:00
Benjamin Bouvier
c8b368e5b2 Bug 1304672: Group AsmJS and Wasm MIR/LIR nodes together in opcodes list; r=luke
MozReview-Commit-ID: 531VPUXFnNY

--HG--
extra : rebase_source : fe2147b167a8a3b572000e71318140cea43c1bdb
extra : histedit_source : d03d2aa0e784a252c725e59582fe3d492dc49fbf
2016-11-02 10:57:13 +01:00
Benjamin Bouvier
fff6e458f7 Bug 1304672: Rename AsmJSParameter to WasmParameter and AsmJSPassStackArg to WasmStackArg; r=luke
MozReview-Commit-ID: KbZRJU79WvQ

--HG--
extra : rebase_source : e7c524e1618be8c55b15171918b2a9edaca51d71
extra : histedit_source : 7e9d2d10699aa88fbf3eea157a491deccaba756f
2016-11-02 10:50:25 +01:00
Benjamin Bouvier
c9bd9a2fcc Bug 1304672: Rename AsmJSReturn/AsmJSVoidReturn to WasmReturn/WasmReturnVoid; r=luke
MozReview-Commit-ID: 3Nc24K16JtI

--HG--
extra : rebase_source : eb0945d0930ce90cfa121455b6db3624fb10c49a
extra : histedit_source : 3e57255082a2018eba8b0b400a8829a3d624071d
2016-11-02 10:43:35 +01:00
Benjamin Bouvier
9535ac5427 Bug 1304672: WasmBaselineCompiler should refer to the renamed Wasm{Load,Store}GlobalVar; r=luke
MozReview-Commit-ID: 79bHGrpDCXw

--HG--
extra : rebase_source : eea014673a34279e4e9130db98b9cccb2a29438a
extra : histedit_source : 12947bbe07c965f2945133ffb8d898d662484909
2016-11-02 10:41:05 +01:00
Benjamin Bouvier
72e5f8ec1a Bug 1304672: Rename AsmJSUnsignedToFloat32 to WasmUnsignedToFloat32; r=luke
And LAsmJSUInt32ToFloat32 to LWasmUint32ToFloat32;

MozReview-Commit-ID: EVbZZH8n0nP

--HG--
extra : rebase_source : 4d64a7b7d65b64836e0b87b3d12a31aea8bf48b5
extra : histedit_source : 37ca26445655f62c1b7eafbabd186d52b7f4d9a4
2016-11-02 10:37:48 +01:00
Benjamin Bouvier
a4ef9c21e7 Bug 1304672: Rename AsmJSUnsignedToDouble to WasmUnsignedToDouble; r=luke
And also AsmJSUInt32ToDouble to WasmUint32ToDouble;

MozReview-Commit-ID: Dz3dZmVNQLP

--HG--
extra : rebase_source : 5f5c80d518758fea8beab96cb70f348c38a50514
extra : histedit_source : 0d7edd466715aedae075781185a258ba1135106f
2016-11-02 10:33:46 +01:00
Benjamin Bouvier
53529d1b83 Bug 1304672: Rename AsmSelect to WasmSelect; r=luke
MozReview-Commit-ID: 2PJ0o69LHCx

--HG--
extra : rebase_source : cead71bd69c36d6bd470431dd713fe72ff74ef0d
extra : histedit_source : 548f9106e51e14fa07bf19116bb4a1a1ec2fa833
2016-11-02 10:24:29 +01:00
Benjamin Bouvier
2be5963bfd Bug 1304672: Rename AsmReinterpret to WasmReinterpret; r=luke
MozReview-Commit-ID: IykJQTtqunX

--HG--
extra : rebase_source : 4039550bf12aad571da2264313852ea4eacdaf93
extra : histedit_source : 3febd0ead783dc06efa21b4c0ec5da73397da89d
2016-11-02 10:15:52 +01:00
Till Schneidereit
36cc395098 Bug 1313810 - Properly handle Promise-subclassing with a cross-compartment Promise superclass. r=arai
MozReview-Commit-ID: 8F0b5SHfIen
2016-11-03 15:21:26 +01:00
Jon Coppeard
e9b86f1af6 Bug 1314299 - Add assertions to ConstraintTypeSet data structures r=jandem 2016-11-03 11:03:51 +00:00
Jon Coppeard
dc9af2000e Bug 1314565 - Fix PerfSpewer following mutex ordering changes r=nbp 2016-11-03 11:03:51 +00:00
André Bargull
ed70f39ba2 Bug 1073307: Add tests for timeZone support in Date.prototype.toLocaleString. r=Waldo 2016-11-01 08:54:19 -07:00
Kris Maglione
74012f4fcd Bug 1312690: Load content scripts asynchronously when possible. r=aswan
MozReview-Commit-ID: BzpZA4stbCI

--HG--
extra : rebase_source : 1b93f4ee7add989b3716b75c26ee9835e086d29c
2016-11-02 13:57:19 -07:00
Wes Kocher
df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Wes Kocher
7bcb4fd669 Backed out 2 changesets (bug 1314037) for win64 wpt(1) failures a=backout
Backed out changeset 0223902c2353 (bug 1314037)
Backed out changeset c9b3a1252363 (bug 1314037)
2016-11-02 12:12:02 -07:00
André Bargull
86c995dfd5 Bug 1314037 - Part 2: Support extended Unicode escape sequences in identifiers. r=arai
--HG--
extra : rebase_source : dd04559838cbaa24f00576db035fb33683a98dc3
2016-10-31 09:58:08 -07:00