Граф коммитов

57706 Коммитов

Автор SHA1 Сообщение Дата
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
André Bargull dd3ee0e6f4 Bug 1314037 - Part 1: Use uniform types for UTF-16 code units and code points. r=arai
--HG--
extra : rebase_source : 5bc1c6cbd3e00b455b2c14653875ef49d7a2cf81
2016-10-31 07:15:11 -07:00
Jon Coppeard 24632186f9 Bug 1312525 - Always trigger the pre-barrier when setting an unlazified script r=sfink a=abillings
--HG--
extra : rebase_source : 00f325e843ecb708a1d25df153a710e84862c5a7
2016-11-02 11:11:14 +00:00
André Bargull 0e9f947c87 Bug 1288541 - Part 2: Inline _GetNextSetEntryForIterator intrinsic. r=arai
--HG--
extra : rebase_source : 39e8fa9d20e147853e652c022d2e58075cdb0d01
2016-10-19 09:35:15 -07:00
André Bargull ba61b05695 Bug 1288541 - Part 1: Self-host SetIterator.prototype.next(). r=till
--HG--
extra : rebase_source : f2e2ea04b8314784a8ce99cf56839ce0bbb8a6f4
2016-11-01 08:49:12 -07:00
Lars T Hansen c77e4ec01c Bug 1314482 - heed the return value from the error reporter. r=arai
--HG--
extra : rebase_source : b7a75b57ef09c4bdc93e7796ada7ffdf868d1ea9
2016-11-02 10:33:26 +01:00
Sander Mathijs van Veen 1f40fc75ae Bug 1302367 - Regression in Emscripten's conditionals caused by ModD r=jandem,nbp
MozReview-Commit-ID: DotMfdJ8zBD

--HG--
extra : rebase_source : 1bba438c15a6e919e55be114f7b68c6ea9104f2c
2016-10-25 13:04:59 +00:00
Zibi Braniecki 89b4923282 Bug 966559 - Use public C API for NumberingSystem. r=Waldo
MozReview-Commit-ID: CBICCJQXI7R

--HG--
extra : rebase_source : b74b9d6038580ab970565bb56c09d5330be92407
2016-11-01 12:15:26 -07:00
Phil Ringnalda 8f3fc80e6a Merge m-c to autoland 2016-10-31 18:46:45 -07:00
Bill McCloskey d7e107da58 Bug 1308040 - Don't count painting time in GC telemetry (r=sfink) 2016-10-31 14:01:48 -07:00
Bill McCloskey 6c5708cce0 Bug 1308040 - Fix GC JSON totals array (r=sfink) 2016-10-31 14:01:48 -07:00
Bill McCloskey eb7d9fafff Bug 1308040 - Don't output 0s in GC JSON (r=sfink) 2016-10-31 14:01:47 -07:00
Michelangelo De Simone 6314d37360 Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x

