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

85 Коммитов

Автор SHA1 Сообщение Дата
Lars T Hansen 2f39ed5e4a Bug 1531670 - Replace ENABLE_WASM_GENERALIZED_TABLES. r=bbouvier
Replace all uses of ENABLE_WASM_GENERALIZED_TABLES with
ENABLE_WASM_REFTYPES, plus some knock-on effects.

Replace all uses of wasmGeneralizedTables with wasmReftypesEnabled.

Drive-by fix: replace 'anyfunc' in a couple of error strings with the
canonical 'funcref'.

Drive-by fix: remove isSimdAvailable, it is not used and we have no
SIMD.

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

--HG--
extra : rebase_source : 043732afa1661133eaff54554e56f76fe3e32504
2019-03-01 09:33:31 +01:00
Mike Hommey e5a0b72512 Bug 1528226 - Check rustc version before cbindgen. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19941

--HG--
extra : moz-landing-system : lando
2019-02-15 15:23:08 +00:00
Benjamin Bouvier f025370191 Bug 1527861: Allow disabling BinAST compilation; r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D19765

--HG--
extra : rebase_source : 059c236c7c3bcfff8349072cfb7a0364cf4d5f71
extra : amend_source : ee72ef04d5bc75c003f6aa3eedae028a8a3f491d
extra : histedit_source : 795c699d7f003b69569e8aacede6fea76b6e79f9
2019-02-14 11:52:57 +01:00
Benjamin Bouvier afec75505d Bug 1524337: Move WebAssembly reftypes/gc configuration to moz.configure; r=luke
Differential Revision: https://phabricator.services.mozilla.com/D19788

--HG--
extra : rebase_source : 35112254e9eb5f239650466cc73329ccc175af4a
extra : histedit_source : 5a1a1d6b663c46b9cb63998566e8f101cf19eb46
2019-02-14 12:59:38 +01:00
Benjamin Bouvier 638a7c7e06 Bug 1524337: Use moz.configure for the WebAssembly bulk memory proposal; r=luke
Differential Revision: https://phabricator.services.mozilla.com/D19787

--HG--
extra : rebase_source : 7c4a67e8edf4f86e1f36e05284e1391a79556a07
extra : histedit_source : e82240942aafcde39e6b28087158769f12e428bd
2019-02-14 12:54:43 +01:00
Benjamin Bouvier 15a9d62bdb Bug 1524337: Rename ENABLE_BINARYDATA to ENABLE_TYPED_OBJECTS and use moz.configure; r=luke
Differential Revision: https://phabricator.services.mozilla.com/D19786

--HG--
extra : rebase_source : af564cff5be797b6c993fc80d9527b5196680ff8
extra : histedit_source : 8f8f4afa70341fd0628f46f41b5a01260d01c9b3
2019-02-14 12:44:25 +01:00
Andy Wingo 7d559ef8c3 Bug 1527860 - Remove ENABLE_BIGINT #ifdef r=jandem,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19766

--HG--
extra : moz-landing-system : lando
2019-02-14 15:03:44 +00:00
Tooru Fujisawa f56506f966 Bug 1527515 - Enable building BinAST on win32 and android nightlies. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D19608

--HG--
extra : moz-landing-system : lando
2019-02-13 08:42:47 +00:00
Razvan Maries e5944cdd0e Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-07 23:49:13 +02:00
Andy Wingo 585800608e Bug 1522436 - Enable BigInt compilation by default r=jandem,terpri,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17487

--HG--
extra : moz-landing-system : lando
2019-02-06 13:41:56 +00:00
Benjamin Bouvier 62e9c068e7 Bug 1523993: Add JitOptions to disable wasm fast paths; r=luke
This adds a new configure option `--enable-wasm-codegen-debug`, which defaults
to true in debug builds (disable otherwise).

It's a first step so as to be able to use this in both the shell and browser,
using the env variables JIT_OPTION_{JitOption field name}.

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

