Commit Graph

69524 Commits

Author SHA1 Message Date
David Major
00ff182cab Bug 1526276 - Add a fake unwind code to arm64 JIT function entries r=luke
This works around the issue where if the PC and SP don't change while unwinding our JIT frame, we'll fail the unwinder's sanity checks and it won't call our exception handler.

Ideally we'd store proper unwind info, but that's a larger change for another day.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 21:04:41 +00:00
Nika Layzell
f3274c2fd2 Bug 1522579 - Part 1: Remove PContentBridge, r=mccr8
This actor won't be being used anymore, and acts only as a maintenance burden
for people working on this code (which we're doing pretty often these days!).

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

--HG--
extra : moz-landing-system : lando
2019-02-25 20:04:45 +00:00
Cosmin Sabou
2bc99829bf Backed out changeset 4d220064bcf8 (bug 1529681) for causing Windows 2012 AArch64 build bustages. CLOSED TREE
--HG--
extra : histedit_source : a68af39c236effa1c63bb091f4f72146c84a1be3
2019-02-25 20:31:13 +02:00
Emilio Cobos Álvarez
a970076f63 Bug 1529681 - Update bindgen. r=bbouvier 2019-02-25 09:51:02 -08:00
Andreea Pavel
a3b096ca44 Backed out changeset e67aafaf366c (bug 1530396) for build bustages on a CLOSED TREE 2019-02-25 19:14:28 +02:00
Andy Wingo
dc3ca84f73 Bug 1528803 - Add decompile support for new instructions r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D20327

--HG--
extra : moz-landing-system : lando
2019-02-25 15:40:04 +00:00
Nicolas B. Pierron
2492902397 Bug 1530396 - Move the AutoFlushICache to the Linker. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D21025

--HG--
extra : moz-landing-system : lando
2019-02-25 17:00:25 +00:00
Andreea Pavel
6d82da21f3 Backed out changeset e99833064d36 (bug 1529681) for build bustages on a CLOSED TREE 2019-02-25 18:44:17 +02:00
Andreea Pavel
cd1b27ad4d Backed out 6 changesets (bug 1522579) for build bustages on a CLOSED TREE
Backed out changeset 3c8320baa230 (bug 1522579)
Backed out changeset 0a288a3d85cd (bug 1522579)
Backed out changeset ecfd27e7d150 (bug 1522579)
Backed out changeset eda40fca0758 (bug 1522579)
Backed out changeset 5c7aafa32a0a (bug 1522579)
Backed out changeset a3c5a2c16411 (bug 1522579)
2019-02-25 18:19:38 +02:00
Nika Layzell
7924bfa435 Bug 1522579 - Part 1: Remove PContentBridge, r=mccr8
This actor won't be being used anymore, and acts only as a maintenance burden
for people working on this code (which we're doing pretty often these days!).

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

--HG--
extra : moz-landing-system : lando
2019-02-25 15:51:10 +00:00
Emilio Cobos Álvarez
66f3c5b7eb Bug 1529681 - Update bindgen. r=bbouvier
This works around an LLVM bug and also pulls a fair amount of bugfixes and perf
improvements. None of the breaking changes affect either the style system or
cranelift stuff.

Changelog for convenience:

https://github.com/rust-lang/rust-bindgen/compare/v0.43.2...v0.47.2

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

--HG--
extra : moz-landing-system : lando
2019-02-25 09:43:11 +00:00
Andy Wingo
599935c3ff Bug 1454862 - Enable compaction for BigInt values r=tcampbell,jonco
Differential Revision: https://phabricator.services.mozilla.com/D20986

--HG--
extra : moz-landing-system : lando
2019-02-25 15:28:42 +00:00
Ted Campbell
f2fc977e20 Bug 1530034 - Use default initializers for BytecodeEmitter fields. r=jorendorff
Also replace a few packed bitfields with normal fields since this is a
stack type only.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 15:03:59 +00:00
Ted Campbell
5016fe699c Bug 1530034 - Use mozilla::Maybe in BytecodeEmitter when reasonable. r=jorendorff
Depends on D20884

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

--HG--
extra : moz-landing-system : lando
2019-02-25 14:04:14 +00:00
Nicolas B. Pierron
f4ce4fc793 Bug 1529072 - JS Fuzzing: Add flag to fuzz harder than --ion-eager. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D20477

--HG--
extra : moz-landing-system : lando
2019-02-25 10:38:26 +00:00
Matthew Gaudet
f35c0b7d5d Bug 1524419: Incrementally touch stack on arm64 r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D19992

--HG--
extra : moz-landing-system : lando
2019-02-25 13:58:15 +00:00
Andy Wingo
2f05020cb3 Bug 1528784 - Pass BigInt as receiver when retrieving "toJSON" property r=anba
Differential Revision: https://phabricator.services.mozilla.com/D20304

--HG--
extra : moz-landing-system : lando
2019-02-25 10:41:47 +00:00
Andreea Pavel
7734adfd57 Backed out changeset 95e3e6f91e6e (bug 1528803) for build bustages on a CLOSED TREE 2019-02-25 12:56:18 +02:00
Andy Wingo
a4201056d3 Bug 1528803 - Add decompile support for new instructions r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D20327

--HG--
extra : moz-landing-system : lando
2019-02-25 08:13:39 +00:00
Oana Pop Rus
c66e162357 Merge inbound to mozilla-central. a=merge 2019-02-25 12:23:30 +02:00
Paul Bone
437a03b092 Bug 1527532 - Make initial nursery size smaller r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D19349

--HG--
extra : moz-landing-system : lando
2019-02-25 02:49:17 +00:00
Tooru Fujisawa
ab3eee7b52 Bug 1529448 - Move {hasUsedName,hasUsedNamedeclareFunctionThis,declareFunctionThis,declareFunctionArgumentsObject,declareDotGeneratorName} to ParseContext. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D20779

--HG--
extra : moz-landing-system : lando
2019-02-24 03:35:44 +00:00
Tooru Fujisawa
54d153b42a Bug 1529439 - Share variable redeclaration code between regular parser and BinAST parser. r=Yoric
Shared the part to redeclare vars as body-level functions.

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

--HG--
extra : moz-landing-system : lando
2019-02-24 03:35:19 +00:00
Tooru Fujisawa
7f54ff4d1d Bug 1529823 - Remove untagged tuple. r=Yoric
Untagged tuple is not used in multipart format and entropy format.

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

--HG--
extra : moz-landing-system : lando
2019-02-24 03:34:46 +00:00
Tooru Fujisawa
765b149359 Bug 1529442 - Move BinASTParserBase fields to BinASTParserPerTokenizer. r=Yoric
Both BinASTParserBase.{lazyScript_,handler_} are not used in BinASTParserBase,
but in BinASTParserPerTokenizer.
Moved them to BinASTParserPerTokenizer.

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

--HG--
extra : moz-landing-system : lando
2019-02-24 03:34:03 +00:00
Tooru Fujisawa
de2a04e277 Bug 1528844 - Move ParseNode allocation from BinASTParserBase to FullParseHandler. r=Yoric
BinASTParserBase::allocParseNode was used only for creating
ParseNodeKind::ParamsBody node, and other nodes are created by FullParseHandler.
Added FullParseHandler::newParamsBody and removed ParseNode allocation
methods from BinASTParserBase.

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

--HG--
extra : moz-landing-system : lando
2019-02-24 09:42:53 +00:00
Tooru Fujisawa
5fc0c2d2a4 Bug 1528837 - Part 14: Add ParserSharedBase class. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20226

--HG--
extra : moz-landing-system : lando
2019-02-24 09:42:51 +00:00
Tooru Fujisawa
e520c68042 Bug 1528837 - Part 13: Rename PerHandlerParser::handler field to handler_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20225

--HG--
extra : moz-landing-system : lando
2019-02-24 03:32:09 +00:00
Tooru Fujisawa
a2a3955524 Bug 1528837 - Part 12: Rename BinASTParserBase::factory_ field to handler_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20224

--HG--
extra : moz-landing-system : lando
2019-02-24 03:31:45 +00:00
Tooru Fujisawa
2c43d5027c Bug 1528837 - Part 11: Rename BinASTParserBase::parseContext_ field to pc_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20223

--HG--
extra : moz-landing-system : lando
2019-02-24 03:31:04 +00:00
Tooru Fujisawa
1c79a6e610 Bug 1528837 - Part 10: Rename ParserBase::checkOptionsCalled field to checkOptionsCalled_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20222

--HG--
extra : moz-landing-system : lando
2019-02-24 03:30:36 +00:00
Tooru Fujisawa
01ccdbbf13 Bug 1528837 - Part 9: Rename ParserBase::foldConstants field to foldConstants_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20221

--HG--
extra : moz-landing-system : lando
2019-02-24 03:29:55 +00:00
Tooru Fujisawa
74d86a94c6 Bug 1528837 - Part 8: Rename ParserBase::keepAtoms field to keepAtoms_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20220

--HG--
extra : moz-landing-system : lando
2019-02-24 03:29:05 +00:00
Tooru Fujisawa
81fa03ab0a Bug 1528837 - Part 7: Rename ParserBase::sourceObject field to sourceObject_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20219

--HG--
extra : moz-landing-system : lando
2019-02-24 03:28:30 +00:00
Tooru Fujisawa
ba499c1e3c Bug 1528837 - Part 6: Rename ParserBase::usedNames field to usedNames_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20218

--HG--
extra : moz-landing-system : lando
2019-02-24 03:27:59 +00:00
Tooru Fujisawa
cdf4ccd07a Bug 1528837 - Part 5: Rename ParserBase::pc field to pc_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20217

--HG--
extra : moz-landing-system : lando
2019-02-24 03:27:55 +00:00
Tooru Fujisawa
1c9a1e2216 Bug 1528837 - Part 4: Rename ParserBase::traceListHead field to traceListHead_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20215

--HG--
extra : moz-landing-system : lando
2019-02-24 03:26:35 +00:00
Tooru Fujisawa
ae21598c38 Bug 1528837 - Part 3: Rename ParserBase::tempPoolMark field to tempPoolMark_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20214

--HG--
extra : moz-landing-system : lando
2019-02-24 03:26:08 +00:00
Tooru Fujisawa
d041c9aac7 Bug 1528837 - Part 2: Rename ParserBase::alloc field to alloc_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20213

--HG--
extra : moz-landing-system : lando
2019-02-24 03:25:38 +00:00
Tooru Fujisawa
a89251e758 Bug 1528837 - Part 1: Rename {ParserBase,SharedContext}::context field to cx_. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20211

--HG--
extra : moz-landing-system : lando
2019-02-24 09:42:28 +00:00
Tooru Fujisawa
7ac585a93e Bug 1524967 - Check if BinAST auto-generated source is update in build.sh. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20228

--HG--
extra : moz-landing-system : lando
2019-02-24 09:42:26 +00:00
Razvan Maries
387d93bc1c Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-23 06:25:33 +02:00
Razvan Maries
d7a2f49ed8 Merge mozilla-inbound to mozilla-central a=merge 2019-02-23 06:15:14 +02:00
Robin Templeton
73b54fd50c Bug 1528582 - Add DataView methods for BigInt access r=wingo,jwalden
Differential Revision: https://phabricator.services.mozilla.com/D20081

--HG--
extra : moz-landing-system : lando
2019-02-22 23:31:53 +00:00
Kris Maglione
e97c8bb395 Bug 1527803: Make sure debug service is instantiated before starting Watchdog thread. r=erahm
The watchdog thread's stack is intentionally kept as small as possible, since
the work that it does is trivial and should not require much stack space.
One result of this is that the stack segment is generally too small to
instantiate a new service (and we really don't want to be instantiating
services on it anyway).

The debug service is generally instantiated before the watchdog thread tries
to touch it, but this isn't guaranteed (and, in particular, it often isn't for
xpcshell runs on some noopt debug builds). Instantiating it before starting
the watchdog thread solves this problem.

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

--HG--
extra : rebase_source : 2f9c3e412a7ad9a0b6f84c61907e4a7508f3b18c
2019-02-22 13:03:06 -08:00
Coroiu Cristina
6a915c899d Merge mozilla-central to inbound a=merge 2019-02-22 18:41:16 +02:00
Coroiu Cristina
4a72e9cc9a Merge inbound to mozilla-central a=merge 2019-02-22 18:30:44 +02:00
Paul Bone
5d3d1e589f Bug 1528867 - Add a new version of the GC_NURSERY_BYTES telemetry histogram r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D20248

--HG--
extra : moz-landing-system : lando
2019-02-22 04:00:24 +00:00
Bogdan Tara
72e4a39f71 Backed out 2 changesets (bug 1528409) for ParseNode.cpp caused Linux bustages CLOSED TREE
Backed out changeset 49ade2dbfd2b (bug 1528409)
Backed out changeset 76f2dc553878 (bug 1528409)
2019-02-22 07:08:52 +02:00
Luke Wagner
4cf59eac86 Bug 1529349 - Baldr: detect invalid section before code section during streaming compilation (r=bbouvier)
--HG--
extra : rebase_source : f960764027ba5e3d3f891560b30ad16af3d5c219
2019-02-22 09:35:19 -06:00