--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Carsten "Tomcat" Book 12b13f74df Backed out changeset f16586fdc3fd (bug 1232966) for arm bustage 2016-10-31 15:08:14 +01:00
Carsten "Tomcat" Book 2b0c24a4d2 Backed out changeset 6892ec7e77f3 (bug 1232966) 2016-10-31 15:07:31 +01:00
Jan de Mooij 2a1303f94d Bug 1299107 - Share more shapes across compartments. r=Waldo 2016-10-31 15:01:20 +01:00
Lars T Hansen 71a418d5f0 Bug 1232966 - test cases for SharedArrayBuffer.prototype.slice. r=arai
--HG--
extra : rebase_source : dd76d70d09bfbf3ddf65c10ab5168be69f03e49b
2016-10-31 10:40:07 +01:00
Lars T Hansen 6420049372 Bug 1232966 - SharedArrayBuffer.prototype.slice. r=arai
--HG--
extra : rebase_source : 6afc38709d9f6eeeead43e43037e5ca9b78de985
2016-10-31 14:15:35 +01:00
Tooru Fujisawa 98f3030623 Bug 1185106 - Part 14: Add AsyncFunction.prototype[@@toStringTag]. r=till 2016-10-31 05:33:16 +09:00
Tooru Fujisawa 8f486dc57c Bug 1185106 - Part 13: Support async function in Function.prototype.toString. r=till
MozReview-Commit-ID: 1CwKhHKOLhk
2016-08-29 02:06:19 +09:00
Tooru Fujisawa 615088fefd Bug 1185106 - Part 12: Return wrapped function for arguments.callee. r=till
MozReview-Commit-ID: JxID0houuqK
2016-08-29 14:51:39 +09:00
Tooru Fujisawa 965b052608 Bug 1185106 - Part 11.6: Add test for async function expression binding identity. r=till
MozReview-Commit-ID: J7YAj7XIh24
2016-08-29 14:51:10 +09:00
Tooru Fujisawa f76ad02048 Bug 1185106 - Part 11.5: Add async function constructor and prototype. r=till
MozReview-Commit-ID: DKdeWuAdhrY
2016-08-29 02:06:19 +09:00
Tooru Fujisawa 75a6a457af Bug 1185106 - Part 11.4: Add function length test for async function. r=till
MozReview-Commit-ID: BILq634dpL2
2016-08-29 02:06:19 +09:00
Mariusz Kierski ebcb47a21f Bug 1185106 - Part 11.3: Add semantics test for async/await. r=efaust,till
MozReview-Commit-ID: E1WPuMsz3Jk
2016-08-29 02:06:19 +09:00
Tooru Fujisawa 0cfe3ce610 Bug 1185106 - Part 11.2: Add helper functions for async/await test. r=till
MozReview-Commit-ID: B3lwv5ejz5g
2016-08-29 02:06:19 +09:00
Tooru Fujisawa 5d7377b42e Bug 1185106 - Part 11.1: Implement async functions. r=till
MozReview-Commit-ID: ChWpakqUlsi
2016-08-29 02:05:55 +09:00
Tooru Fujisawa f7b54d0f8e Bug 1185106 - Part 10.3: Add parser test for async arrow function. r=efaust,till
MozReview-Commit-ID: 1HCDc8Z1BJU
2016-08-28 23:58:30 +09:00
Tooru Fujisawa 949bd7632a Bug 1185106 - Part 10.2: Support async arrow function in Reflect.parse. r=efaust,till
MozReview-Commit-ID: LYJym1TTrQa
2016-08-28 23:58:30 +09:00
Tooru Fujisawa b5163f4e1a Bug 1185106 - Part 10.1: Support async arrow function in Parser. r=till
MozReview-Commit-ID: CuMJ5qk2HVs
2016-08-28 23:58:30 +09:00
Tooru Fujisawa 92cd9d396c Bug 1185106 - Part 9.3: Add parser test for yield in async function statement in export default. r=till
MozReview-Commit-ID: 3OsdBSSyz64
2016-08-28 23:58:29 +09:00
Tooru Fujisawa 96c7fbc2ea Bug 1185106 - Part 9.2: Add parser test for async function statement in export default. r=efaust,till
MozReview-Commit-ID: U7PXXOsEpA
2016-08-28 23:58:29 +09:00
Tooru Fujisawa 769d4cad22 Bug 1185106 - Part 9.1: Support async function statement in export default in Parser. r=efaust,till
MozReview-Commit-ID: 5oe1f3MRssu
2016-08-28 23:58:29 +09:00
Tooru Fujisawa c5236c1dc9 Bug 1185106 - Part 8.2: Add parser test for await in module. r=efaust,till
MozReview-Commit-ID: JNEYt4Y3fo4
2016-08-28 23:58:29 +09:00
Mariusz Kierski 2c2d7ff0f1 Bug 1185106 - Part 8.1: Treat await as keyword in module. r=efaust,till
MozReview-Commit-ID: JnnXaIJvPGW
2016-08-28 23:58:29 +09:00
Tooru Fujisawa 9e6bd2f04e Bug 1185106 - Part 7.4: Fix property name parsing with async name. r=till 2016-10-31 05:33:11 +09:00
Tooru Fujisawa a557c2b099 Bug 1185106 - Part 7.3: Add parser test for yield in async method. r=till
MozReview-Commit-ID: EkJSBtUFijk
2016-08-28 23:58:29 +09:00
Mariusz Kierski 925b84ddb8 Bug 1185106 - Part 7.2: Add parser test for async method. r=efaust,till
MozReview-Commit-ID: Lv2sjpSILhz
2016-08-28 23:58:29 +09:00
Mariusz Kierski d4f1a569f2 Bug 1185106 - Part 7.1: Support async method in Parser. r=efaust,jwalden,till
MozReview-Commit-ID: IqaY6IwRiHr
2016-08-28 23:58:28 +09:00
Tooru Fujisawa 03865c6e52 Bug 1185106 - Part 6.3: Add parser test for yield in async function expression. r=till
MozReview-Commit-ID: CovUsWjP1ER
2016-08-28 23:58:28 +09:00
Mariusz Kierski a4d5557a25 Bug 1185106 - Part 6.2: Add parser test for async function expression. r=efaust,till
MozReview-Commit-ID: 4C5ePdMARoJ
2016-08-28 23:58:28 +09:00
Tooru Fujisawa cde768307e Bug 1185106 - Part 6.1: Support async function expression in Parser. r=till
MozReview-Commit-ID: Ed7PAq3bNTX
2016-08-28 23:58:28 +09:00
Tooru Fujisawa 3c26089d3a Bug 1185106 - Part 5.6: Add parser test for yield in async function declaration. r=till
MozReview-Commit-ID: DsqGxUONwDr
2016-08-28 23:58:28 +09:00
Mariusz Kierski a6fc46cb19 Bug 1185106 - Part 5.5: Add parser test for async function declaration. r=efaust,till
MozReview-Commit-ID: I8gqeShK7ch
2016-08-28 23:58:21 +09:00
Mariusz Kierski 1ab333095c Bug 1185106 - Part 5.4: Support await expression in Reflect.parse. r=efaust,till
MozReview-Commit-ID: 7J8CeaYhP1X
2016-08-28 23:57:33 +09:00
Tooru Fujisawa 53a38b0e6f Bug 1185106 - Part 5.3: Support await expression in Parser. r=till
MozReview-Commit-ID: BspiXPRu6SR
2016-08-28 20:42:40 +09:00
Mariusz Kierski 5c5f21cb10 Bug 1185106 - Part 5.2: Support async function declaration in Reflect.parse. r=efaust,till
MozReview-Commit-ID: Gbc8dmANx1v
2016-08-28 20:42:40 +09:00
Mariusz Kierski f9e207ec4b Bug 1185106 - Part 5.1: Support async function declaration in Parser. r=efaust,jwalden,till
MozReview-Commit-ID: FhRG1vzpHxb
2016-08-28 20:42:40 +09:00
Tooru Fujisawa 75d14cbaf8 Bug 1185106 - Part 4: Add AutoAwaitIsKeyword class to set TokenStream.awaitIsKeyword. r=till
MozReview-Commit-ID: FeFWbzjrxYR
2016-08-28 20:42:39 +09:00
Mariusz Kierski b576773874 Bug 1185106 - Part 3: Add await token. r=efaust,till
MozReview-Commit-ID: 7O4SayIM9f9
2016-08-28 20:42:39 +09:00
Mariusz Kierski 9dd768a3e2 Bug 1185106 - Part 2: Add FunctionAsyncKind parameter to Parser methods that receives GeneratorKind. r=efaust,till
MozReview-Commit-ID: D1e6mpR2Ftz
2016-08-28 20:42:39 +09:00
Mariusz Kierski ae79a1ae1c Bug 1185106 - Part 1: Add AsyncFunction flag in FunctionBox, JSScript, and LazyScript. r=efaust,till
MozReview-Commit-ID: 6nOsJO3doV9
2016-08-28 20:42:39 +09:00
Mariusz Kierski 8f8d409007 Bug 1185106 - Part 0.1: Refactor JSOP_DEFFUN. r=efaust,jandem,till,h4writer
MozReview-Commit-ID: 8XpAiHEzWVm
2016-07-17 10:22:33 +09:00
Tooru Fujisawa 762a175cfd Bug 1313764 - Unlock mutex before calling JS_ReportErrorNumberASCII in js::FutexRuntime::wait. r=lth 2016-10-31 00:59:13 +09:00
Tom Schuster 04c4beaa73 Bug 1313914 - ObjectDefineProperties should throw for non-callable accessors. r=arai 2016-10-30 15:57:09 +01:00
Tom Schuster 5bdbfd162a Bug 1130988 - Add SharedArrayBuffer to JSXray. r=bz 2016-10-29 20:11:42 +02:00
Tom Schuster 687415abc6 Bug 1130988 - Change SharedArrayBuffer to use ClassSpec. r=bz 2016-10-29 20:09:45 +02:00
Tom Schuster 1c5b8e0d29 Bug 1130988 - Actually support creating TypedArrays with Xray SharedArrayBuffer. r=bz 2016-10-29 20:09:45 +02:00
Till Schneidereit 5b99f7fd80 Bug 1313049 - Port Promise-related functions from self-hosted JS to C++. r=arai, f=bz
MozReview-Commit-ID: 1LIfYUXCtCy
2016-10-29 15:16:45 +02:00
Wes Kocher b3a0b0ef15 Backed out 2 changesets (bug 1313049) for various promise-related failures a=backout CLOSED TREE
Backed out changeset 8c08e1aca9ea (bug 1313049)
Backed out changeset 72764ba31b81 (bug 1313049)
2016-10-28 16:15:11 -07:00
Till Schneidereit 80208b9279 Bug 1313049 - Follow-up to fix bustage on 32bit, responsible for a CLOSED TREE. r=me
MozReview-Commit-ID: DNNL3N2NTu3
2016-10-29 00:45:25 +02:00
Till Schneidereit 2d38e72626 Bug 1313049 - Port Promise-related functions from self-hosted JS to C++. r=arai, f=bz
MozReview-Commit-ID: 1LIfYUXCtCy
2016-10-29 00:11:56 +02:00
Hannes Verschore 3533330972 Bug 1300550 - IonMonkey - Don't overflow BufferOffsets, r=sstangl 2016-10-28 21:44:40 +02:00
Hannes Verschore c8f0653ac2 Bug 1281759 - Try to work around mysterious AMD crashes (take 2). r=jandem 2016-10-28 21:44:39 +02:00
André Bargull 04b5843082 Bug 837961 - Part 2: Implement timeZone support for Intl.DateTimeFormat. r=Waldo 2016-10-06 22:37:20 -07:00
Tooru Fujisawa 1cabfda6d8 Bug 1311088 - Part 3: Do not check NaN in NumberValue(uint32_t i). r=jwalden 2016-10-29 01:47:31 +09:00
Tooru Fujisawa 183537abe4 Bug 1311088 - Part 2: Add JS::IsCanonicalized and remove JS::Value::setDoubleNoCheck. r=jwalden 2016-10-29 01:47:31 +09:00
Tooru Fujisawa 57db30aa76 Bug 1311088 - Part 1: Add mozilla::SpecificNaNBits and JS::detail::CanonicalizedNaNBits. r=jwalden 2016-10-29 01:47:30 +09:00
Tooru Fujisawa 10be1943f2 Bug 1312488 - Part 2: Add a testcase for ConvertElementsToDouble. r=jwalden 2016-10-29 01:47:30 +09:00
Luke Wagner 0afb40091b Bug 1312817 - Handle wrappers in JS::WasmModule APIs, enable {window,iframe}.postMessage() (r=bbouvier)
MozReview-Commit-ID: 3byAlv3KBMm