--HG--
extra : rebase_source : 37c717f4cc225a9a7d162df3b0312b68e39ad07e
2019-01-31 18:29:02 +01:00
Brindusan Cristian 2ad6bc9f9b Backed out 2 changesets (bug 1523993) for build bustages on WasmStubs.cpp. CLOSED TREE
Backed out changeset e8a0e28d1443 (bug 1523993)
Backed out changeset 454d1b05007a (bug 1523993)

--HG--
extra : histedit_source : f24f6597ab5e03d2c55da7a040cbe213234ae81a
2019-02-06 19:12:54 +02:00
Benjamin Bouvier 2ce2c5e407 Bug 1523993: Add JitOptions to disable wasm fast paths; r=luke
This adds a new configure option `--enable-wasm-codegen-debug`, which defaults
to true in debug builds (disable otherwise).

It's a first step so as to be able to use this in both the shell and browser,
using the env variables JIT_OPTION_{JitOption field name}.

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

--HG--
extra : moz-landing-system : lando
2019-02-06 16:39:31 +00:00
Mike Hommey 367db61b4a Bug 1519319 - Move bindgen.configure include to js/moz.configure. r=froydnj
Bindgen is only used when building js or toolkit, so we only need to
include the configure part in js/moz.configure, which is included in
both cases.

Depends on D16293

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:17:54 +00:00
Mike Hommey 65e1e6bb41 Bug 1519040 - Remove some unused old-configure assignments. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D16159

--HG--
extra : moz-landing-system : lando
2019-01-10 22:02:04 +00:00
Mike Hommey ab48d17e1a Bug 1513134 - Detect unnecessary --help dependencies. r=firefox-build-system-reviewers,gps
Depends on D14125

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

--HG--
extra : moz-landing-system : lando
2018-12-11 19:34:28 +00:00
Matthew Gaudet 056ca1083b Bug 1504005 - Initial Structured Spewer r=jandem
This spewer design has two goals:

  1. Provide a spew mechanism that has first-class support for slicing and
     dicing output. This means that filtering by script and channel should be
     the dominant output mechanism.
  2. Provide a simple powerful mechanism for getting information out of the
     compiler and into tools. I'm inspired by tools like CacheIR analyzer,
     IR Hydra, and the upcoming tracelogger integration into perf.html.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 14:37:01 +00:00
Brindusan Cristian 203afd2294 Backed out changeset f7f8b232d111 (bug 1504005) for devtools failures on browser_dbg_rr_breakpoints-01.js. 2018-11-28 18:04:30 +02:00
Matthew Gaudet 9167627d07 Bug 1504005 - Initial Structured Spewer r=jandem
This spewer design has two goals:

  1. Provide a spew mechanism that has first-class support for slicing and
     dicing output. This means that filtering by script and channel should be
     the dominant output mechanism.
  2. Provide a simple powerful mechanism for getting information out of the
     compiler and into tools. I'm inspired by tools like CacheIR analyzer,
     IR Hydra, and the upcoming tracelogger integration into perf.html.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 14:03:02 +00:00
Tooru Fujisawa cd326f0e81 Bug 1492716 - Part 2: Add formatting rule to help text for --{enable,disable,with,without}. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8834
2018-10-16 20:28:12 +09:00
Nicolas B. Pierron cf794f4cfb Bug 1502106 - Add a configure option to disable assume_unreachable spew. r=iain 2018-10-26 12:03:21 +02: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
Benjamin Bouvier 690bd720a5 Bug 1490948: Compile Cranelift on Nightlies except for Win32 static analysis builds; r=chmanchester
... where LLVM (32-bits toolchain) runs out of memory when compiling
gkrust.

