Commit Graph

55963 Commits

Author SHA1 Message Date
Nick Fitzgerald
c1758acb8f Bug 1290156 - Remove the DEBUG-only lockOwner member from GlobalHelperThreadState; r=terrence
The checks that the `lockOwner` member was used for are now redundant given that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.

In methods where we asserted `isLocked()`, we now pass in an
`AutoLockHelperThreadState` reference for compile-time proof of lock
holding. This is mostly a mechanical change.
2016-08-01 09:45:30 -07:00
Nick Fitzgerald
8a87105b23 Bug 1290156 - Remove the GCRuntime DEBUG-only lockOwner field; r=terrence
The checks that the `lockOwner` member was used for are redundant now that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.
2016-08-01 09:45:30 -07:00
Till Schneidereit
a84585fe7f Bug 911216 - Fix non-Nightly bustage on inbound. r=me 2016-08-01 17:59:31 +02:00
Luke Wagner
2485316dfe Bug 1288483 - Baldr: allow multiple Instances per WasmActivation (r=bbouvier)
MozReview-Commit-ID: DvplYBmzPil
2016-08-01 08:28:20 -05:00
Luke Wagner
7d52d9f022 Bug 1288483 - Baldr: extract new wasm::Code type (r=bbouvier)
MozReview-Commit-ID: LZnndgZcIyZ
2016-08-01 08:28:19 -05:00
Luke Wagner
e313fdbdc6 Bug 1288483 - Baldr: pass Instance* explicitly instead of using TLS (r=bbouvier)
MozReview-Commit-ID: I0uhO4nSK1m
2016-08-01 08:28:14 -05:00
Luke Wagner
27c41bdd59 Bug 1284155 - Baldr: trace all wasm instances in a compartment if it is active (r=terrence)
MozReview-Commit-ID: 7cmoYooeML2
2016-07-25 10:37:46 -07:00
Luke Wagner
00d15505bb Bug 1288483 - Baldr: replace the mutable WasmActivation* in global data with an immutable JSContext* (r=bbouvier)
MozReview-Commit-ID: ESQ5RhdlcLA
2016-08-01 08:26:40 -05:00
Luke Wagner
82b5e995b8 Bug 1288483 - Baldr: add wasm::Compartment and use to replace Instance::activation() (r=bbouvier)
MozReview-Commit-ID: 56gTmUeYo2R
2016-07-21 22:02:23 -05:00
Luke Wagner
66e3f29564 Bug 1288483 - Baldr: stop using activation global pointer in JIT exit stub (r=h4writer)
MozReview-Commit-ID: KpHJ2ijMn8x
2016-07-21 21:19:49 -05:00
Benjamin Bouvier
697420f1d3 Bug 1279876: Test cases; r=lth
This also renames basic-conversions to conversions, still the basic prefix
doesn't have any particular meaning.

MozReview-Commit-ID: 2RpzNhq5yvx

--HG--
rename : js/src/jit-test/tests/wasm/basic-conversion.js => js/src/jit-test/tests/wasm/conversion.js
extra : rebase_source : 84e002462022c72aa24e77083b85f1de60078a53
2016-07-27 14:17:01 +02:00
Benjamin Bouvier
ef212eb425 Bug 1279876: Implement correct semantics of TruncateToInt32 in the wasm baseline compiler; r=lth
MozReview-Commit-ID: 4Z4siWyw1xG

--HG--
extra : rebase_source : f27f4cbcd96cf5c99b2d867586fa8bde3f659f51
2016-08-01 13:02:47 +02:00
Benjamin Bouvier
951cfcbfc4 Bug 1279876: Refactor wasmTruncateToInt32 methods into the masm; r=lth
MozReview-Commit-ID: 1qWFdFR7cQq

--HG--
extra : rebase_source : a75c4f62f9bccf4e5fedb74260423b3ee47b1bf9
2016-08-01 12:56:15 +02:00
Benjamin Bouvier
981682b0b7 Bug 1290402: Bump MaxTableElems; r=luke
MozReview-Commit-ID: 5CK8u4HhIlp

--HG--
extra : rebase_source : 70255578231eda3c0116ed32b78e9342189b7b9b
2016-07-29 11:10:39 +02:00
Jon Coppeard
50ae9ac951 Bug 1290469 - Use fallible hashing for SavedFrame r=terrence 2016-08-01 09:56:25 +01:00
Jon Coppeard
e110894730 Bug 1259347 - Add telemetry for nursery size r=terrence 2016-08-01 09:55:06 +01:00
Wei-Cheng Pan
d4d6f8ed60 Bug 1249698 - Use parent stack instead of vanished child stack. r=billm
MozReview-Commit-ID: LaX5K1uPZo9

--HG--
extra : transplant_source : 7o%A6C%21%D1H1%C3%3Dn%E6%5E%B4%E5%D6%A3%21E%A6
2016-07-26 18:30:42 +08: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