Andrew McCreight
09b6a5dd3c
Bug 1290587, part 2 - Make XPCNativeSetKey hashing a method. r=mrbkap
...
MozReview-Commit-ID: 67XbmFN4ThW
--HG--
extra : rebase_source : 812ff5e6926e49821e1949bec54fd554efc40f50
2016-07-29 10:42:05 -07:00
Andrew McCreight
5accbb517d
Bug 1290587, part 1 - Fix style for XPCNativeSetKey. r=mrbkap
...
MozReview-Commit-ID: 4bsItyOAbpN
--HG--
extra : rebase_source : bf3f237038b9c376283127425da542a33c34d83c
2016-07-29 10:35:49 -07:00
Wes Kocher
1be5d82df2
Backed out changeset 4c8d8454a4c5 (bug 1290931) because dependencies of this landed to inbound instead of autoland, causing future merge conflicts a=backout
2016-08-01 10:06:38 -07:00
Benjamin Bouvier
7d0daf004c
Bug 1290931: Don't use the exponential operator in tests; r=till
...
MozReview-Commit-ID: HTUmcNj7SEZ
--HG--
extra : rebase_source : b031ad92cb7a8a72b6b6d647625640dc92fb3494
2016-08-01 18:48:20 +02:00
Carsten "Tomcat" Book
8dbb362d18
merge mozilla-inbound to mozilla-central a=merge
2016-07-31 17:44:14 +02:00
Carsten "Tomcat" Book
fc8e03f0d8
Merge mozilla-central to autoland
2016-07-30 16:49:41 +02:00
Chris Peterson
37d77f1683
Bug 1289987 - Part 2: Remove more VS2013 workarounds in js/. r=fitzgen
...
Take 2.
2016-07-29 20:28:31 -07:00
Chris Peterson
2bfa62386f
Backed out changeset 2b9b892d36ff (bug 1289987) for build break
2016-07-29 20:26:28 -07:00
Chris Peterson
aab004d66f
Bug 1289987 - Part 3: Remove curly braces workaround for VS2013 ICE in ranged for loops in js/. r=fitzgen
2016-07-28 22:23:10 -07:00
Chris Peterson
617a320dfb
Bug 1289987 - Part 2: Remove more VS2013 workarounds in js/. r=fitzgen
2016-07-28 22:33:39 -07:00
Botond Ballo
36779c6cc3
Bug 1289608 - Define XrayWrapper<...>::singleton for all instantiations, instead of defining specializations for specific ones. r=bholley
...
MozReview-Commit-ID: GecaSstpxRQ
--HG--
extra : rebase_source : 30e95b590a18dee92a588d2cb4e8b44808bbe11a
2016-07-29 16:40:08 -04:00
Botond Ballo
34d65c1f90
Bug 1289608 - Provide explicit instantiation declarations for the various instantiations of XrapWrapper. r=bholley
...
MozReview-Commit-ID: 6rS9JJ1Ba9R
--HG--
extra : rebase_source : 29a69c5b0068bc2e948e007d656ef7b7d4efb13d
2016-07-29 16:39:14 -04:00
Morgan Phillips
462613aa3c
Bug 1289749 - Backout the existing function.name implementation; r=jorendorff
...
The existing implementation can not meet the spec's requirement that function.name
is only set during assignment with the left-hand side is an identifier reference.
--HG--
extra : rebase_source : 263a0deb93dd0d345669a8dafe10283640836b24
extra : amend_source : 1dbccbca658fc026cd6c6446ed22890b20a91d16
2016-07-27 15:40:32 -07:00
Tooru Fujisawa
4e75fef821
Bug 1290655 - Call GetMethod in String.prototype.{search,replace,split}. r=evilpie
2016-07-31 11:04:19 +09:00
Tom Schuster
742fc3c5ec
Bug 1124857 - Fix self-hosted Array methods to use ToLength for length. r=arai
2016-07-31 01:33:16 +02:00
Noitidart
a05c9522b2
Bug 1288907 - Free dst after failed call to JS_NewUCString. r=bholley
2016-07-29 05:53:00 -04:00
Andrew McCreight
82ac383602
Bug 1289457 - Take advantage of infallible new in XPCNativeSet::NewInstance{,Mutate} to skip checks. r=mrbkap
...
MozReview-Commit-ID: H4TEMzzT6iK
2016-07-29 16:08:06 -07:00
Chris Peterson
4c53a24d6d
Bug 1289987 - Remove VS2013 workarounds from js/. r=fitzgen
...
--HG--
extra : rebase_source : a1498f597a955c5cc1e4ee904edc8a23c50aba9d
2016-07-27 22:59:55 -07:00
Jon Coppeard
2bcd075f28
Bug 1290034 - Ensure nursery allocations are correctly aligned r=terrence
2016-07-29 12:02:54 +01:00
Jon Coppeard
8e2dedbc9f
Bug 1288780 - Don't destroy GCPtrs while there may be store buffer entries pointing into them r=terrence
2016-07-28 11:49:06 +01:00
Hannes Verschore
0aeda4bed7
Bug 1289054: Part 25: Don't reuse input during lowering for int 64 values on 32 bit platforms, r=bbouvier
2016-07-29 16:53:50 +02:00
Hannes Verschore
cbb9cc4e9e
Bug 1289054 - Part 24: Make WebAssembly ready to run 64bit instructions on arm, r=luke
2016-07-29 16:53:50 +02:00
Hannes Verschore
2f1d4e6217
Bug 1289054 - Part 23: Implement the 64bit variant of WasmLoad and WasmStore on arm, r=bbouvier
2016-07-29 16:53:50 +02:00
Hannes Verschore
be14fd4a16
Bug 1289054 - Part 22: Implement the 64bit variant of WasmLoadGlobalVar and WasmStoreGlobalVar on arm, r=bbouvier
2016-07-29 16:53:50 +02:00
Hannes Verschore
7d31f5df3a
Bug 1289054 - Part 21: Unrelated cleanup, r=bbouvier
2016-07-29 16:53:50 +02:00
Hannes Verschore
cb373bd27d
Bug 1289054 - Part 20: Implement the 64bit variant of Test on arm, r=nbp
2016-07-29 16:53:50 +02:00
Hannes Verschore
24edb3d587
Bug 1289054 - Part 19: Implement the 64bit variant of Int64ToFloatingPoint on arm, r=bbouvier
2016-07-29 16:53:50 +02:00
Hannes Verschore
db11d480ae
Bug 1289054 - Part 18: Implement the 64bit variant of WasmTruncate on arm, r=bbouvier
2016-07-29 16:53:49 +02:00
Hannes Verschore
08728c529c
Bug 1289054 - Part 17: Implement the 64bit variant of Not on arm, r=bbouvier
2016-07-29 16:53:49 +02:00
Hannes Verschore
e765133481
Bug 1289054 - Part 16: Implement the 64bit variant of Clz and Ctz on arm, r=bbouvier
2016-07-29 16:53:49 +02:00
Hannes Verschore
5ab976a487
Bug 1289054 - Part 15: Implement the 64bit variant of PopCnt on arm, r=lth
2016-07-29 16:53:49 +02:00
Hannes Verschore
9942f53879
Bug 1289054 - Part 14: Implement the 64bit variant of AsmReinterpret on arm, r=bbouvier
2016-07-29 16:53:49 +02:00
Hannes Verschore
7753e2a880
Bug 1289054 - Part 13: Implement the 64bit variant of AsmSelect on arm, r=bbouvier
2016-07-29 16:53:49 +02:00
Hannes Verschore
3c2a7487ec
Bug 1289054 - Part 12: Implement the 64bit variant of AsmJSPassStackArg on arm, r=luke
2016-07-29 16:53:49 +02:00
Hannes Verschore
a7172e587a
Bug 1289054 - Part 11: Implement the 64bit variant of Rotate on arm, r=luke
2016-07-29 16:53:49 +02:00
Hannes Verschore
1453379535
Bug 1289054 - Part 10: Implement the 64bit variant of BitOp on arm, r=bbouvier
2016-07-29 16:53:49 +02:00
Hannes Verschore
bc1892bc14
Bug 1289054 - Part 9: Implement the 64bit variant of Shift on arm, r=bbouvier
2016-07-29 16:53:49 +02:00
Hannes Verschore
60ba2b47a6
Bug 1289054 - Part 8: Implement the 64bit variant of Compare on arm, r=nbp
2016-07-29 16:53:49 +02:00
Hannes Verschore
d2ef4b16d0
Bug 1289054 - Part 7: Implement the 64bit variant of Div and Mod on arm, r=nbp
2016-07-29 16:53:49 +02:00
Hannes Verschore
2fdd8ee702
Bug 1289054 - Part 6: Implement the 64bit variant of Mul on arm, r=nbp
2016-07-29 16:53:48 +02:00
Hannes Verschore
4928ad92a1
Bug 1289054 - Part 5: Implement the 64bit variant of Add and Sub on arm, r=bbouvier
2016-07-29 16:53:48 +02:00
Hannes Verschore
a7b2aa45b5
Bug 1289054 - Part 4: Implement the 64bit variant of Extend on arm, r=bbouvier
2016-07-29 16:53:48 +02:00
Hannes Verschore
b6c18e537e
Bug 1289054 - Part 3: Implement the 64bit variant of WrapInt64ToInt32 on arm, r=bbouvier
2016-07-29 16:53:48 +02:00
Hannes Verschore
52e58112ef
Bug 1289054 - Part 2: Implement the 64bit variant of AsmJSParameter on arm, r=sstangl
2016-07-29 16:53:48 +02:00
Hannes Verschore
e16e414c32
Bug 1289054: Part 1: Preparations in IonMonkey to support i64 on arm, r=sstangl
2016-07-29 16:53:48 +02:00
Hannes Verschore
11dcce4503
Bug 1279248 - Part 27: Temporarily disable the Wasm baseline compiler for x86, r=lth
2016-07-29 16:53:48 +02:00
Hannes Verschore
ddb441b186
Bug 1279248 - Part 27: Implement the 64bit variant of WasmLoadGlobalVar and WasmStoreGlobalVar on x86, r=bbouvier
2016-07-29 16:53:48 +02:00
Hannes Verschore
e0af135939
Bug 1279248 - Part 26: Implement the 64bit variant of WasmLoad and WasmStore on x86, r=bbouvier
2016-07-29 16:53:48 +02:00
Hannes Verschore
69caf976c6
Bug 1279248 - Part 25: Extra tests, r=lth
2016-07-29 16:53:48 +02:00
Hannes Verschore
ec0937ad53
Bug 1279248 - Part 24: Make WebAssembly ready to run 64bit instructions on x86, r=luke
2016-07-29 16:53:48 +02:00
Hannes Verschore
488c1ec17f
Bug 1279248 - Part 23: Implement the 64bit variant of Test on x86, r=nbp
2016-07-29 16:53:47 +02:00
Hannes Verschore
2abc9da483
Bug 1279248 - Part 22: Implement the 64bit variant of AsmJSCall on x86, r=nbp
2016-07-29 16:53:47 +02:00
Hannes Verschore
c9746ae01e
Bug 1279248 - Part 21: Implement the 64bit variant of ToFloatingPoint on x86, r=sunfish
2016-07-29 16:53:47 +02:00
Hannes Verschore
aceeed69b7
Bug 1279248 - Part 20: Implement the 64bit variant of WasmTruncate on x86, r=sunfish
2016-07-29 16:53:44 +02:00
Hannes Verschore
67f470e707
Bug 1279248 - Part 19: Implement the 64bit variant of Not on x86, r=bbouvier
2016-07-29 16:53:41 +02:00
Hannes Verschore
a491dbb760
Bug 1279248 - Part 18: Implement the 64bit variant of Clz and Ctz on x86, r=bbouvier
2016-07-29 16:53:39 +02:00
Hannes Verschore
d72ed260a9
Bug 1279248 - Part 17: Implement the 64bit variant of PopCnt on x86, r=lth
2016-07-29 16:52:56 +02:00
Hannes Verschore
1e12c70ce4
Bug 1279248 - Part 16: Implement the 64bit variant of WrapInt64ToInt32 on x86, r=efaust
2016-07-29 16:51:42 +02:00
Hannes Verschore
3386e93ddb
Bug 1279248 - Part 15: Implement the 64bit variant of ExtendInt32toInt64 on x86, r=efaust
2016-07-29 16:51:42 +02:00
Hannes Verschore
22197fac6e
Bug 1279248 - Part 14: Implement the 64bit variant of AsmReinterpret on x86, r=efaust
2016-07-29 16:51:42 +02:00
Hannes Verschore
214d070564
Bug 1279248 - Part 13: Implement the 64bit variant of AsmSelect on x86, r=efaust
2016-07-29 16:51:42 +02:00
Hannes Verschore
c7c16e86de
Bug 1279248 - Part 12: Implement the 64bit variant of Div and Mod on x86, r=jandem
2016-07-29 16:51:42 +02:00
Hannes Verschore
a31cb8c146
Bug 1279248 - Part 11: Implement the 64bit variant of AsmJSPassStackArg on x86, r=luke
2016-07-29 16:51:42 +02:00
Hannes Verschore
f7098448f2
Bug 1279248 - Part 10: Implement the 64bit variant of Rotate on x86, r=luke
2016-07-29 16:51:41 +02:00
Hannes Verschore
221f10a1e0
Bug 1279248 - Part 9: Implement the 64bit variant of Mul on x86, r=jandem
2016-07-29 16:51:41 +02:00
Hannes Verschore
67e59ab0b8
Bug 1279248 - Part 8: Implement the 64bit variant of Sub on x86, r=lth
2016-07-29 16:51:41 +02:00
Hannes Verschore
93f2ecae23
Bug 1279248 - Part 7: Implement the 64bit variant of Add on x86, r=lth
2016-07-29 16:51:41 +02:00
Hannes Verschore
7df878a85a
Bug 1279248 - Part 6: Implement the 64bit variant of BitOp on x86, r=bbouvier
2016-07-29 16:51:41 +02:00
Hannes Verschore
5e33b202ad
Bug 1279248 - Part 5: Implement the 64bit variant of Shift on x86, r=bbouvier
2016-07-29 16:51:41 +02:00
Hannes Verschore
f7b369be3b
Bug 1279248 - Part 4: Implement the 64bit variant of Compare on x86, r=nbp
2016-07-29 16:51:41 +02:00
Hannes Verschore
d5aa3ac93a
Bug 1279248 - Part 3: Implement the 64bit variant of AsmJSReturn on 32bit platforms, r=nbp
2016-07-29 16:51:41 +02:00
Hannes Verschore
bc5ef1561c
Bug 1279248 - Part 2: Implement the 64bit variant of AsmJSParameter on 32bit platforms, r=jandem
2016-07-29 16:51:41 +02:00
Hannes Verschore
fbbf770e12
Bug 1279248 - Part 1: Preparations in IonMonkey to support i64 on x86, r=jandem
2016-07-29 16:51:40 +02:00
Carsten "Tomcat" Book
aa41560f59
Backed out changeset 2a200a9215d7 (bug 1288780) for bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : e2f348338accc42b182cb451f3f98ee91a8a009b
2016-07-29 15:41:34 +02:00
Carsten "Tomcat" Book
eb0ffbb3fc
Backed out changeset 721b016eecea (bug 1290034)
...
--HG--
extra : rebase_source : 15eb75d0535ef41a38e661fe1201f518446940df
2016-07-29 15:41:11 +02:00
Jon Coppeard
9e1998ebc3
Bug 1290034 - Ensure nursery allocations are correctly aligned r=terrence
2016-07-29 12:02:54 +01:00
Jon Coppeard
c09bd3172c
Bug 1288780 - Don't destroy GCPtrs while there may be store buffer entries pointing into them r=terrence
2016-07-28 11:49:06 +01:00
Carsten "Tomcat" Book
8c47612fee
merge mozilla-inbound to mozilla-central a=merge
2016-07-29 11:56:43 +02:00
Tooru Fujisawa
ab4c2ebe2c
Bug 1287520
- Check IsPackedArray for the result array in Array.prototype.concat. r=efaust
2016-07-29 13:55:26 +09:00
Tooru Fujisawa
a3fa8a6a1c
Bug 1287525 - Part 2: Do not use RegExp.prototype[@@split] optimized path if limit is not number. r=h4writer
2016-07-29 13:55:26 +09:00
Tooru Fujisawa
1de3de00d8
Bug 1287525 - Part 1: Do not use RegExp.prototype[@@split] optimized path if |this| object has extra property. r=h4writer
2016-07-29 13:55:26 +09:00
Tooru Fujisawa
414b89d4d3
Bug 1287524 - Check RegExp.prototype.unicode in RegExpPrototypeOptimizable. r=h4writer
2016-07-29 13:55:26 +09:00
Tooru Fujisawa
16ab15420c
Bug 1280046 - Search codepoints with same uppercase on ignoreCase match with non-unicode RegExp. r=jwalden
2016-07-29 13:55:25 +09:00
Zibi Braniecki
3b57299a1d
Bug 1289923 - Fix the minor errors found while writing test262 tests for DateTimeFormat.prototype.formatToParts. r=Waldo
...
--HG--
extra : amend_source : 1cd9313aecfc76dc77dfb4520fb5b77fb15cf16b
2016-07-28 16:01:00 -04:00
Cameron McCormack
fdb4542277
Bug 1290035
- Remove the explicit Type parameter to MakeEnumeratedRange. r=Waldo
...
MozReview-Commit-ID: BtFVn9pTQpU
--HG--
extra : rebase_source : be83c74953e2fbc7ace2ce49ceebb060da394c50
2016-07-28 17:48:50 +08:00
Terrence Cole
0ddab9429a
Bug 1288793 - Part 2: Test slice callback and message formatting; r=jonco
...
--HG--
extra : rebase_source : 6fc7be0397fbea501c99925d41d2377897b60504
2016-07-28 09:34:11 -07:00
Terrence Cole
baaf9059ef
Bug 1288793 - Part 1: Convert js::gc::State to an enum class; r=jonco
...
* * *
Bug _ - Add a test to ensure that abort works during decommit slices; NOT_REVIEWED
--HG--
extra : rebase_source : b606dd26b62301f16079aae0e0085d86be502169
2016-07-25 11:10:15 -07:00
Lars T Hansen
3eb94d9ea1
Bug 1277011
- ARM simulator tweaks for dealing with alignment. r=bbouvier
...
--HG--
extra : rebase_source : f3d43a027f38eac2d01b8fbaa8f47a0b90934242
2016-07-28 07:19:46 -07:00
Steve Fink
97e3a8b7ce
Bug 1252511 - Fix faulty assertion involving user-defined structured clone tags, r=terrence
...
This previously asserted that the entry after the transfer map, if nonempty, contained a tag less than SCTAG_TRANSFER_MAP_HEADER, as that is where all of the standard tags live. However, user-defined tags start *above* the transfer map entries, so if the first object serialized was a user-defined object (eg a Blob), the assertion would fail.
MozReview-Commit-ID: KJqHoH22MW4
--HG--
extra : rebase_source : 54a5ab8307e12d9fd9003f0c5b090e24725d1081
2016-07-22 16:48:35 -07:00
Carsten "Tomcat" Book
2568d9b9fd
Backed out changeset 30da5718207a (bug 1287485) for bustage
2016-07-28 17:01:14 +02:00
Sander Mathijs van Veen
9bdd71041a
Bug 1287485 - Display comments inside dumped assembly code (-D flag). r=nbp
...
--HG--
extra : rebase_source : d2cb2d023d3065b64d09dd8a434d48e0fbc7abe7
2016-07-28 01:33:00 -04:00
Benjamin Bouvier
b1a08048c4
Bug 1289911: Add WasmTlsReg in none/ platform; r=lth
...
MozReview-Commit-ID: 9grnZ3dVmCm
--HG--
extra : rebase_source : 0516ff6617099d2e401378c6b90ad2ea197183b8
extra : amend_source : 7e34021f7319d683133e742016920a094e3c24f3
2016-07-28 09:04:42 +02:00
Ms2ger
83707bf2ad
Bug 1289693 - Add missing MOZ_ANDROID_CPU_ARCH call in SpiderMonkey old-configure.in; r=glandium
2016-07-20 16:55:05 +02:00
Carsten "Tomcat" Book
826def022b
Backed out changeset d757a1ca6d56 (bug 1288780) for hazard failures on a CLOSED TREE
2016-07-28 13:24:39 +02:00
Jon Coppeard
7ff6517a92
Bug 1288780 - Don't destroy GCPtrs while there may be store buffer entries pointing into them r=terrence
2016-07-28 11:49:06 +01:00
Andrew McCreight
28ba46abc8
Bug 1289252 - gDEBUG_LiveProtoCount does not need to be modified atomically. r=mrbkap
...
--HG--
extra : rebase_source : 4ed3e3d93f85d964d438d8281c21364315204ec9
2016-07-27 08:50:00 -04:00
Lars T Hansen
3481e05ad5
Bug 1277011
- Wasm baseline: Cleanup around calls. r=bbouvier
...
--HG--
extra : rebase_source : 7e619f3fe032a5d5922763584276fe0d702bccd2
extra : source : 47beee7f2748d21cab19027a20636e0caa761a49
2016-07-06 12:22:58 +02:00
Tom Schuster
69d88eb9e5
Bug 1242165 - Update DataView index handling. r=Waldo
2016-07-28 00:24:17 +02:00
Tom Schuster
dc41558384
Bug 1279303 - Implement change to O.getOwnPropertyDescriptors and update tests. r=efaust
2016-07-27 20:12:04 +02:00
Andrew McCreight
3e7a8efdae
Bug 1289550 - Remove "fun little hack" from XPCNativeSetKey. r=bz
...
XPCNativeSetKey has a huge comment about this weird hack it does,
where it tags the first 16 bytes with a magic value. The purpose of
this seem to be that PLDHashtable used to require that the Match()
operation handle both the desired "key" type and the actual entry type
(NativeSetMap::Entry in this case), with the latter needed for
resizing. However, that duality in the match operation has not been
needed since bug 374906, which landed in 2007, so this class can be
greatly simplified.
IsAKey() can be replaced with true, which simplifies some hash
operations.
2016-07-27 10:11:40 -07:00
Andrew McCreight
e806f57820
Bug 1289136 - Fifth argument to XPCConvert::NativeInterface2JSObject() is always null. r=gabor
2016-07-27 10:11:40 -07:00
Bobby Holley
a4d1001c60
Bug 1289617 - Add an opt-out for bindgen in the SpiderMonkey DEBUG checker. r=sfink
2016-07-27 09:41:48 -07:00
Matthew Wein
33de9c036e
Bug 1285063 - Part 1: Add a helper to XPCOMUtils to iterate over entries in a category. r=kmag
...
MozReview-Commit-ID: 3mjrPrRuLej
--HG--
extra : rebase_source : 7b7dad1a4bab958a590c24d97f564e34b3355633
2016-07-11 17:33:06 -07:00
Till Schneidereit
0f21372d5b
Bug 1289040 - Fix malformed test. r=me
2016-07-27 17:51:17 +02:00
Boris Zbarsky
5b840d9b96
Bug 1288791 part 2. Rename WrapNativeParent to FindAssociatedGlobal and update it to actually do that. r=bkelly
2016-07-27 11:05:36 -04:00
Till Schneidereit
ba785233be
Bug 1289040 - Properly handle non-wrapped Promise hook functions in UnwrappedPerformPromiseThen. r=efaust
2016-07-27 16:59:59 +02:00
Till Schneidereit
79052e5d92
Bug 1288382 - Don't try to add non-Promise objects to the list of dependent promises that's only used for debugging. r=efaust
2016-07-27 16:59:18 +02:00
Carsten "Tomcat" Book
7293066753
merge mozilla-inbound to mozilla-central a=merge
2016-07-27 16:35:44 +02:00
Mike Hommey
1f9624559e
Bug 1289294 - Move MT detection to python configure. r=chmanchester
...
--HG--
extra : rebase_source : c84ade9a0db9aca2f2e64b8a3424fe14dd19a924
2016-07-26 15:15:08 +09:00
Jim Blandy
002186dad9
Bug 1282518 - Propagate return values from RematerializedFrames to BaselineFrames. r=shu
2016-07-22 14:19:48 -07:00
Mike Hommey
8398056155
Bug 1289291 - Move Windows SDK detection to python configure. r=chmanchester
...
At the same time, autodetect the SDK if WINDOWSSDKDIR is not given.
--HG--
extra : rebase_source : 4ee98e2105b607bab5050127f23354e9b291a246
2016-07-22 19:10:04 +09:00
Mike Hommey
1b9c70450b
Bug 1289289 - Move --with-windows-version to python configure. r=chmanchester
...
Also, don't set the MOZ_WINSDK_TARGETVER define anymore, as it's unused.
--HG--
extra : rebase_source : a6aa1458985d6c158abdc7cd7926b73990f4df2a
2016-07-22 17:08:53 +09:00
Benjamin Bouvier
6f037c3aa7
Bug 1286517: Allow any expression in ElemSegments offset initializers; r=luke
...
MozReview-Commit-ID: KIfET7uiPZF
--HG--
extra : rebase_source : 6329ed8b4572bcc8d0d38d5feda011b0b82ca348
2016-07-25 19:50:26 +02:00
Benjamin Bouvier
bcbc873b13
Bug 1286517: Implement text-to-binary for Globals; r=luke
...
MozReview-Commit-ID: ajyuriWJK5
--HG--
extra : rebase_source : e9c33a0e729ebc3dda24c18fe5fe3a3db019e30d
2016-07-25 18:10:58 +02:00
Benjamin Bouvier
3bb9e21ec3
Bug 1286517: Implement Global section in WebAssembly; r=luke
...
MozReview-Commit-ID: aD6rBQ3e57
--HG--
extra : rebase_source : 6987461ccfee07a5f494745fcb02cbac825def95
2016-07-25 19:50:20 +02:00
Benjamin Bouvier
8839c5fde7
Bug 1286517: Implement codegen for i64 globals on x64; r=luke
...
MozReview-Commit-ID: IYgd60IZhBs
--HG--
extra : rebase_source : 33136af695975f7860554b400202f556267f4a3a
2016-07-22 14:30:12 +02:00
Benjamin Bouvier
b4f8b1aae8
Bug 1286517: Rename {Load/Store}Global to {Get,Set}Global in wasm bytecode; r=luke
...
MozReview-Commit-ID: 5BGgPC487xm
--HG--
extra : rebase_source : 3cf3e73a0113a94e11b8ba8f2df0cfd23acfbb10
2016-07-22 14:29:17 +02:00
Nicolas B. Pierron
ab3ab6c2aa
Bug 1289025 - Ensure enough ballast space in MakeMRegExpHoistable. r=arai
2016-07-26 13:00:16 +00:00
Heiher
639f4a2429
Bug 1289262 - IonMonkey: MIPS64: Don't clobbers the scratch registers in ma_addTestOverflow/ma_subTestOverflow. r=arai
...
---
js/src/jit/mips64/MacroAssembler-mips64.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
2016-07-27 13:23:17 +08:00
Heiher
399ac7e63e
Bug 1289261 - IonMonkey: MIPS: Use conditional move in minMaxDouble/Float32. r=arai
...
---
.../jit/mips-shared/MacroAssembler-mips-shared.cpp | 52 ++++++++++++----------
1 file changed, 28 insertions(+), 24 deletions(-)
2016-07-27 13:23:16 +08:00
Heiher
67e31960f4
Bug 1289263 - Baldr: MIPS64: Fix compile errors in loadAsmJSHeapRegisterFromGlobalData. r=luke
...
---
js/src/jit/mips64/MacroAssembler-mips64.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2016-07-27 13:23:15 +08:00
Carsten "Tomcat" Book
574d0d452b
merge mozilla-inbound to mozilla-central a=merge
2016-07-26 11:55:54 +02:00
Andrew McCreight
ec20330bad
Bug 1288823, part 7 - Fix XPCNativeScriptableInfo ctor arguments. r=mrbkap
2016-07-25 16:32:56 -07:00
Andrew McCreight
3a21c61e93
Bug 1288823, part 6 - Remove unused methods from XPCNativeScriptableInfo and XPCWrappedNativeProto. r=mrbkap
2016-07-25 16:32:56 -07:00
Andrew McCreight
f71885f593
Bug 1288823, part 5 - Remove the unused XPCWrappedNativeProto::mClassInfoFlags. r=mrbkap
2016-07-25 16:32:56 -07:00
Andrew McCreight
9f3f1c7a9b
Bug 1288823, part 4 - Mark things delete in XPConnect. r=mrbkap
2016-07-25 16:32:56 -07:00
Andrew McCreight
f8d74765b2
Bug 1288823, part 3 - Mark more classes final in xpcprivate.h. r=mrbkap
2016-07-25 16:32:56 -07:00
Andrew McCreight
192238e71d
Bug 1288823, part 2 - Remove unused #defines from xpcprivate.h. r=mrbkap
2016-07-25 16:32:56 -07:00
Andrew McCreight
7e800a8998
Bug 1288823, part 1 - Use doSweep more consistently in XPCJSRuntime::FinalizeCallback. r=mrbkap
2016-07-25 16:32:55 -07:00
Nick Fitzgerald
4e81593ca0
Bug 1289073 - Convert from double to unsigned before checking that the max frames is greater than zero; r=jimb
2016-07-25 15:07:22 -07:00
Nick Fitzgerald
57f0aea91b
Bug 1289058 - Null check principals before holding them in JS::FirstSubsumedFrame; r=jimb
2016-07-25 15:07:22 -07:00
Mike Hommey
02e5baaf74
Bug 1289246 - Do not hardcode mt.exe as the Manifest Tool. r=chmanchester
...
Configure uses the value of the MT environment variable before falling back
to mt(.exe), but the build system was completely ignoring the MT
environment variable.
--HG--
extra : rebase_source : 8c9b43aeb08493ae5bd6d6361f4f18f097ea0553
2016-07-22 15:56:26 +09:00
Andi-Bogdan Postelnicu
cd8204fb3b
Bug 1289064 - eliminate null check on |iid| in XPCConvert::NativeInterface2JSObject. r=bholley
...
MozReview-Commit-ID: EtiVWiHlYx5
--HG--
extra : rebase_source : 4dcd94c19f0b7f68787658e8937b2535fe37b39f
2016-07-25 13:13:19 +03:00
Carsten "Tomcat" Book
b9a6c687fa
merge mozilla-inbound to mozilla-central a=merge
2016-07-25 15:50:41 +02:00
Chris Peterson
1408fa9074
Bug 1288925 - Replace JS_ALIGNAS() polyfill with alignas(). r=sfink
2016-07-25 01:14:04 -07:00
Benjamin Bouvier
feab551c2f
Bug 1289080: Don't allow call_indirect without a table and memory accesses without memory; r=luke
...
MozReview-Commit-ID: DkuyBiGsaxs
--HG--
extra : rebase_source : d051b7e8c9e7c32ba60a6e37bb4c6dc98dc36ef9
2016-07-25 14:54:50 +02:00
Jakob Stoklund Olesen
8525095859
Bug 1279312
- Remove SymbolicAddress::StackLimit. r=luke
...
This symbolic address is not used any longer. It has been replaced by the
stackLimit entry in the TlsData struct.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
fa3211efd0
Bug 1279312
- Use WasmTlsReg in baseline Wasm compiler. r=lth
...
Allocate an additional slot in localInfo_ and use it to save the incoming TLS
pointer. When setting up arguments for a function call, get the TLS pointer from
that local slot. Also preserve the TLS pointer register by reloading it before
returning.
This makes the Baseline ABI compatible with the Ion ABI.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
ee4080cea7
Bug 1279312
- Handle call-preserved registers in register allocator. r=bhackett
...
- Add a virtual isCallPreserved() method to LNode which allows a call
instruction to indicate that it preserves the values of some registers. Use
this hook in BacktrackingAllocator when processing a call instruction.
- Add a preservesTlsReg() property to MAsmJSCall and use this to implement the
LAsmJSCall::isCallPreserved() method.
- Mark intra-module WebAssembly calls as preserving the TLS pointer register.
This change allows the backtracking register allocator to leave the TLS pointer
register alone in small functions that don't need it for something else. There
are probably more improvements to be done if we need to split the live range of
the TLS pointer register. For example, BacktrackingAllocator::splitAcrossCalls()
will still split that live range at all calls.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
31633a4c4d
Bug 1279312
- Preserve TLS pointer register across calls. r=bbouvier
...
WebAssembly functions take a TLS pointer argument and now ensure that the
WasmTlsReg register has the same value when they return.
This is not yet exploited by the register allocator which still thinks that all
registers are clobbered by function calls.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
b600088345
Bug 1279312
- Use TLS pointer for the stack limit check. r=luke
...
Get the stack limit from TlsData::stackLimit instead of
SymbolicAddress::StackLimit. Since the TLS pointer register is available at
every function prologue, the over-recursion check is the same cost as using the
statically linked address.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
6b0c6f166b
Bug 1279312
- Pass a TLS pointer hidden argument to WebAssembly functions. r=luke
...
WebAssembly functions now expect to be passed a hidden argument in WasmTlsReg
which is a pointer to a TlsData struct.
Temporarily allocate a TlsData instance in the wasm::Instance itself. When wasm
supports multithreading, we will need to allocate a TlsData instance per thread
per module instance.
This patch generates code to pass the TLS pointer to WebAssembly functions,
preserving it through intra-module calls. The pointer is not used for anything
yet, and the the TLS pointer register is not currently preserved across function
calls.
2016-07-25 07:57:35 -07:00
Jan de Mooij
c7e88a5ad8
Bug 1286795 part 6 - Replace JS_NewRuntime/JS_DestroyRuntime with JS_NewContext/JS_DestroyContext. r=luke,bz
2016-07-23 19:54:19 +02:00
Jan de Mooij
e0ae8a8c5a
Bug 1286795 part 5 - Change some classes to take JSContext instead of JSRuntime. r=terrence
2016-07-23 19:53:03 +02:00
Jan de Mooij
fd0edec3bf
Bug 1286795 part 4 - Change some callbacks to take JSContext instead of JSRuntime. r=terrence
2016-07-23 19:52:47 +02:00
Jan de Mooij
0770a8d8b4
Bug 1286795 part 3 - Change UbiNode APIs to take JSContext instead of JSRuntime. r=fitzgen
2016-07-23 19:52:25 +02:00
Jan de Mooij
8073c28728
Bug 1286795 part 2 - Change JS_RequestInterruptCallback to take JSContext instead of JSRuntime. r=luke
2016-07-23 19:52:20 +02:00
Jan de Mooij
1b710973b8
Bug 1286795 part 1 - Change more GC APIs to take JSContext instead of JSRuntime. r=terrence
2016-07-23 19:51:23 +02:00
Chris Peterson
b0efbe0ef8
Bug 1288603 - Remove NumericLimits.h because all platforms have numeric_limits<char16_t>. r=froydnj
2016-07-22 22:05:45 -07:00
Ryan VanderMeulen
3b625b3b98
Bug 1282257 - Fix include ordering to make the style checker happy. r=bustage
2016-07-22 17:08:29 -04:00