--HG--
extra : rebase_source : f47ba34fddcb3913793781fd26cfa32293b5baf9
extra : histedit_source : 2f85d1864f963759bc97cb69b39648fb0d964578
2018-09-25 19:05:08 +02:00
Thomas P. fde56b2dde Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj 2018-09-20 21:21:38 +00:00
Andreea Pavel a6ba34f2ad Backed out 2 changesets (bug 1483780) for build bustages on a CLOSED TREE
Backed out changeset 2b0a42c589c5 (bug 1483780)
Backed out changeset 48d133cbafd3 (bug 1483780)
2018-09-21 05:43:03 +03:00
Thomas P. dae33d978b Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj superreview=decoder
--HG--
extra : histedit_source : 6fd1a37c3fb5d8997be11f7846b2976fc7b8a647
2018-09-11 03:49:37 +00:00
Benjamin Bouvier 5a8d6c8eac Bug 1469027: Add a --wasm-force-cranelift flag to the shell; r=luke
--HG--
extra : rebase_source : f41aceb2ffd8c002b05593983cf428618ee135fb
extra : histedit_source : c645382205fc5aabd27f17d22d5ce5bed29b1493
2018-09-07 13:42:16 +02:00
Jesse Schwartzentruber f832b4022e Bug 1475573 - Create --enable-fuzzing debug build job for Android x86 firefox. r=nalexander,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D2428

