Benjamin Bouvier
19c093772c
Bug 1497955: Fix wasm saturating conversions codegen; r=sunfish
...
- the saturating conversion to u64 callout was incorrect for an input precisely
equal to -1, in which case it would return -1 instead of 0.
- the fixup paths in the OOL for saturating conversions on x86 were incorrect
when the input is -0, in which case it was improperly considered equal to 0
and thus resulted in the maximum value.
- on x86, the OOL paths for saturated conversions are quite different from the
ones for non-saturated ones; code generation needs to take this into account.
--HG--
extra : amend_source : 9d753969ecbc28fa3f5c324bec8e7b4792e123e4
2018-10-10 19:56:23 +02:00
Dan Gohman
6d6afaac17
Bug 1497955: Simplify code generation for wasm truncations to int64 on x86; r=bbouvier
2018-10-11 11:30:13 +02:00
Narcis Beleuzu
e09f2e2622
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-10-12 06:53:11 +03:00
Andrew McCreight
53217795fe
Bug 1493237
- Use a test-only non-nsISupports wrapper cached WebIDL class in a weak map test r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D8134
--HG--
extra : moz-landing-system : lando
2018-10-11 23:02:10 +00:00
Iain Ireland
5e4193a2fc
Bug 1423937: Add FrameIter::hasInitialEnvironment to guard FrameIter::callObj r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D8395
--HG--
extra : moz-landing-system : lando
2018-10-11 18:12:28 +00:00
Iain Ireland
49c397140e
Bug 1498303: Relax restrictions on pending exceptions in math functions called from recovery code r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D8448
--HG--
extra : moz-landing-system : lando
2018-10-11 21:30:18 +00:00
Benjamin Bouvier
b9854c4993
Bug 1497336: Remove Cranelift Win32 static analysis workaround; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D8062
--HG--
extra : moz-landing-system : lando
2018-10-11 14:52:39 +00:00
Tiberius Oros
fea4c7c01d
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-10-11 06:56:20 +03:00
Tiberius Oros
5354f50b94
Merge inbound to mozilla-central. a=merge
2018-10-11 06:54:10 +03:00
Iain Ireland
f05a1230df
Bug 1492977: Rework RAII exception guards r=tcampbell
...
Depends on D7942
Differential Revision: https://phabricator.services.mozilla.com/D7943
--HG--
extra : moz-landing-system : lando
2018-10-11 02:07:02 +00:00
Ashley Hauck
8fc722d9ca
Bug 1448039 - Remove UNOPTIMIZEABLE bits from baseline IC fallback stubs. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D7794
--HG--
extra : moz-landing-system : lando
2018-10-11 01:49:42 +00:00
Tiberius Oros
3315c9957a
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-10-11 01:12:20 +03:00
Karl Tomlinson
f5433aac83
Bug 1497388 clarify documentation of out-parameter values for wrappers and proxies r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D8049
--HG--
extra : moz-landing-system : lando
2018-10-10 17:49:50 +00:00
Eric Faust
3f1140230e
Bug 1497978 - Fix spammy jit-test warning in gc/bug-1155455.js. (r=tcampbell)
...
--HG--
extra : rebase_source : b18c83a08ceea55961bc56bc89509b6e17ad417a
extra : amend_source : ec209f2bd4434a466db36b6ec62a75ea8dc4b753
2018-10-10 12:08:33 -07:00
Iain Ireland
b43c084f1c
Bug 1492977: Mark returns-false-for-retry functions as Pure r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D7942
--HG--
extra : moz-landing-system : lando
2018-10-10 19:18:10 +00:00
Jason Orendorff
cca08d16a7
Bug 1497686 - Better error message when a jsapi-test fails with an exception pending. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D8154
--HG--
extra : moz-landing-system : lando
2018-10-10 17:47:54 +00:00
Denis Palmeiro
d2ce0ea45f
Bug 1496362 - Limit control of tracelogger to only the gecko profiler and the previous environment variables implementation that triggers tracelogger only on startup. r=sfink
...
Tracelogger is currently not setup to be toggled on and off while in the shell. Removing access to the "jit.enable-tracelogger" will force the tracelogger to be invoked either through the new tracelogger API which is intended to be used by the profiler, or through setting the environment variables TLDIR, TLOPTIONS, and TLLOG.
Differential Revision: https://phabricator.services.mozilla.com/D8250
--HG--
extra : moz-landing-system : lando
2018-10-10 18:36:53 +00:00
Andrew McCreight
59038534b1
Bug 1497342, part 3 - Turn some WeakMap chrome mochitests into plain mochitests r=bzbarsky
...
This only requires changing the surrounding test boilerplate and using
SpecialPowers to access chrome-privileged functions.
Depends on D8132
Differential Revision: https://phabricator.services.mozilla.com/D8133
--HG--
extra : moz-landing-system : lando
2018-10-10 17:35:56 +00:00
Andrew McCreight
397f9ae888
Bug 1497342, part 2 - Move some weak map tests r=bzbarsky
...
This patch moves some Chrome mochitests into the plain mochitest
directory, in order to try to preserve the history. It also removes
them from the list of tests. The next patch will fix the tests and
start running them again.
Depends on D8131
Differential Revision: https://phabricator.services.mozilla.com/D8132
--HG--
rename : js/xpconnect/tests/chrome/test_getweakmapkeys.xul => js/xpconnect/tests/mochitest/test_getweakmapkeys.html
rename : js/xpconnect/tests/chrome/test_paris_weakmap_keys.xul => js/xpconnect/tests/mochitest/test_paris_weakmap_keys.html
rename : js/xpconnect/tests/chrome/test_weakmaps.xul => js/xpconnect/tests/mochitest/test_weakmaps.html
extra : moz-landing-system : lando
2018-10-10 17:35:54 +00:00
Paul Bone
720e5ce650
Bug 1496699 - Refactor gcparam.js test r=sfink
...
--HG--
extra : rebase_source : 5a276c53ff4210ff29eb6a56273ef5ccdee1b219
2018-10-11 10:44:11 +11:00
Paul Bone
bbf119e7e5
Bug 1496699 - Use size_t for memory sizes r=sfink
...
Some of these values were uint64_t which would not have made sense on 32bit
systems.
--HG--
extra : rebase_source : 1fb364ddbaddf7936bcf68c031d77e9817289846
2018-10-04 19:13:49 +10:00
Paul Bone
07fe824ff5
Bug 1496699 - Convert some doubles to floats r=sfink
...
The tuning parameters (usually percentages) are approximate anyway, doubles
are overkill.
--HG--
extra : rebase_source : ef970cc1da606b8333090ab7395e6880ebdb851f
2018-10-04 19:13:20 +10:00
Luke Wagner
505513089b
Bug 1497612 - Baldr: add missing oom check for GetOptimizedBuildId (r=lth)
...
--HG--
extra : rebase_source : ad9e2129c8c1a69582c89a33edeb699dfa14f664
2018-10-10 14:56:44 -05:00
Gurzau Raul
fdf7e4364c
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-10-10 07:43:59 +03:00
Gurzau Raul
fa37566219
Merge inbound to mozilla-central. a=merge
2018-10-10 07:35:14 +03:00
Kris Maglione
c0ccca38cd
Bug 1455637: Use RefPtr rather than nsCOMPtr to avoid data race. r=mccr8
...
getter_AddRefs for nsCOMPtr does an AssertNoQueryNeeded check when its
temporary is destroyed. For the mReaderThread, this happens at a time when
control of the member variable has been handed over to the reader thread,
which causes a data race in the query needed check when the reader thread
shuts itself down and clears the member.
Switching to RefPtr solves this problem by removing the unnecessary check.
Differential Revision: https://phabricator.services.mozilla.com/D8135
--HG--
extra : rebase_source : 0532d152b6be57451e5729bf6b72e2056f3ed300
2018-10-09 13:22:28 -07:00
Eric Faust
b54f88b82c
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/ (r=jorendorff)
...
--HG--
extra : rebase_source : 3f1e7542a152a6992aa6ae7a5f24bd9442e3d21c
2018-10-09 15:41:50 -07:00
Eric Faust
f6e1f3d183
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/heap-analysis/ (r=jorendorff)
...
--HG--
extra : rebase_source : 84762df0b7e78462c85f0957abbbbe7a38c751fd
2018-10-09 15:41:50 -07:00
Eric Faust
ea0de15acf
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/xdr/ (r=jorendorff)
...
--HG--
extra : rebase_source : cb56a482a9d9bd2378deeac7285c8fc622d0a35b
2018-10-09 15:41:50 -07:00
Eric Faust
ed69df1491
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/regexp_parse/ (r=jorendorff)
...
--HG--
extra : rebase_source : 8ab3b2e745c2d9431bcd15582b6d8f54e8fb5c16
2018-10-09 15:41:50 -07:00
Eric Faust
287a92b60b
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/modules/ (r=jorendorff)
...
--HG--
extra : rebase_source : 3b3f3d1218de88ec7d14d4c10050cfca17a29612
2018-10-09 15:41:50 -07:00
Eric Faust
87596d9174
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/profiler/ (r=jorendorff)
...
--HG--
extra : rebase_source : 7326c9a30355b71d3092689825ad6d43df1b6283
2018-10-09 15:41:50 -07:00
Eric Faust
4455133024
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/parser/ (r=jorendorff)
...
--HG--
extra : rebase_source : 20f4b0a631045c586f295c0c18566544cef4e6dd
2018-10-09 15:41:50 -07:00
Eric Faust
cc1242c4e4
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/sharedbuf/ (r=jorendorff)
...
--HG--
extra : rebase_source : 781d8ba9f8b2327864b05ded53bf60cf857ec47a
2018-10-09 15:41:50 -07:00
Eric Faust
188d5bdfff
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/saved-stacks/ (r=jorendorff)
...
--HG--
extra : rebase_source : 312ae833959e6413b9f538f28f4d7d5059ae679b
2018-10-09 15:41:50 -07:00
Eric Faust
379d35e422
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/realms/ (r=jornedorff)
...
--HG--
extra : rebase_source : 33c9b22e22c2e9dcfd5a296866751e78910a1884
2018-10-09 15:41:50 -07:00
Eric Faust
56bd46acd3
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/atomics/ (r=jorendorff)
...
--HG--
extra : rebase_source : 10fc22c2ba4393fae409f21282f69f97dd531f4b
2018-10-09 15:41:50 -07:00
Eric Faust
2e24ea5a68
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/latin1/ (r=jorendorff)
...
--HG--
extra : rebase_source : 14484ca87bac0b38a457eaffd9a859404ca8d8b9
2018-10-09 15:41:50 -07:00
Eric Faust
5041ed1832
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/regexp/ (r=jorendorff)
...
--HG--
extra : rebase_source : cb9f3b98675bebe13bfe63ffcfb46242b2b6db6a
2018-10-09 15:41:50 -07:00
Eric Faust
9b5799d71d
Bug 1496297 - Use |jit-test| skip-if as appropriate in jite-test/tests/asm.js/ (r=jorendorff)
...
--HG--
extra : rebase_source : 37bcf51887661cba3f4420725136a2d26b84cdef
2018-10-09 15:41:50 -07:00
Eric Faust
194774ad5e
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/auto-regress/ (r=jorendorff)
...
--HG--
extra : rebase_source : 9df19f2134e23a4c549996e0abc0687b291532ad
2018-10-09 15:41:50 -07:00
Eric Faust
b185498dc4
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/baseline/ (r=jorendorff)
...
--HG--
extra : rebase_source : 9822a2e5ce4f8b0bff43fd699cd2ceac4aea19e7
2018-10-09 15:41:50 -07:00
Eric Faust
47ba62db37
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/debug/ (r=jorendorff)
...
--HG--
extra : rebase_source : 15d1d6d4642a701e61bf89871a6dd838cc881f7b
2018-10-09 15:41:50 -07:00
Eric Faust
fb1d4dcb44
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/gc/ (r=jorendorff)
...
--HG--
extra : rebase_source : 8ea986572532e6810404b997e8485ec0b47f151a
2018-10-09 15:41:50 -07:00
Eric Faust
2f7ab92902
Bug 1496297 - Use |jit-test| skip-if as appropriate to jit-test/tests/wasm/ (r=jorendorff)
...
--HG--
extra : rebase_source : ac68c742097f302ed39c81b518fced3e2c0de366
2018-10-09 15:41:50 -07:00
Eric Faust
31e5f2c26d
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/ion/ (r=jorendorff)
...
--HG--
extra : rebase_source : 862c2f56356e4a2356cd9fca414c06cd08e84c4e
2018-10-09 15:41:50 -07:00
Eric Faust
11056ec1ea
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/basic/ (r=jorendorff)
...
--HG--
extra : rebase_source : ba3a1186572935b06dedf780648d35f83f0cdb30
2018-10-09 15:41:50 -07:00
Eric Faust
d9e955cc7f
Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/TypedObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : 218ff68b96d43d8589e70491812ceb9c3d054817
2018-10-09 15:41:50 -07:00
Eric Faust
f3451fd69f
Bug 1496297 - Implement skip-if in jit-tests. (r=jorendorff)
...
--HG--
extra : rebase_source : 148341496c5b72dff22f42ff9e8ba3f34deab7c4
2018-10-09 15:41:50 -07:00
Gurzau Raul
2ab30dfc12
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-10-10 01:04:25 +03:00