--HG--
extra : rebase_source : f65ee9cde6df8e9b23391b2837f6af2d6e6abb06
2016-10-28 08:32:16 -05:00
Benjamin Bouvier dc61bfd1fc Bug 1313024: Raise segments errors at wasm instanciation, not compilation; r=luke
MozReview-Commit-ID: bpA9RNMtOY

--HG--
extra : rebase_source : c3e676ca747b9b7b7c1cf18eb0cf3543e98a4c23
extra : histedit_source : c875e7a605dd18bdb6d7ac0aca474d2df4a8f1c3
2016-10-27 20:08:20 +02:00
Benjamin Bouvier 7505c2ae46 Bug 1313024: Generalize stack guard page touching in subFromStackPtr; r=jandem
MozReview-Commit-ID: 4MZ5xyPimIv

--HG--
extra : rebase_source : ac2e24c9745d59f664ff486a18380c3169cee3ab
extra : histedit_source : 4264c8322affacfe8933e975ecd69b9c2d375a59
2016-10-27 18:45:48 +02:00
Benjamin Bouvier 17414360ab Bug 1313024: Implement assert_soft_invalid in the wast interpreter; r=luke
MozReview-Commit-ID: 6P8lfjzxUSd

--HG--
extra : rebase_source : d32588c65f69ada094be112b93e6fa7fe3ca8337
extra : histedit_source : 8eb589e2c91d4ce7e594810ebc04f720edeab791
2016-10-26 18:42:25 +02:00
Benjamin Bouvier b1a0a1cb81 Bug 1313024: Allow data sections to be displayed on several lines; r=luke
MozReview-Commit-ID: 2gBp7UAM4fF

--HG--
extra : rebase_source : 1f506c9d8f693396f000d38091055fe0a30ff9b6
extra : histedit_source : 20a88b42a8af3a93c2c8770e4bd48117156316b0
2016-10-26 16:44:47 +02:00
Benjamin Bouvier 9af34d5468 Bug 1313024: Allow table/memory references in wast and simplify AstRef; r=luke
MozReview-Commit-ID: H9fWARnb0je

--HG--
extra : rebase_source : 89834d3c4a004d6fe7485673cd080123e9b0e13f
extra : histedit_source : 671273da48af9dc9614fa18c9b89d73a6506a8bb
2016-10-25 17:02:52 +02:00
Benjamin Bouvier f80bec8600 Bug 1313024: Reimport tests; r=luke
MozReview-Commit-ID: 2CrWwREhHwT

--HG--
extra : rebase_source : 16930ccb9b2d795dda035fa566eb169b55f5432b
extra : histedit_source : 438ceec321fbcc8c3b6e3ae7759a2f9eeb1a565f
2016-10-28 14:42:52 +02:00
Benjamin Bouvier 153a60d4ef Bug 1313024: Update import_tests.sh to the latest spec repository; r=luke
MozReview-Commit-ID: Aw8Rmy2FUWE

--HG--
extra : rebase_source : 766066242378e602400254d6be1e71ce8a49d82d
extra : histedit_source : 5746907acaed55d99641af4ba024c87e42993908
2016-10-24 18:48:47 +02:00
Benjamin Bouvier 286b39d398 Bug 1313024: Enable a few more spec tests; r=luke
MozReview-Commit-ID: 37OzreumhIw

--HG--
extra : rebase_source : f23f2585b85c156578b3bac63388814cb2eb7648
2016-10-25 19:29:40 +02:00
Benjamin Bouvier 7eac9c923f Bug 1310149: Tighten the check in DecodeLimits; r=luke
MozReview-Commit-ID: 7uvBAqIY53I

--HG--
extra : rebase_source : 2ae3f8a9393746e9babb1cb77c7d0fcacf7d8fa0
2016-10-26 12:09:28 +02:00
Nicolas B. Pierron 0abfdbf1a9 Bug 1303399 part 3 - Remove resume points from the basic block list when we OOM. r=h4writer 2016-10-28 12:45:32 +00:00
Nicolas B. Pierron a5bfcd72b3 Bug 1303399 part 2 - IonMonkey: Fallback when we fail to inline an uninlinable function. r=h4writer 2016-10-28 12:45:31 +00:00
Nicolas B. Pierron dafd0bfc98 Bug 1303399 part 1 - Use InliningStatus as return value of inlineScriptedCall. r=h4writer 2016-10-28 12:45:31 +00:00
Jan de Mooij 865eb293ab Bug 1312003 - Add some missing return value checks to JSAPI tests. r=arai
--HG--
extra : rebase_source : f54e7b35e1edb9384846e80d8f41f628dc9b79db
2016-10-28 12:09:24 +02:00
Jan de Mooij 1e930b3c1b Bug 1313064 - Fix SETELEM check in SetObjectElementOperation to check for the strict version too. r=anba
--HG--
extra : rebase_source : 78822cb39c302e4487c5200e0829a4ac30b187f0
2016-10-28 12:08:29 +02:00
Jan de Mooij c4f5db07fd Bug 1313036 - Remove unnecessary LoadUnboxedExpando. r=h4writer
--HG--
extra : rebase_source : df885cc5c0ec07dd7a8526d18e322f896b831196
2016-10-28 12:07:43 +02:00
Lars T Hansen 813cad2c81 Bug 1313607 - cacheFlush for ARM64 simulator. r=jandem
--HG--
extra : rebase_source : ae85575d1e399de8c67bdd989ae06d9e162d827d
2016-10-28 10:53:05 +02:00
Lars T Hansen 4c2510a21c Bug 1313043 - wasm baseline: remove many ifdefs. r=h4writer
--HG--
extra : rebase_source : d2263306972a01beaa177f2b2a2234663bca62d2
2016-10-28 09:15:28 +02:00
Lars T Hansen b4610d54d5 Bug 1313043 - Create arm64 stubs for missing MacroAssembler instructions. r=bbouvier
--HG--
extra : rebase_source : acc0c5c02c09345c3369ab613a16e9a06954d9a1
2016-10-28 09:44:17 +02:00
Phil Ringnalda b6eec64324 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Phil Ringnalda 445097654c Merge m-i to m-c, a=merge
MozReview-Commit-ID: 56Hspl8LZMY
2016-10-27 19:21:47 -07:00
Emilio Cobos Álvarez d61989e28e Bug 1304638 - Remove redundant call to offsetForStackOperand. r=nbp
No state changes between the first and second call.