--HG--
extra : moz-landing-system : lando
2018-08-31 03:35:20 +00:00
Nathan Froyd 3dc6481a30 Bug 1444141 - part 4 - make the JS engine depend on Rust; r=chmanchester,glandium,jorendorff
The Rust dependency in Firefox has been limited to Firefox builds by
virtue of having the Rust check in a Firefox-specific location,
toolkit/moz.configure.  For JS to start depending on Rust, we need to
move that check to a location where a standalone JS engine build will
pick up the Rust check.
2018-08-02 11:00:21 -05:00
Nathan Froyd 665c411039 Bug 1476423 - add --enable-cranelift option; r=gps,sunfish 2018-07-24 14:31:45 -04:00
Robin Templeton de41c625dd Bug 1366287 - Part 1.0: Define a new BigInt primitive type, with a GDB prettyprinter, Rust binding support, and a new out-of-line TraceKind. (Disabled by default, implemented only incompletely, currently passing --enable-bigint will disable JITs, will be flipped on Eventually once every sub-aspect is in place, Don't Have A Cow, Man.) r=jwalden, r=Ms2ger, r=sfink
--HG--
extra : rebase_source : aa13bd94bc6157ff8134894e3ba2e7a2b53e28d9
2018-05-24 11:26:09 -07:00
Emanuel Hoogeveen e54b120cc7 Bug 1440417: Determine JS_64BIT at configure time. r=froydnj 2018-02-22 10:40:00 +02:00
Nathan Froyd 87e87fc09b Bug 1434659 - move --enable-oom-breakpoint to moz.configure; r=nalexander 2018-01-31 14:35:57 -05:00
Lars T Hansen 3dacab010f Bug 1430161 - Factor ARM disassembler, implement for ARM64. r=nbp
We extract the ARM disassembler bits and place them in
jit/shared/Disassembler-shared.{cpp,h}, and then clean them up and
generalize them.  The ARM assembler is slightly modified to deal with
this but the changes are local.

We then add code to the ARM64 assembler to drive the disassembler.
The structure is as for the ARM disassembler.

--HG--
extra : rebase_source : 7197ec8b3b8985005efb7522b6719140b2eac5e4
extra : source : aa8517d9efb1aa89f4661bdb095d5a0f526cb652
2017-12-15 13:10:23 -06:00
David Teller 45ce7d84db Bug 1377007 - Enable/disable building of binjs;r=Yoric
MozReview-Commit-ID: 6iFgTPWV56T

--HG--
extra : rebase_source : 0c1d21a6fbad7b9d3750f8cdcb3081732bbe401c
2017-12-15 09:54:55 -06:00
Nathan Froyd cd85ab8af7 Bug 1422734 - move --enable-small-chunk-size to moz.configure; r=chmanchester 2017-12-03 13:44:55 -05:00
Dorel Luca 20ddc8dfae Backed out 7 changesets (bug 1377007) for failing build bustage on Linux pgo and faling Cpp's jsapi-tests r=backout on a CLOSED TREE
Backed out changeset 9428a4ed7dec (bug 1377007)
Backed out changeset 4407b43a8aff (bug 1377007)
Backed out changeset 65a37a7f78a5 (bug 1377007)
Backed out changeset 276fe6d9b716 (bug 1377007)
Backed out changeset 1de46e60ffba (bug 1377007)
Backed out changeset 893e303e17ec (bug 1377007)
Backed out changeset 081a241e25d4 (bug 1377007)
2017-12-04 18:01:09 +02:00
David Teller 9e9a48523b Bug 1377007 - Adding a SpiderMonkey compilation flag for BinAST;r=ted
MozReview-Commit-ID: qJ6SY8YlQ2

--HG--
extra : rebase_source : 7aedde8309069cdaa2f9626b2c6a118626a3ed1b
2017-10-18 10:49:47 +01:00
Nathan Froyd 3a307d4ebb Bug 1422540 - move --enable-gczeal to moz.configure; r=nalexander 2017-12-03 13:40:03 -05:00
Nathan Froyd 609fb452b4 Bug 1422380 - move --enable-jitspew to moz.configure; r=nalexander 2017-12-02 13:43:40 -05:00
Nathan Froyd 01a91d775d Bug 1421792 - move --enable-trace-logging to moz.configure; r=nalexander 2017-12-02 13:43:41 -05:00
Nathan Froyd e511fa1e4b Backout f9231cda92d8 (bug 1421792) on suspicion of causing inscrutable moz.configure lint errors; r=bustage
Do this on a CLOSED TREE, of course.
2017-12-01 22:04:58 -05:00
Nathan Froyd ed33603f94 Bug 1421792 - move --enable-trace-logging to moz.configure; r=nalexander 2017-12-01 21:29:27 -05:00
Nathan Froyd d7b5304b9d Bug 1421791 - move --enable-{ion,simulator} definitions to moz.configure; r=nalexander
--enable-ion was only used by --enable-simulator and related options, so
there wasn't much point in making two separate commits.

This translation is a little more verbose than the original
old-configure code, but I think it is more readable and easier to
follow.  We also don't port over --enable-simulator=no, as there doesn't
seem to be much point in doing so.
2017-12-01 21:29:27 -05:00
Nathan Froyd 1198705b7d Bug 1421687 - move JS_*UNBOX* definitions to moz.configure; r=nalexander 2017-12-01 21:29:28 -05:00
Jesse Schwartzentruber 5b3e545888 Bug 1419798 - Only build fuzzing interfaces if clang or AFL compilers are used. r=glandium
MozReview-Commit-ID: H1I9wdqTV4n

--HG--
extra : rebase_source : 18eb2536a5db80c585828ae44329f1a00d82209a
2017-11-22 11:21:09 -05:00
Hiroaki Karasawa 24b109a6bc Bug 1405943 - Part 1: Implement Pipeline Operator |>. r=arai 2017-10-17 00:10:00 -04:00
Nick Fitzgerald 9da40f6365 Bug 1277338 - Part 7: Export mozglue when JS_STANDALONE && !jemalloc; r=glandium,sfink
This makes sure that:

* We don't define `MOZ_GLUE_IN_PROGRAM` so that everything in mozglue gets
  defined.

* `MFBT_API`'s symbol export rules match `JS_PUBLIC_API` and `EXPORT_JS_API`.

* We add mozglue to SpiderMonkey's `USE_LIBS` when jemalloc is disabled.
2017-08-31 15:59:13 -07:00
Sean Stangl 4e8843518e Bug 1332466 - Update VTune integration. r=sfink 2017-01-17 14:35:42 -08:00
Christian Holler 2e12913349 Bug 1333252 - Move FUZZING definition from toolkit to js. r=glandium
MozReview-Commit-ID: GjmfY5GjXJc

--HG--
extra : rebase_source : 9af2364425758bd00108fdcd454f0f8c69c98ce8
2017-01-24 00:40:38 +01:00