Commit Graph

57563 Commits

Author SHA1 Message Date
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