Andreea Pavel
eea9366589
Backed out 10 changesets (bug 1439855) for build bustages at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Result.h:308 on a CLOSED TREE
...
Backed out changeset 4a36617f7f0d (bug 1439855)
Backed out changeset da50d0cc6c5b (bug 1439855)
Backed out changeset e1ac1d0b4ea1 (bug 1439855)
Backed out changeset f5acf9dfb9ad (bug 1439855)
Backed out changeset 16a32f1eddb2 (bug 1439855)
Backed out changeset 00aa64418797 (bug 1439855)
Backed out changeset 59838090809b (bug 1439855)
Backed out changeset 2916fe19f035 (bug 1439855)
Backed out changeset f8dabfc553ff (bug 1439855)
Backed out changeset 41c442ae9e6c (bug 1439855)
2018-04-16 18:36:43 +03:00
David Teller
7dfcaabf0e
Bug 1439855 - Make BinSource work with multipart tokenizer;r=arai,efaust
...
Note that BinSource-auto.{h, cpp} and BinToken.h are auto-generated from BinSource.{yaml, webidl}.
This patch contains the following changes:
- updates to the webidl specifications;
- adapt BinSource.* to the new tokenizer API;
- split BinASTParser across BinASTParserBase and BinASTParser<Tok>.
The effect is that we may now use the BinASTParser with both the (updated) tester tokenizer
and the (new) multipart tokenizer.
MozReview-Commit-ID: HCF2m3qDTFH
2018-04-05 14:31:40 +02:00
David Teller
d417e6c210
Bug 1439855 - Extend JS shell parse command to allow forcing full parsing;r=arai
...
This is useful mostly for benchmarking.
MozReview-Commit-ID: ZzWA6fxCGN
2018-04-05 14:31:39 +02:00
David Teller
026e9ccfe4
Bug 1439855 - Extend JS shell binParse with ability to pick a tokenizer;r=arai
...
MozReview-Commit-ID: 9EQY36O9wQo
2018-04-05 14:31:39 +02:00
David Teller
0a64fe3419
Bug 1439855 - Bunch of macros shared among BinAST files;r=arai
...
MozReview-Commit-ID: 6q27OFhLlc6
2018-04-05 14:31:39 +02:00
David Teller
ce203c2da9
Bug 1439855 - Fast lookup for BinAST string constants, shared among parsers;r=arai
...
BinAST parsers need to perform frequent lookup for string values, e.g. once for each `let`, `var`, `const`,
`+`, `-`, `instanceof` (string enums), as well as a number of startup lookups for string values such as
"LiteralNullExpression", etc. (ast table)
This patch introduces zero-copy lookup tables for both of these. These tables are shared among instances of parsers in a JSRuntime.
MozReview-Commit-ID: 75BasAxLoha
2018-04-05 14:31:39 +02:00
David Teller
67811784ed
Bug 1439855 - Splitting the BinTokenReaderTester in two;r=arai
...
As a preliminary step for introducing the BinTokenReaderMultipart, we start by splitting the BinTokenReaderTester in two.
Also, we change a bit the API of the BinTokenReaderTester to uniformize with the BinTokenReaderMultipart.
MozReview-Commit-ID: 4SlHaqEAZMk
2018-04-05 14:31:39 +02:00
David Teller
29001fd66a
Bug 1439855 - Extending BinAST parser generator with support for multipart tokenizer;r=jorendorff
...
Changes:
- instead of parsing string enums by string matching, we go through a new `enum class` `BinVariant`, whose handling is part of the tokenizer;
- we now generate this `enum class`.
MozReview-Commit-ID: FnzG772RZam
2018-04-05 14:31:39 +02:00
David Teller
3d3088e6c7
Bug 1439855 - Introduce BinAST multipart tokenizer;r=arai
...
This introduces a new tokenizer for the BinAST parser: the multipart tokenizer.
The format used by the multipart tokenizer is described here: https://binast.github.io/binjs-ref/binjs_io/multipart/index.html
While the details of the format may still change, this is the tokenizer we intend to ship.
We only implement the `identity; ` compression scheme. For the moment, there are no plans to implement other compression schemes.
MozReview-Commit-ID: 8WUa3QX5GWt
2018-04-05 14:31:40 +02:00
David Teller
35ba2fc42c
Bug 1439855 - Tests for BinAST multipart tokenizer (data);r=arai
...
MozReview-Commit-ID: KlzxtGmCYVD
2018-04-05 12:16:30 +02:00
David Teller
c03bb3d5b6
Bug 1439855 - Tests for multipart tokenizer;r=arai
...
MozReview-Commit-ID: 7V2BWAcpA1D
2018-04-12 15:13:22 +02:00
Jan de Mooij
55352d995e
Bug 1452982 part 10 - Rename *ActiveCooperatingThread to *MainThread. r=jonco
2018-04-15 13:18:46 +02:00
Jeff Walden
7383b74415
Bug 1453456 - Replace JS7_ISDEC with mozilla::IsAsciiDigit. r=froydnj
2018-04-13 13:01:10 -07:00
Jeff Walden
738579bba3
Bug 1453456 - Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
2018-04-12 20:19:30 -07:00
Jeff Walden
92c8bc4bbe
Bug 1453456 - Add/use more ASCII alphanumeric testing/conversion functions from MFBT in SpiderMonkey code in various places. r=froydnj
2018-04-10 11:42:54 -07:00
Jeff Walden
2400cef7fa
Bug 1447668. r=jorendorff
2018-03-27 14:01:43 -07:00
Jeff Walden
ae75549210
|this->|-qualify some templated member functions to help some buggy compilers along. No bug, r=me
2018-04-13 14:30:23 -07:00
Noemi Erli
d0293f2122
Merge inbound to mozilla-central. a=merge
2018-04-14 12:49:03 +03:00
Jan de Mooij
aef9c77869
Bug 1452982 part 9 - Remove/rename remaining ZoneGroup references. r=jonco
2018-04-14 09:03:47 +02:00
Jan de Mooij
c08fb56f22
Bug 1452982 part 8 - Remove ZoneGroup.h/cpp files. r=jonco
2018-04-14 09:03:21 +02:00
Jan de Mooij
9b0dc0459b
Bug 1452982 part 7 - Rename ZoneGroupData to ZoneData. r=jonco
2018-04-14 09:02:57 +02:00
André Bargull
e886938222
Bug 1447442 - Part 16: Replace MOZ_BEGIN_EXTERN_C in C++ header jspubtd.h and remove unused includes and declarations. r=jorendorff
2018-04-13 02:26:02 -07:00
André Bargull
805aab7c25
Bug 1447442 - Part 15: Potpourri of changes to use more concrete types, move a declaration, avoid code duplication. r=jorendorff
2018-04-13 02:26:02 -07:00
André Bargull
6901d03d42
Bug 1447442 - Part 14: Remove unused parameters from GlobalObject::createBlankPrototypeInheriting and js::InitClass. r=jorendorff
2018-04-13 02:26:02 -07:00
André Bargull
48dae45690
Bug 1447442 - Part 13: Remove additional unused declarations. r=jorendorff
2018-04-13 02:26:02 -07:00
André Bargull
fce4acf6fd
Bug 1447442 - Part 12: Remove unused HAVE_HYPOT from old-configure and update comments in hypot function. r=jorendorff
2018-04-13 02:26:01 -07:00
André Bargull
fee14104d4
Bug 1447442 - Part 11: Use MOZ_IS_GCC to test for GCC. r=Waldo
2018-04-13 02:26:01 -07:00
André Bargull
edf65fbbb0
Bug 1447442 - Part 10: Remove ifdefs for unsupported compiler versions. r=jorendorff
2018-04-13 02:26:01 -07:00
André Bargull
d6e74e8e4a
Bug 1447442 - Part 9: Remove unused JSWhyMagic constants. r=jorendorff
2018-04-13 02:26:01 -07:00
André Bargull
f53dc2bb14
Bug 1447442 - Part 8: Use UniqueChars and UniqueTwoByteChars typedefs in a few places. r=jorendorff
2018-04-13 02:26:01 -07:00
André Bargull
6cf0292374
Bug 1447442 - Part 7: More clean-up for typed arrays and array buffer views. r=jorendorff
2018-04-13 02:26:00 -07:00
André Bargull
aad735424b
Bug 1447442 - Part 6: Pass Handle<GlobalObject*> in ClassInitializerOp. r=jorendorff
2018-04-13 02:26:00 -07:00
André Bargull
7af4e27699
Bug 1447442 - Part 5: Use template versions of NewBuiltinClassInstance and NewObjectWithClassProto instead of manual casting. r=jorendorff
2018-04-13 02:26:00 -07:00
André Bargull
cf4a91a808
Bug 1447442 - Part 4: Move some definitions to where they are used. r=jorendorff
2018-04-13 02:25:59 -07:00
André Bargull
d397b05863
Bug 1447442 - Part 3: Remove JSValueArray and ValueArray. r=jorendorff
2018-04-13 02:25:59 -07:00
André Bargull
29054b8c66
Bug 1447442 - Part 2: Clean-up various calls to clarity. r=jorendorff
2018-04-13 02:25:58 -07:00
André Bargull
2c8d5a15b0
Bug 1447442 - Part 1: Remove unused functions and definitions. r=jorendorff
2018-04-13 02:25:58 -07:00
Andreea Pavel
9ea58b630a
Backed out 4 changesets (bug 1453456) for build bustages at js/src/jit-test/tests/ctypes/conversion-primitive.js on a CLOSED TREE
...
Backed out changeset 50cd4a60a402
Backed out changeset e0f8f325c2ce (bug 1453456 )
Backed out changeset 6a84718ddfe1 (bug 1453456 )
Backed out changeset fde6a66eb317 (bug 1453456 )
2018-04-14 00:52:06 +03:00
Jeff Walden
a82177274f
|this->|-qualify some templated member functions to help some buggy compilers along. No bug, r=bustage in a CLOSED TREE
2018-04-13 14:30:23 -07:00
Andreea Pavel
4417353e8a
Backed out changeset a30cf37ddcab (bug 1447668) for build bustages at /builds/worker/workspace/build/src/js/src/ctypes/CTypes.cpp:2607 on a CLOSED TREE
2018-04-14 00:06:12 +03:00
Jeff Walden
9740ec630c
Bug 1453456 - Replace JS7_ISDEC with mozilla::IsAsciiDigit. r=froydnj
2018-04-13 13:01:10 -07:00
Jeff Walden
a318c8b24f
Bug 1453456 - Add/use more ASCII alphanumeric testing/conversion functions from MFBT in SpiderMonkey code in various places. r=froydnj
2018-04-10 11:42:54 -07:00
Jeff Walden
7c6599d559
Bug 1447668. r=jorendorff
2018-03-27 14:01:43 -07:00
Lars T Hansen
ecf871fa0b
Bug 1445277 - Suppress GC when wasm is active and running with wasm-gc support. r=bbouvier
...
We emulate the effect of AutoSuppressGC whenever we enter wasm code
via a stub.
This is obviously a gross hack and only allowable since it is
nightly-only and under a pref. Strictly intended for rapid
prototyping; not intended to ship in this form. Eventually we'll have
proper GC support for wasm frames.
2018-03-23 15:45:50 +01:00
Benjamin Bouvier
fe055022dc
Bug 1445272: Implement basic anyref support in the baseline compiler; r=lth
2018-04-11 19:03:04 +02:00
Benjamin Bouvier
8e64532059
Bug 1445272: Add (entry/exit) stubs support for anyref; r=luke
2018-03-30 16:31:40 +02:00
Andreea Pavel
818d0f847f
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-04-14 00:58:36 +03:00
Tom Bannister
9257bacc72
Bug 1434710 - Replaced all instances of mozilla::IndexSequence, mozilla::MakeIndexSequence and mozilla::IndexSequenceFor with std::index_sequence, std::make_index_sequence and std::index_sequence_for and removed mfbt/IndexSequence.h. r=botond
...
MozReview-Commit-ID: 1Ema7TUNr5v
2018-04-09 21:12:13 +10:00
Sebastian Hengst
638806c147
merge mozilla-central to mozilla-inbound
2018-04-13 16:05:58 +03:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00