MozReview-Commit-ID: 38FooLQnn9b
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-10-27 17:40:12 +02:00
Emilio Cobos Álvarez 920d7cb8fb Bug 1304638 - Return early from sorting if the array is single-element or empty. r=nbp
A single-element array is always sorted, by definition.

MozReview-Commit-ID: 9GXFGqomM9x
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-10-27 17:40:10 +02:00
Emilio Cobos Álvarez de93748096 Bug 1304638 - Don't return "(intermediate value)" while decompiling SETELEM/STRICTSETELEM. r=nbp
This caused us to go to the fallback, and call `ValueToSource` to set the
message exception[1].

[1]: http://searchfox.org/mozilla-central/rev/c635b8c61d648bb8a0317c19f8905b3be8132a8a/js/src/jsopcode.cpp#1536

MozReview-Commit-ID: J7tfxoDnUUr
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-10-27 17:40:09 +02:00
Carsten "Tomcat" Book a15991721b Merge mozilla-central to autoland 2016-10-27 16:50:00 +02:00
Tom Schuster f0ae9ea06d Bug 1291212 - Ship the exponentiation operator. r=till 2016-10-27 16:31:16 +02:00
Jon Coppeard 435bdeeaec Bug 1310147 - Remove AutoAssertNoAlloc and replace with AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Jon Coppeard 4f90a79a0c Bug 1310147 - Rename AutoAssertOnGC to AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Jon Coppeard 15cc9318be Bug 927318 - Make native functions singletons by default but make promise resolving functions generic objects r=jandem 2016-10-27 11:03:53 +01:00
Emilio Cobos Álvarez 8df1cf609c Bug 1312485: Properly sparsify frozen objects. r=jandem
MozReview-Commit-ID: CqGZuZqTBfa

--HG--
extra : rebase_source : 3a628d052f10ce1e7f7cf218a5a4c89bd398315e
2016-10-25 11:38:05 +02:00
Lars T Hansen 225c1d2972 Bug 1313114 - order bytecode consumption and deadCode_ skipping properly. r=bbouvier
--HG--
extra : rebase_source : 0dd3359535179f741d017f04f65eb05e4706f5c3
extra : amend_source : 2af202a331d78101bfb35b3cdc968f18cf391d0f
2016-10-26 19:10:42 +02:00
Emilio Cobos Álvarez 9704f81abe Bug 1312485: array: Don't optimize for dense storage if the elements are frozen. r=nbp
We're going to throw right away in most cases anyway.

MozReview-Commit-ID: 7YxAybEP1UQ

--HG--
extra : rebase_source : 984473b1f57d88e30d871147403422a5f9c6e6e8
2016-10-24 22:37:48 +02:00
Johannes Schulte b7ccc22970 Bug 1312620 - Add IsPositiveZero function to mfbt and use it to replace MPhi by MNaNToZero iff c is +0.0. r=nbp, r=waldo
--HG--
extra : rebase_source : 7adefc3370c081e17b5e0b090a008e0de0507bb9
2016-10-26 17:47:42 +02:00
Tooru Fujisawa 254dc367d8 Bug 1312488 - Assign whole layout instead of layout.asDouble in JS::Value::setDoubleNoCheck. r=jandem 2016-10-27 22:57:40 +09:00
André Bargull 6ff23f6f77 Bug 1312411: Add integer specialization of TypedArrayCompare. r=evilpie
--HG--
extra : rebase_source : fcfe331fc5d4bc89a57e5867bde33b2f6a52f267
2016-10-24 09:46:19 -07:00
Luke Wagner e277d8fb7f Bug 1313224 - Baldr: throw RangeError on failure to grow() (r=bbouvier)
MozReview-Commit-ID: EUkWjw6quA9

--HG--
extra : rebase_source : 82a9292e96ec9a236075089a338e1ed4fb1e0c0e
2016-10-26 17:35:01 -05:00
Carsten "Tomcat" Book 7cac0d74b9 Backed out changeset 2d72443b3ab6 (bug 1313043) for arm bustage 2016-10-27 14:38:22 +02:00
Carsten "Tomcat" Book 1fb3eddb88 Backed out changeset 4be440083184 (bug 1313043) 2016-10-27 14:38:10 +02:00
Lars T Hansen b5fe717ac9 Bug 1313043 - create arm64 stubs for missing MacroAssembler instructions. r=me
--HG--
extra : rebase_source : f67c4232496cb3fa530b5fb59780398d4172f659
2016-10-27 14:18:05 +02:00
Lars T Hansen 2f9887ecf1 Bug 1313043 - wasm baseline: remove many ifdefs. r=h4writer
--HG--
extra : source : d4be205d29aac7c0faa032a608c1e41a98806dc5
extra : amend_source : 5aae4e3e19f385654b0546d935b5d19555202c5f
2016-10-26 14:21:59 +02:00
Emilio Cobos Álvarez 97bfc36234 Bug 1312948: Regression test. r=nbp
MozReview-Commit-ID: 3r4nNCflwYw
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-10-26 19:52:12 +02:00
Emilio Cobos Álvarez 3cc8730024 Bug 1312948: Put assertions in place to know we're not mutating the length when the array is frozen. r=nbp
MozReview-Commit-ID: 84X0Sgm7pGe
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-10-26 19:52:06 +02:00
Emilio Cobos Álvarez 7a8a1e5e91 Bug 1312948: Revert "Bug 1310744: A frozen element has no writable length. r=nbp". r=nbp
These track two different concepts, and even though they're related, we
shouldn't stick them together this way.

MozReview-Commit-ID: EyM5MgrisX4
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-10-26 19:51:55 +02:00
Dan Gohman 66abfb6994 Bug 1306478 - BaldrMonkey: support arity-insensitive syntax; r=luke
MozReview-Commit-ID: Euf5jOK4OX4

