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

20 Коммитов

Автор SHA1 Сообщение Дата
Asumu Takikawa 96d2a3958e Bug 1608772 - Enable BigInt <-> i64 interconversion by default in JS shell and Nightly r=lth
This revision enables the Wasm BigInt<->I64 conversion proposal by default in the JS shell and Nightly.

Some tests are moved around to match the defaults and metadata for WPT wasm tests are set.

Differential Revision: https://phabricator.services.mozilla.com/D61762

--HG--
extra : moz-landing-system : lando
2020-02-06 15:47:34 +00:00
Jan de Mooij 44ec4609e5 Bug 1607494 - Disable Ion for the PAC script thread. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D59467

--HG--
extra : moz-landing-system : lando
2020-01-10 18:54:42 +00:00
Ted Campbell 736ef5b81f Bug 1603845 - Fix clang-format issues in js/ r=iain
Differential Revision: https://phabricator.services.mozilla.com/D57163

--HG--
extra : moz-landing-system : lando
2019-12-13 21:35:17 +00:00
Asumu Takikawa 7c2c17a2e7 Bug 1511958 - Implement i64<>JavaScript’s BigInt conversions proposal (part 2, runtime flag and testing function)
This is part 2 of a series of revs that split up D41710 (for Wasm I64 to BigInt conversion) into smaller revs. This rev depends on the compile-time flag added in D43177 and adds a runtime flag to JSContext options that will toggle whether I64 to BigInt conversion is used. The flag will get used mostly in WasmInstance.cpp, but it also needs to be used to toggle I64 error checks in both Ion inlining code and in Wasm stub generation code. To pass that information along, the flag is also put in CompileArgs for WasmCompile and then copied to wasm module metadata (so that it can be read from lazy stub generation code).

Differential Revision: https://phabricator.services.mozilla.com/D43179
2019-12-04 13:30:06 +02:00
Philip Chimento 60223e4965 Bug 1590907 - Remove preprocessor dependence from size of ContextOptions. r=sfink
Previously, if SpiderMonkey embedders linked to a copy of libmozjs built
with --enable-cranelift, --enable-wasm-gc, or --enable-fuzzing, then the
size of the ContextOptions data structure declared in the header file
would be different than the size of ContextOptions in the library,
likely leading to crashes. This makes all members of ContextOptions
independent of preprocessor macros. Any options not compiled into
SpiderMonkey will still be no-ops.

Differential Revision: https://phabricator.services.mozilla.com/D52460

--HG--
extra : moz-landing-system : lando
2019-11-26 07:25:22 +00:00
Brindusan Cristian 3e0cb96b6e Backed out 7 changesets (bug 1590907) for build bustages at jsfriendapi.cpp. CLOSED TREE
Backed out changeset d6ac9325cb2c (bug 1590907)
Backed out changeset fc85ee5e144c (bug 1590907)
Backed out changeset 1b5b40dcaac4 (bug 1590907)
Backed out changeset 1b2d91f00be2 (bug 1590907)
Backed out changeset 67f939760329 (bug 1590907)
Backed out changeset 4d5818a72b46 (bug 1590907)
Backed out changeset 308b42f3a99c (bug 1590907)

--HG--
extra : rebase_source : 47578231d4749f023c3d206c479ee532dbf6fc6c
extra : histedit_source : 9e7427349342272e7fbe02fee29cb87cda45f75d
2019-11-26 05:23:11 +02:00
Philip Chimento 28a552a99b Bug 1590907 - Remove preprocessor dependence from size of ContextOptions. r=sfink
Previously, if SpiderMonkey embedders linked to a copy of libmozjs built
with --enable-cranelift, --enable-wasm-gc, or --enable-fuzzing, then the
size of the ContextOptions data structure declared in the header file
would be different than the size of ContextOptions in the library,
likely leading to crashes. This makes all members of ContextOptions
independent of preprocessor macros. Any options not compiled into
SpiderMonkey will still be no-ops.

Differential Revision: https://phabricator.services.mozilla.com/D52460

--HG--
extra : moz-landing-system : lando
2019-11-26 02:01:46 +00:00
Philip Chimento 1fab6fc78e Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink
Depends on D49098

Differential Revision: https://phabricator.services.mozilla.com/D49099

--HG--
extra : moz-landing-system : lando
2019-10-27 22:34:11 +00:00
Tom Ritter 754ebbc4d7 Bug 1576254 - Add a wasmForTrustedPrinciples bool onto ContextOptions that (currently) behaves the exact same as the wasm bool r=luke
In a future commit we will tie this boolean to its own preference value, but here we
initialize it with the same value as the wasm boolean.

We also update wasm::HasSupport to check the to-be-added isSystemOrAddonPrincipal()
method on JSPrincipals to determine which member (wasm or wasmForTrustedPrinciples)
to consult.

Differential Revision: https://phabricator.services.mozilla.com/D47472

--HG--
extra : moz-landing-system : lando
2019-10-04 17:35:46 +00:00
Jan de Mooij 93d6f816f0 Bug 1564349 part 1 - Convert Baseline/Ion/NativeRegExp prefs from ContextOptions to JitOptions. r=nbp,smaug
Using process-wide prefs is consistent with the other JIT options and is simpler
to work with (one place to initialize for all runtimes).

Differential Revision: https://phabricator.services.mozilla.com/D37385

--HG--
extra : moz-landing-system : lando
2019-07-10 09:43:39 +00:00
Andreea Pavel 5e0cd4cef7 Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2019-03-07 12:00:37 +02:00
Sean Stangl 3bc83a5a93 Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.

Differential Revision: https://phabricator.services.mozilla.com/D20243

--HG--
extra : moz-landing-system : lando
2019-03-07 03:57:23 +00:00
Lars T Hansen deeddf1721 Bug 1488205 - Repurpose the --wasm-gc switch for GC. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D21692

--HG--
extra : rebase_source : 83d2b48fd76a03a8cf175e5f820b4b33f087e4d2
extra : histedit_source : e90289fdb70c787a90a338a2d64e902f4051b34c
2019-03-01 09:55:31 +01:00
Gurzau Raul c0b13b1cae Backed out changeset b2fb7cd41c79 (bug 1528869) for failing at /waiterlist-order-of-operations-is-fifo.js on a CLOSED TREE. 2019-03-06 09:44:58 +02:00
Sean Stangl c2742fbea5 Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.

Differential Revision: https://phabricator.services.mozilla.com/D20243

--HG--
extra : moz-landing-system : lando
2019-03-06 04:40:51 +00:00
Dorel Luca 903004bb6f Backed out changeset 240f53dcb5e6 (bug 1528869) for Spidermonkey failure 2019-02-19 20:36:06 +02:00
Sean Stangl 5d0615ddcc Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.

Differential Revision: https://phabricator.services.mozilla.com/D20243

--HG--
extra : moz-landing-system : lando
2019-02-19 13:31:33 +00:00
Sean Stangl c82dda2439 Bug 1523015 - Summary: Enable Ion on ARM64, but disable in-browser by pref. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D19448

--HG--
extra : moz-landing-system : lando
2019-02-12 22:50:27 +00:00
Sylvestre Ledru 14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D18488

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Jeff Walden 59aaefa333 Bug 1522350 - Move JS::ContextOptions{,Ref} to a new js/public/ContextOptions.h header to further slim jsapi.h. r=arai
--HG--
rename : js/src/jsapi.h => js/public/ContextOptions.h
2019-01-23 16:56:56 -08:00