--HG--
extra : rebase_source : 6e5f6432e32a73122fc76f9d4bb4bf9e793a96b3
2016-10-24 18:33:07 +02:00
Chris Manchester 95f73bebb9 Bug 1305145 - Make libs and flags set by pkg_check_modules available to the caller. r=glandium
MozReview-Commit-ID: 7uZheAOXKwE
2016-10-14 11:06:30 -07:00
Jan Varga 828a986c64 Bug 1311466 - Part 7: Try to unwrap WebAssembly modules passed to WasmExtractCode; r=luke 2016-10-25 21:19:02 +02:00
Luke Wagner 817b9ee6c5 Bug 1311994 - Baldr: remove WebAssembly.experimentalVersion (r=bbouvier)
MozReview-Commit-ID: GzAz6LYxBYS

--HG--
extra : rebase_source : bc1c3cb22a7c2d70681c8cc7e9c42cb77c127ac2
2016-10-25 12:30:21 -05:00
Luke Wagner 3c68877577 Bug 1311994 - Baldr: remove WebAssembly.validate warning (r=bbouvier)
MozReview-Commit-ID: 5LLDIhjjBep

--HG--
extra : rebase_source : 02acf313019fb0e446e252554f5ce3597d646370
2016-10-25 12:29:59 -05:00
David Major 82e5a56a88 Bug 1311211: Disable -Gw optimization when building for ASan on Windows. r=glandium 2016-10-25 10:04:35 -05:00
Sander Mathijs van Veen 0a2bb26222 Bug 1310418 - Fix Assertion failure: this->is<MIRType>(), at js/src/jit/MIR.h:891 r=nbp 2016-10-25 16:52:53 +02:00
André Bargull 3386f0c48a Bug 1232266: Support iterables in TypedArray constructors. r=jandem 2016-10-24 08:53:43 -07:00
Lars T Hansen 20525d511b Bug 1277011 - Wasm baseline: ARM support. r=h4writer
--HG--
extra : rebase_source : 62f2cc9eed8f24a53229be86a16e484c6a1c6ff3
2016-10-20 11:23:22 +02:00
Lars T Hansen b839860e14 Bug 1311433 - Wasm baseline: clean up function calling code. r=h4writer
--HG--
extra : rebase_source : 54d1bf7d672605a26e37f35d2f0def3536c2074a
2016-10-25 15:31:13 +02:00
Lars T Hansen 5666e2e102 Bug 1302036 - Make structured clone accept argument that controls serialization of some data types. r=sfink
--HG--
extra : rebase_source : c082dcc82adccba47a7bd0e18fb59d87b072ae3d
2016-10-24 14:22:47 +02:00
Lars T Hansen 0439bd00fe Bug 1308996 - make simulated segfault fixups conditional. r=bbouvier
--HG--
extra : rebase_source : e383ef4ee33ebf20bedc7673a24581b5cd0b379e
2016-10-24 16:50:44 +02:00
Tooru Fujisawa 135a04b69c Bug 1263340 - Part 9: Add optimizable path for RegExpMatch with global flag. r=till 2016-10-25 19:09:19 +09:00
Tooru Fujisawa 9e18e40277 Bug 1263340 - Part 8: Separate RegExpSearch slow path. r=till 2016-10-25 19:09:13 +09:00
Tooru Fujisawa a646dc1f9b Bug 1263340 - Part 7: Use internal slot for flags in RegExpReplace optimizable cases. r=till 2016-10-25 19:09:13 +09:00
Tooru Fujisawa 103aa2e3b1 Bug 1263340 - Part 6: Use flags slot value instead of RegExp.prototype.flags in RegExpSplit. r=till 2016-10-25 19:09:13 +09:00
Tooru Fujisawa 7ea145f5c4 Bug 1263340 - Part 5: Check RegExp.prototype.flags getter in RegExpPrototypeOptimizable. r=till 2016-10-25 19:09:13 +09:00
Tooru Fujisawa 69d8552b2b Bug 1290414 - Check RegExp.prototype.{ignoreCase,multiline} getters in RegExpPrototypeOptimizable. r=till 2016-10-25 19:08:33 +09:00
Benjamin Bouvier 851247a762 Bug 1312395: Merge InterModule/PassTLS into a single enum; r=luke
MozReview-Commit-ID: 6ZrR3KYPPs6

--HG--
extra : rebase_source : f346e38c94bef021c9db96cdb0576655423991a2
2016-10-24 14:14:13 +02:00
Benjamin Bouvier 9c6ff51929 Bug 1312483: Check that functions assigned to tables are wasm functions earlier before assigning them; r=luke
MozReview-Commit-ID: HNNlvgOxrbG

--HG--
extra : rebase_source : e7b0c313459fe777918247ece8b7e810bc054f10
2016-10-24 18:02:19 +02:00
Benjamin Bouvier c507889e80 Bug 1312402: Simplify js:🐚:FileAsString; r=arai
MozReview-Commit-ID: Gs6Ep3SWbYA

--HG--
extra : rebase_source : ffc81e723ed31757a63c335b722a65b5d8b3d59a
2016-10-24 14:46:24 +02:00
Benjamin Bouvier ce65eb5f90 Bug 1310949: Add a useful message in case the binary-to-text implementation isn't correct; r=luke
MozReview-Commit-ID: 1XqLt2sNSBt

--HG--
extra : rebase_source : 2b77bf4f7c73b2e2eb1f5f3bbe382478a83289c5
2016-10-24 13:46:27 +02:00
Benjamin Bouvier c6d93f3a6a Bug 1310949: Render the Start section and reorder section rendering; r=luke
MozReview-Commit-ID: 1wudaQ2s3Bu

--HG--
extra : rebase_source : fe660284c552caafac7b2a1f422d7c80e215e1b4
2016-10-21 19:48:35 +02:00
Benjamin Bouvier 72356e9d78 Bug 1310949: Use wasmFullPass for even more tests; r=luke
MozReview-Commit-ID: 1FmHsS6R76Y

--HG--
extra : rebase_source : c1e258472cddd84a4682cd672576b80c938d121c
2016-10-20 18:59:37 +02:00
Benjamin Bouvier b87511701c Bug 1310949: Render table and elem sections; r=luke
MozReview-Commit-ID: Lm2YKBz9wsz

--HG--
extra : rebase_source : e07503aaab7943fb1242d0f1492c76a3e77f187c
2016-10-20 18:12:27 +02:00
Benjamin Bouvier d61d3482c4 Bug 1310949: Factor out DecodeMemorySection and properly render it; r=luke
MozReview-Commit-ID: D6WDtpzCXeX

--HG--
extra : rebase_source : 430c6ab76db1cff541f75bae7a02e4aa9a334096
2016-10-21 16:14:12 +02:00
Tom Schuster 13263ee62f Bug 1248865 - Some small changes to JSXray and tests. r=bz 2016-10-25 10:18:40 +02:00
Tom Schuster d3d6b4b949 Bug 1248865 - Change ArrayBuffer to use ClassSpec. r=bz 2016-10-25 10:18:40 +02:00
André Bargull c670f9e2f4 Bug 1293971: Don't wrap default comparator when sorting Float64 typed array. r=evilpie
--HG--
extra : rebase_source : da8b5ee8deddbde0180a720cc590520b80f84ba1
2016-10-24 08:46:34 -07:00
André Bargull f0f8ee029e Bug 1288456: Resolve the target's prototype earlier in Function.prototype.bind. r=till
--HG--
extra : rebase_source : b9374b1803d7ecedc6ddbbefb8637abdd78372ee
2016-10-24 08:49:41 -07:00
Heiher af0258e555 Bug 1312667 - IonMonkey: MIPS64: Fix build issues. r=arai
---
 js/src/jit/mips64/Assembler-mips64.cpp    | 2 +-
 js/src/jit/mips64/MacroAssembler-mips64.h | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
2016-10-25 15:35:58 +08:00
André Bargull 715b3ae986 Bug 1272784 - Part 2: Don't reparse functions with 'use strict' directives. r=arai 2016-10-24 11:28:28 -07:00
André Bargull c85d8c975f Bug 1272784 - Part 1: Disallow 'use strict' directive in function with non-simple parameters list. r=arai 2016-10-24 11:27:59 -07:00
Luke Wagner bb5274e9bf Bug 1311994 - Baldr: remove Wasm object (r=sunfish)
MozReview-Commit-ID: CkrYWLFoKAE

--HG--
extra : rebase_source : d36f8b0bcb80d0ab5add43594e286fc33411be43
2016-10-24 13:20:59 -05:00
Luke Wagner b615e9b281 Bug 1311994 - Baldr: add flags immediates to current_memory/grow_memory/call_indirect (r=sunfish)
MozReview-Commit-ID: 4qwtPliyesH

--HG--
extra : rebase_source : a853549266fb1c3c763b90680eb5637e1cc13cb5
2016-10-24 13:20:53 -05:00
Luke Wagner 440f0a594e Bug 1311994 - Baldr: update op codes to match 0xd (r=sunfish)
MozReview-Commit-ID: BIEiK8tiAFi

--HG--
extra : rebase_source : 5a0808b004a32dac52d135ea4ba81681ef2c501d
2016-10-24 13:14:30 -05:00
Luke Wagner 37c2676a61 Bug 1311994 - Baldr: update type codes to match 0xd (r=sunfish)
MozReview-Commit-ID: 7pCkgkiouDY

--HG--
extra : rebase_source : 8032194e65c7c91693795098ae3d865b563b8036
2016-10-24 13:10:32 -05:00
Tooru Fujisawa 0867e151d5 Bug 1290506 - Clone RegExp object at the top of RegExpGlobalReplaceOptFunc and RegExpGlobalReplaceOptElemBase to avoid the effect of RegExp#compile. r=till 2016-10-25 00:54:23 +09:00
Tooru Fujisawa 6ed0738dc1 Bug 1311633 - Add disRegExp testing function. r=till 2016-10-25 00:54:23 +09:00
Tooru Fujisawa bfe7fdd732 Bug 1279545 - Part 2: Add tests for RegExp parse tree. r=till 2016-10-25 00:54:22 +09:00
Tooru Fujisawa bbf362285f Bug 1279545 - Part 1: Add parseRegExp testing function. r=till 2016-10-25 00:54:22 +09:00
Carsten "Tomcat" Book d7fd96b2af Backed out changeset 8cb2020d0325 (bug 1308996) for arm failures 2016-10-24 16:49:02 +02:00
Lars T Hansen 11e5880d69 Bug 1308996 - make simulated segfault fixups conditional. r=bbouvier
--HG--
extra : rebase_source : f5ec8ef568abc32f8a3251c1b8448a7bf78c5c41
2016-10-10 20:30:06 +02:00
Benjamin Bouvier 21a8e4efd4 Bug 1310949: Fix non-unified build bustage; r=me
MozReview-Commit-ID: E8HEBmQqNO4

--HG--
extra : rebase_source : 806dcc5ef11a21382b20fadbe3604838a44addff
2016-10-24 13:15:44 +02:00
Hannes Verschore 8bce4d3904 Bug 1205073: IonMonkey - Take definition type in consideration when splitting before first register use, r=bhackett 2016-10-24 13:08:11 +02:00
Hannes Verschore 6572f13e21 Bug 1307354: TraceLogging - Make sure the payload is marked as used during creation, r=bbouvier 2016-10-24 13:08:08 +02:00
Benjamin Bouvier 7350100679 Bug 1310949: Render Data section; r=luke
MozReview-Commit-ID: ETfxSaLZPBc

--HG--
extra : rebase_source : c050b686f9d6cd61f265c4444d745523082a98dd
2016-10-20 11:06:12 +02:00
Benjamin Bouvier 7173e505bd Bug 1310949: Factor out DecodeDataSection; r=luke
MozReview-Commit-ID: 2M84eKv8sIj

--HG--
extra : rebase_source : 01577305b499cb45d59913585bb58c85a86bcf9a
2016-10-20 12:48:44 +02:00
Benjamin Bouvier eb51521368 Bug 1310949: Code style tweaks; r=luke
MozReview-Commit-ID: EsMJrGDPdKM

--HG--
extra : rebase_source : 2f1aed7e57ec9c4f11a76de2456735c09aa3d225
2016-10-19 18:00:59 +02:00
Benjamin Bouvier 9f17700f0f Bug 1310949: Print the global section in the linear format; r=luke
MozReview-Commit-ID: J2ZuxfOtqd2

--HG--
extra : rebase_source : d63d0acea4db6f5a4377f15269f0445ce4096cd3
2016-10-19 18:08:29 +02:00
Benjamin Bouvier 28c2c9e157 Bug 1310949: Tidy up rendering and use wasmFullPass more; r=luke
MozReview-Commit-ID: JPzhMhE50gK

--HG--
extra : rebase_source : 81ba6590e93a58c8841ea787ceb2714b15d78e93
2016-10-19 17:08:49 +02:00
Benjamin Bouvier 7d330e2dd1 Bug 1310949: Tighten Global parsing/decoding; r=luke
MozReview-Commit-ID: 4AVFOFWlgub

--HG--
rename : js/src/asmjs/WasmBinary.cpp => js/src/asmjs/WasmBinaryFormat.cpp
extra : rebase_source : ac85ca85277beb0fb07f18fb3676da30d11b49e2
2016-10-21 19:10:00 +02:00
Benjamin Bouvier a738b37621 Bug 1310949: Add support for i64 and additional args to wasmFullPass; r=luke
MozReview-Commit-ID: 5mMowaaTwt4

--HG--
extra : rebase_source : e6c2112c3c052192475bb647087100a6e94cc8cf
2016-10-19 16:35:13 +02:00
Michelangelo De Simone 8641036d15 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN

--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Ryan VanderMeulen a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Luke Wagner 69f5d39171 Bug 1276029 - Baldr: remove accidental MOZ_ALWAYS_TRUE (r=me)
MozReview-Commit-ID: KqN2VVyptr0

--HG--
extra : rebase_source : e036db7bf7d0e154ef89d995dc56cab599e24a8e
2016-10-22 12:34:50 -05:00
Tooru Fujisawa 82f68e8a08 Bug 1243617 - Part 2: Remove JS_VALUE_IS_CONSTEXPR. r=jwalden 2016-10-23 01:46:36 +09:00
Tooru Fujisawa 19c4b08136 Bug 1243617 - Part 1: Add constructor for JS::Value::layout. r=jwalden 2016-10-23 01:46:36 +09:00
Tooru Fujisawa e9f44fd672 Bug 1312181 - Add this-> to is<T>() in MOZ_ASSERT in BytecodeEmitter::NestableControl::as() as a workaround for compiler bug. r=ehoogeveen 2016-10-23 01:46:35 +09:00
Tooru Fujisawa 2496019988 Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley 2016-10-19 02:10:33 +09:00
Tooru Fujisawa 025ed2f4bf Bug 1283710 - Part 8: Do not duplicate zero arguments error message. r=jwalden 2016-10-19 02:10:33 +09:00
Emilio Cobos Álvarez 26c4807cbe Bug 1304955: Call site objects now store their elements as dense after bug 1283334. r=jandem
MozReview-Commit-ID: HYvtvJLGbpT

--HG--
extra : rebase_source : 7c604dd5b4164e934b5d8d959ecd7ab0ebcf371a
2016-10-20 02:02:28 +02:00
Ryan VanderMeulen 75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Ryan VanderMeulen 5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
David Major 143b6829de Bug 1311825: Pass by reference in fromObjectVariant and related methods. r=billm
MozReview-Commit-ID: GIhK1zRMsYb

--HG--
extra : rebase_source : 7da47ec2ea86e73c9d00cd4e6c1e5c830a54d7e1
2016-10-20 15:37:26 -05:00
Tom Tromey a0c9c90951 Bug 553032 - use PRIuSIZE rather than %z in js; r=evilpie
MozReview-Commit-ID: JqiWVZZOY7h

--HG--
extra : rebase_source : 4992dff9eb610b448c81af4c203e31e2d49cf061
2016-10-14 07:59:03 -06:00
Tom Tromey d328235139 Bug 553032 - add unit tests for JS_smprintf; r=evilpie
MozReview-Commit-ID: 4WDp1k839Si

--HG--
extra : rebase_source : 3599d9fdb3644714d3ca23452fb44c68747a03ef
2016-10-13 14:39:09 -06:00
Tom Tromey 556be8eaa0 Bug 553032 - change sprintf_append to be a varargs function; r=evilpie
MozReview-Commit-ID: I5aECiK5Coz

--HG--
extra : rebase_source : cd359e879f7b8c01cc4350368415affd6cb83e47
2016-10-12 12:10:40 -06:00
Tom Tromey 0dc689acdd Bug 553032 - use MOZ_FORMAT_PRINTF in js; r=evilpie
MozReview-Commit-ID: DD3DJRkOxmC

--HG--
extra : rebase_source : 61cdf0da1a82b626abc79209ee41e43c3bb152ca
2016-10-11 12:44:40 -06:00
Tom Tromey 2d0739c63d Bug 553032 - printf fix in MStoreSlot::printOpcode; r=h4writer
MozReview-Commit-ID: AebpsBc43qE

--HG--
extra : rebase_source : a39d5e8cb4d9a645165e3f3665e7adc068c105f7
2016-10-20 08:38:45 -06:00
Tom Tromey f36057ea28 Bug 553032 - use MOZ_FORMAT_PRINTF, not explicit attribute; r=froydnj
MozReview-Commit-ID: FgGin8L5oTp

--HG--
extra : rebase_source : 67f6d7ed8fc56745c66bd339013d1e9b753ec780
2016-10-12 10:03:53 -06:00
Tooru Fujisawa 1643cbe87d Bug 1283710 - Part 7: Use UTF-8 in js::ExpandErrorArgumentsVA and AutoMessageArgs. r=jwalden 2016-10-01 16:23:25 +09:00
Carsten "Tomcat" Book bbfd099b2d Merge mozilla-central to autoland 2016-10-20 17:27:57 +02:00
Emilio Cobos Álvarez 154fc5aceb Bug 1310744: Revert "Bug 1300193: Make existing assertion that no longer holds more flexible. r=jandem,nbp", but keep the test.
This now holds, as it should. The test is superseded by the one in this bug, but
it's harmless.

MozReview-Commit-ID: G7HHZLIIr6Y

--HG--
extra : rebase_source : afb8a1fd07ccd200f15bdace325d43e2ce368bbe
2016-10-19 21:39:08 +02:00
Emilio Cobos Álvarez 6af8c7e8f2 Bug 1310744: Regression test. r=nbp
MozReview-Commit-ID: 9R2JoooOtkc

--HG--
extra : rebase_source : 6936ddb01a70fe5b35c71013bb9c0106633dd759
2016-10-19 21:21:40 +02:00
Emilio Cobos Álvarez 6ee5104601 Bug 1310744: Add missing assertions in NativeObject.h r=nbp
MozReview-Commit-ID: BIG3aqxp0q4

--HG--
extra : rebase_source : 655d7d2298a62e305c03f61fd99624300c47dcfb
2016-10-19 19:23:33 +02:00
Emilio Cobos Álvarez 288528b0c3 Bug 1310744: Don't enter in the fast path for DeleteArrayElement for frozen arrays. r=nbp
MozReview-Commit-ID: 6NuJICFchMr

--HG--
extra : rebase_source : af573290d89bc82a5c6e62a491fe29999aa4e3fb
2016-10-19 21:04:51 +02:00
Emilio Cobos Álvarez de44eaf3df Bug 1310744: Make ArrayReverseDenseKernel frozenness-aware. r=nbp
MozReview-Commit-ID: qBzLK9JMV7

--HG--
extra : rebase_source : 22425b89be0e739b1062e8de202f6c8521e8dae0
2016-10-19 20:37:49 +02:00
Emilio Cobos Álvarez e6d38ed512 Bug 1310744: Bail out from SetOrExtendBoxedOrUnboxedDenseElements if the elements are frozen. r=nbp
MozReview-Commit-ID: 9INusCjjn9K

--HG--
extra : rebase_source : 1d05ed737cf8d37b3a4f7d71f95492b41f0b8f87
2016-10-19 20:34:46 +02:00
Emilio Cobos Álvarez 04d7209dc0 Bug 1310744: Allow MoveBoxedOrUnboxedDenseElements to bail out if the elements are frozen. r=nbp
MozReview-Commit-ID: EXhw8FkcNnu

--HG--
extra : rebase_source : 157628abbb16c618e9f451381510813b5535fb00
2016-10-19 20:34:38 +02:00
Emilio Cobos Álvarez 6580a4199c Bug 1310744: A frozen element has no writable length. r=nbp
I'm not completely sure this patch is necessary, but seemed logic to me.

MozReview-Commit-ID: Ita4HpkzDUh

--HG--
extra : rebase_source : 82ebc105ff757b40bd9fdb5fb0b3b506fdb16a91
2016-10-19 20:30:51 +02:00
Emilio Cobos Álvarez 33415848ce Bug 1310744: Add NativeObject::denseElementsAreFrozen. r=nbp
We are going to use this in a few places now, so make it public.

MozReview-Commit-ID: JvzZkIfWxAj

--HG--
extra : rebase_source : 73677097763908fa392c3e24e14f88d004987250
2016-10-19 20:31:56 +02:00
André Bargull f3b62fc533 Bug 1296273: Remove no longer used native implementation of TypedArray methods. r=lth 2016-10-18 11:42:00 -07:00
André Bargull 8e53c5e480 Bug 903391: Evaluate both arguments in String.prototype.lastIndexOf. r=till 2016-10-18 11:44:11 -07:00
André Bargull 2c4a554595 Bug 1289392: Check for detached ArrayBuffers with inline or cross-compartment in TypedArray.prototype.sort. r=evilpie 2016-10-18 11:45:01 -07:00
Hannes Verschore 463202b43f Bug 1308802: IonMonkey - Folding ToInt32 shouldn't happen for negative zero, r=nbp 2016-10-19 11:50:01 +02:00
Hannes Verschore 0b9606f05d Bug 1304640: IonMonkey - Comparing two regexp makes not being cloned observable, r=arai 2016-10-19 11:50:01 +02:00
Hannes Verschore 315aac5161 Bug 1304641 - TraceLogger: Also throw compartment mismatch error when running in the jits, r=bbouvier 2016-10-19 11:50:01 +02:00
Hannes Verschore 65959031cb Bug 1304643 - IonMonkey: Only mark as not aliasing if object owns property, r=jandem 2016-10-19 11:50:01 +02:00
Lars T Hansen 2a35e8fb46 Bug 1311287 - free register after setglobal. r=bbouvier
--HG--
extra : amend_source : 9993cda75f10318a281231e5245c14f9ecbe1ab3
2016-10-19 11:23:12 +02:00
Lars T Hansen 12e154dc18 Bug 1310158 - clean up return value handling. r=h4writer
--HG--
extra : rebase_source : 04dca392d64d061e2d451f98abf1a963147d051e
extra : histedit_source : 015e06671e6cbd9dbb4435b58d0d89100e528c1a
2016-10-14 15:18:06 +02:00
Lars T Hansen fa87932371 Bug 1310158 - remove compiler dependency. r=h4writer
--HG--
extra : rebase_source : ed77fae33a000f8d0e100eb8c287627533a00080
extra : histedit_source : cb30f0f18c1190ae2a90609d3962ee3b200accb9
2016-10-19 11:06:57 +02:00
André Bargull b847ec2cfd Bug 1041341 - Part 2: Report a SyntaxError for destructuring rest with trailing comma. r=arai
--HG--
extra : rebase_source : 686eb8d6fb58998255365d53bdfc71b4d5ec50a9
2016-10-10 13:33:19 -07:00
André Bargull b1c8fefe38 Bug 1041341 - Part 1: Add support to store a pending destructuring error in PossibleError. r=arai, r=Waldo
--HG--
extra : rebase_source : 3c060093818552029ec4a848facb27fb23e5e1a0
2016-10-18 17:27:47 -07:00
Wes Kocher 71f24926ed Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Bill McCloskey cb1d72742e Bug 1308039 - Add cx arg to AutoSuppressGCAnalysis (r=sfink) 2016-10-18 16:15:43 -07:00
André Bargull fc4b28ccf3 Bug 1310935 - Add missing check for SharedArrayBuffer availability. r=evilpie 2016-10-18 02:21:56 -07:00
Tooru Fujisawa f72bca21ae Bug 1283710 - followup: Free owned linebuf in JSErrorReport. r=jwalden CLOSED TREE 2016-10-19 03:22:07 +09:00
Steve Fink e4e517faa7 Bug 1310819 - Fix developer runs of hazard analysis, r=fitzgen
--HG--
extra : rebase_source : 5aab1ed27703342fbabeadcde258f94a497de5a5
2016-10-17 14:04:38 -07:00
Tooru Fujisawa fe381e93f3 Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley 2016-10-19 02:10:33 +09:00
Tooru Fujisawa 5c00af639e Bug 1283710 - Part 8: Do not duplicate zero arguments error message. r=jwalden 2016-10-19 02:10:33 +09:00
Tooru Fujisawa 77ecb9e276 Bug 1283710 - Part 7: Use UTF-8 in js::ExpandErrorArgumentsVA and AutoMessageArgs. r=jwalden 2016-10-01 16:23:25 +09:00
Tooru Fujisawa 331fcf2d25 Bug 1283710 - Part 6: Make CompileError subclass of JSErrorReport. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa e013a67ed2 Bug 1283710 - Part 6: Make CompileError subclass of JSErrorReport. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa 6f9d4ca127 Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa 8d69b4f507 Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa fa2f08828a Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa 84473915d8 Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa 300a2a4f41 Bug 1283710 - Part 3: Release JSErrorReport.linebuf_ in destructor if own. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa 84b8403a67 Bug 1283710 - Part 3: Release JSErrorReport.linebuf_ in destructor if own. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa 23d868fa20 Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden 2016-08-14 20:39:30 +09:00
Tooru Fujisawa 81c1a988e3 Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden 2016-08-14 20:39:30 +09:00
Tooru Fujisawa 0596fa94f3 Bug 1283710 - Part 1: Reorder JSErrorReport members. r=jwalden 2016-08-14 20:39:30 +09:00
Tooru Fujisawa 48f582bcf4 Bug 1311319 - Part 2: Use Latin1 variant of error reporting if OS error is not ASCII. r=jwalden 2016-10-23 01:46:34 +09:00
Tooru Fujisawa a65b1a21f0 Bug 1311319 - Part 1: Do not call PR_GetErrorText() when PR_GetErrorTextLength() is 0. r=sfink 2016-10-23 01:46:34 +09:00
Lars T Hansen f0a8b9eb69 Bug 1312162 - insert a cast. r=me 2016-10-22 09:47:47 +02:00
Lars T Hansen 0335c174a3 Bug 1308402 - pop the CPU stack properly after new-style call-indirect. r=bbouvier
--HG--
extra : rebase_source : 5ba74da6a1d55694f295097cc35e2453544062c1
extra : histedit_source : 6a0458099207799937be471a05ad6f495afcccb0
2016-10-21 14:25:17 +02:00
Lars T Hansen 19841dc8c5 Bug 1311403 - remove overly constraining NaN-preservation tests. r=bbouvier
--HG--
extra : rebase_source : eb4d1b6d4f44f1e24827c6d260293a6595dc3b8b
extra : histedit_source : 898510c1affff2c4093bdd3dcc31a5d0c0e33402
2016-10-19 16:50:25 +02:00
Luke Wagner c0f5fd20d6 Bug 1276029 - Baldr: add JS API to support structured clone of wasm objects (r=bbouvier)
MozReview-Commit-ID: B2coukYF6mG
2016-10-21 22:29:52 -05:00