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

69734 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gaudet 2b81ce4743 Bug 1526024 - Handle rcx as a destination register r=tcampbell
Also add unit tests

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

--HG--
extra : moz-landing-system : lando
2019-02-27 14:31:36 +00:00
Ehsan Akhgari 5b6eeea29c Bug 1531020 - Initialize MWasmLoadRef::aliasSet_ based on the argument passed to the constructor; r=lhansen
Differential Revision: https://phabricator.services.mozilla.com/D21367

--HG--
extra : moz-landing-system : lando
2019-02-27 13:59:24 +00:00
Andy Wingo ee4a9d22d1 Bug 1527897 - Optimize js::getProperty on bigint values to not create wrapper object r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D21221

--HG--
extra : moz-landing-system : lando
2019-02-27 12:03:04 +00:00
Csoregi Natalia d713b1a85a Merge mozilla-central to autoland. CLOSED TREE 2019-02-27 06:35:29 +02:00
Csoregi Natalia 2a6f3dde00 Merge inbound to mozilla-central. a=merge 2019-02-27 06:31:28 +02:00
Paul Bone 5a9e06b14f Bug 1506761 - Fix existing spelling error r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D20813

--HG--
extra : moz-landing-system : lando
2019-02-27 03:36:56 +00:00
Paul Bone 1913e73f45 Bug 1506761 - Add a fraction threshold for collecting the nursery r=sfink
We collect the nursery in idle time if there is less than 256KB of space
remaining.  However when the nursery is small this doesn't make sense, so
add a percentage-based threshold to be used when the nursery is small.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 03:36:54 +00:00
Nicholas Nethercote f476546aaa Bug 1530311 - Add a length check to HashTable::reserve(). r=luke
Also add an assertion to a similar function in PLDHashTable.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 00:08:13 +00:00
Csoregi Natalia 86fd564657 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-26 23:53:15 +02:00
Ashley Hauck 9421beff16 Bug 1499448 - Implement .initializers local variable. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D21042

--HG--
extra : moz-landing-system : lando
2019-02-26 21:23:46 +00:00
Gurzau Raul e3f56d9481 Backed out 2 changesets (bug 1519077, bug 1526024) for jsapi-tests failures on a CLOSED TREE
Backed out changeset 8a75915b2541 (bug 1519077)
Backed out changeset 87514c3aaa3a (bug 1526024)
2019-02-27 00:18:02 +02:00
Matthew Gaudet 5fdd3d2d45 Bug 1530484: Rewrite DeadIfUnused to clarify conditions r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D21057

--HG--
extra : moz-landing-system : lando
2019-02-26 20:26:58 +00:00
Chris Manchester c7f1151b94 Bug 1527553 - Update the mozilla-central workspace hack. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20738

--HG--
extra : moz-landing-system : lando
2019-02-26 19:37:49 +00:00
shindli c442603050 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-26 18:58:45 +02:00
shindli c780ef516c Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-26 12:20:22 +02:00
Tom Schuster 4d90baf832 Bug 1529939 - Remove JSVAL_TYPE_MISSING. r=bzbarsky,jandem
Differential Revision: https://phabricator.services.mozilla.com/D20936

--HG--
extra : moz-landing-system : lando
2019-02-26 08:48:01 +00:00
Tom Schuster 40aeb7e710 Bug 1528931 - Use Value::type in dumpValue. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D20818

--HG--
extra : moz-landing-system : lando
2019-02-26 16:54:06 +00:00
Ashley Hauck adaa388508 Bug 1530084 - Don't crash on unsupported syntax when fields are disabled. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D20989

--HG--
extra : moz-landing-system : lando
2019-02-25 22:10:17 +00:00
Jim Blandy 0f90566ff7 Bug 1530104: Correct documentation for newGlobal JS shell function. r=jorendorff
This clarifies the descriptions of newCompartment, sameCompartmentAs, and
sameZoneAs.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 18:54:25 +00:00
Paul Bone b4c70224d2 Bug 1530575 - Reduce SubChunkStep r=sfink
I initially set this to 64K thinking that it'd prevent too much changing of
the nursery size and therefore (once implemented) too many calls to
madvise.  But that's not true, because the nursery only changes size when a
tenure rate threshold is hit, and once it does it always changes size.  So
we can reduce this to 4K for simplicity and alignment with other constants.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 02:59:27 +00:00
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
Benjamin Bouvier 3de7ef5d2e Bug 1530641: Use hasScript() to check if a script exists; r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21219

--HG--
extra : moz-landing-system : lando
2019-02-26 14:45:18 +00:00
Tooru Fujisawa b0d83e4a75 Bug 1530238 - Use ParseContext::checkBreakStatement in Parser. r=Yoric
Depends on D20993

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

--HG--
extra : moz-landing-system : lando
2019-02-26 13:20:54 +00:00
Tooru Fujisawa 1a49c9338c Bug 1525855 - Add testcase with WTF-8 characters in several places. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20993

--HG--
extra : moz-landing-system : lando
2019-02-26 13:20:52 +00:00
Tooru Fujisawa eec12de124 Bug 1530389 - Enclose BinAST code in Parser.h with JS_BUILD_BINAST. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D21091

--HG--
extra : moz-landing-system : lando
2019-02-26 13:21:02 +00:00
Ted Campbell c800cd1068 Bug 1530513 - Fix handling of LazyScript HasBeenCloned flag r=jandem
- Ensure that HasBeenCloned flag is set on LazyScript when setting it on
  JSScript so it is preserved by relazification.
- Never preserve HasBeenCloned flag in LazyScript XDR.
  NOTE: With the first fix, this is not needed for tests to pass anymore.
- Add a LazyScript::packedFieldsForXDR() helper to strip out runtime
  flags before serializing.

Depends on D21069

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

--HG--
extra : moz-landing-system : lando
2019-02-26 09:26:26 +00:00
Ted Campbell c877ff3880 Bug 1530513 - Preserve LazyScript::treatAsRunOnce during XDR r=jandem
This brings LazyScript behaviour of this flag in sync with JSScript and
the split between ImmutableFlags and MutableFlags.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 09:32:58 +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
Brian Hackett 95d63e80b2 Bug 1528320 - Ensure correct record/replay progress flag after XDR-decoding a script, r=tcampbell.
--HG--
extra : rebase_source : 8c89ccde2627022a2d9d6becc66586d2a106b34d
2019-02-21 17:32:59 -10:00
Lars T Hansen 4c51ddc941 Bug 1508559 - Ion instructions for reftypes. r=jseward
Add support to WasmIonCompile for the instructions in the reftypes
proposal: ref.null, ref.is_null, table.get, table.set, table.grow,
table.size.

Also add support for the ref.eq instruction from the gc proposal.

Also update the test suite so that we will not ion-compile test cases
that use gc features that are not landed here.

Note that this patch does not change the compiler-selection behavior:
If --wasm-gc is enabled then only the baseline compiler will be used;
if --wasm-gc is not enabled then no compiler will recognize these
opcodes.  Enabling Ion for reftypes content is the subject of
subsequent work.

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

--HG--
extra : rebase_source : 0048acdd0235b231f74f51630826f0690340bc3b
2019-02-19 10:06:59 +01:00
Noemi Erli ee7d7c1ee3 Merge mozilla-central to mozilla-inbound
--HG--
rename : tools/lint/test/files/flake8/bad.py => tools/lint/test/files/flake8/subdir/exclude/bad.py
rename : taskcluster/taskgraph/util/templates.py => tools/tryselect/util/dicttools.py
extra : rebase_source : 67b83a21bd5d4a6d964cf26db2cd7ca155336022
2019-02-26 06:24:02 +02:00
Emanuel Hoogeveen 90d375ec6a Bug 1520496 - Make address range check more reliable.
--HG--
extra : rebase_source : af539b3f396f32b7725e8b18b4dcb21d147ab19f
2019-02-22 16:11:00 +02:00
Jeff Walden 15186f6a95 Bug 1529298 - Initialize all ArrayBuffers that store their data inline using a single function. r=sfink 2019-02-18 23:06:28 -08:00
Jeff Walden d2da599780 Bug 1529298 - Add BufferKind::NO_DATA for ArrayBuffers that have no data (whether because byteLength is zero or because the ArrayBuffer is detached), for which the value of |ownsData()| is irrelevant. r=sfink 2019-02-18 22:53:37 -08:00
Jeff Walden 6308d87577 Bug 1529298 - Remove ArrayBufferOffset::offsetOfFlags as unused. r=sfink 2019-02-18 22:52:42 -08:00
Jeff Walden ba59f4ed50 Bug 1529298 - Add BufferContents::createFoo functions for every kind so that the templaty, harder-to-search-for create function can be removed. r=sfink 2019-02-18 22:52:42 -08:00
Jeff Walden adf8ccf080 Bug 1529298 - Consistently use "ArrayBuffer" instead of the vaguer "array buffer" in ArrayBuffer-related JSAPI descriptions. r=sfink 2019-02-18 22:52:42 -08:00
Jeff Walden 2c3a26a56b Bug 1529298 - Simplify ArrayBufferObject::createForContents some now that it's only ever passed non-null contents. r=sfink 2019-02-18 22:52:42 -08:00
Jeff Walden 75b3991d95 Bug 1529298 - Only pass BufferContents containing a non-null pointer to |ArrayBufferObject::createForContents|. r=sfink 2019-02-18 22:52:42 -08:00
Jeff Walden 3f664260f6 Bug 1529298 - Make AllocateArrayBufferContents return uint8_t*, and make its callers consistently not redundantly report OOMs. r=sfink 2019-02-18 22:52:42 -08:00
Jeff Walden cf48c9f262 Bug 1529298 - Remove trailing arguments to ArrayBufferObject::createForContents that are identical for every caller. r=sfink 2019-02-18 22:52:42 -08:00
Jeff Walden 0b28f92bdc Bug 1529298 - Rename the two ArrayBufferObject::create overloads to ArrayBufferObject::create{Zeroed,WithContents}, and inline a simplified form of the more-complex ArrayBufferObject::create into the new createZeroed function. r=sfink 2019-02-18 22:52:41 -08:00
Jeff Walden 770a4748b4 Bug 1529298 - Remove ArrayBufferObject::hasData and perform its operation in its sole caller in a more straightforward manner. r=sfink 2019-02-18 22:52:41 -08:00
Jeff Walden 7be1e6c028 Bug 1529298 - Remove JS_ExternalizeArrayBufferContents because it has no users except in tests, implements complicated ownership semantics, and is definite implementation complexity. r=sfink 2019-02-18 22:52:41 -08:00
Jeff Walden 851c01dd7e Bug 1529298 - Move most of JS_ExternalizeArrayBufferContents into a static member function on ArrayBufferObject so that internals-observing code isn't smeared across two functions. r=sfink 2019-02-18 22:52:41 -08:00
Jeff Walden 06f85a7986 Bug 1529298 - Split PLAIN into INLINE_DATA/MALLOCED for ArrayBuffer kinds. r=sfink 2019-02-18 22:52:25 -08:00
Jeff Walden ed29a8a408 Bug 1529298 - Rename JS_NewArrayBufferWithExternalContents to JS_NewArrayBufferWithUserOwnedContents to better accord with the USER_OWNED ArrayBufferKind name, and to avoid namespace overload with the semantically distinct JS_NewExternalArrayBuffer and JS_ExternalizeArrayBufferContents functions. r=sfink
--HG--
rename : js/src/jsapi-tests/testExternalArrayBuffer.cpp => js/src/jsapi-tests/testArrayBufferWithUserOwnedContents.cpp
2019-02-18 22:48:06 -08:00
Jeff Walden b0059a00fb Bug 1529294 - Add a test for ArrayBuffers with external contents not being serializable. r=sfink 2019-02-18 22:45:17 -08:00
Csoregi Natalia c80b2680b6 Backed out 16 changesets (bug 1529298, bug 1529294) for spidermonkey bustages on testAtomicOperations.cpp. CLOSED TREE
Backed out changeset d80b681a68e6 (bug 1529298)
Backed out changeset 086849ef0dd5 (bug 1529298)
Backed out changeset 6f66e6c059df (bug 1529298)
Backed out changeset 6cc3cd982953 (bug 1529298)
Backed out changeset d80ce47bba52 (bug 1529298)
Backed out changeset deaa41ca96da (bug 1529298)
Backed out changeset e7fad41d68e0 (bug 1529298)
Backed out changeset b3e668a95d32 (bug 1529298)
Backed out changeset c9f62f10eeb5 (bug 1529298)
Backed out changeset 1477b8eb5442 (bug 1529298)
Backed out changeset 5be8cb19ad3d (bug 1529298)
Backed out changeset 432b2e88c651 (bug 1529298)
Backed out changeset 3512de18097c (bug 1529298)
Backed out changeset 9294b0d54597 (bug 1529298)
Backed out changeset c5a391fd808f (bug 1529298)
Backed out changeset 086f0ad27487 (bug 1529294)

--HG--
rename : js/src/jsapi-tests/testArrayBufferWithUserOwnedContents.cpp => js/src/jsapi-tests/testExternalArrayBuffer.cpp
2019-02-22 05:43:19 +02:00
Jeff Walden c898e8fff9 Bug 1529298 - Initialize all ArrayBuffers that store their data inline using a single function. r=sfink
--HG--
extra : rebase_source : c265c87b4337f84390622aa788007a0f68b42899
2019-02-18 23:06:28 -08:00
Jeff Walden c4eba44b33 Bug 1529298 - Add BufferKind::NO_DATA for ArrayBuffers that have no data (whether because byteLength is zero or because the ArrayBuffer is detached), for which the value of |ownsData()| is irrelevant. r=sfink
--HG--
extra : rebase_source : 53bd958bf767f0defb862540308adccde7052af1
2019-02-18 22:53:37 -08:00
Jeff Walden 70cfd5d3a3 Bug 1529298 - Remove ArrayBufferOffset::offsetOfFlags as unused. r=sfink
--HG--
extra : rebase_source : d024d174423cf5b3cc929727017594eb77292f72
2019-02-18 22:52:42 -08:00
Jeff Walden 774a720d27 Bug 1529298 - Add BufferContents::createFoo functions for every kind so that the templaty, harder-to-search-for create function can be removed. r=sfink
--HG--
extra : rebase_source : 9c37a7ffa93331c2b34907edd0ad3011c2332689
2019-02-18 22:52:42 -08:00
Jeff Walden 31d9bc5a55 Bug 1529298 - Consistently use "ArrayBuffer" instead of the vaguer "array buffer" in ArrayBuffer-related JSAPI descriptions. r=sfink
--HG--
extra : rebase_source : e6e6d33d8117935417100521c35f3bd299eba5ef
2019-02-18 22:52:42 -08:00
Jeff Walden 3bbd76241d Bug 1529298 - Simplify ArrayBufferObject::createForContents some now that it's only ever passed non-null contents. r=sfink
--HG--
extra : rebase_source : 8ace1062a7f81cc826c06f0d6f7cadb45a33b1a5
2019-02-18 22:52:42 -08:00
Jeff Walden d2f26b7737 Bug 1529298 - Only pass BufferContents containing a non-null pointer to |ArrayBufferObject::createForContents|. r=sfink
--HG--
extra : rebase_source : 9546122ddfcbe343dd074b2ca983207589aae1c3
2019-02-18 22:52:42 -08:00
Jeff Walden bcd8ee657f Bug 1529298 - Make AllocateArrayBufferContents return uint8_t*, and make its callers consistently not redundantly report OOMs. r=sfink
--HG--
extra : rebase_source : 8761b22d2635f5b3cda530d3b2ddfbf116280a36
2019-02-18 22:52:42 -08:00
Jeff Walden fce4e5a543 Bug 1529298 - Remove trailing arguments to ArrayBufferObject::createForContents that are identical for every caller. r=sfink
--HG--
extra : rebase_source : 610f1507e3e6f152e1baf44d87965c036255017a
2019-02-18 22:52:42 -08:00
Jeff Walden 226f5338b6 Bug 1529298 - Rename the two ArrayBufferObject::create overloads to ArrayBufferObject::create{Zeroed,WithContents}, and inline a simplified form of the more-complex ArrayBufferObject::create into the new createZeroed function. r=sfink
--HG--
extra : rebase_source : 0cc09680ee0e4b7b0cb616aac1157c59b05de5e6
2019-02-18 22:52:41 -08:00
Jeff Walden 9900998369 Bug 1529298 - Remove ArrayBufferObject::hasData and perform its operation in its sole caller in a more straightforward manner. r=sfink
--HG--
extra : rebase_source : 187a9a479a3401c36377e27bf137404c519ed610
2019-02-18 22:52:41 -08:00
Jeff Walden 1563e3e9c8 Bug 1529298 - Remove JS_ExternalizeArrayBufferContents because it has no users except in tests, implements complicated ownership semantics, and is definite implementation complexity. r=sfink
--HG--
extra : rebase_source : da77c4c8ab2089337d74c8fda5823515d4e32d01
2019-02-18 22:52:41 -08:00
Jeff Walden eeca9137a2 Bug 1529298 - Move most of JS_ExternalizeArrayBufferContents into a static member function on ArrayBufferObject so that internals-observing code isn't smeared across two functions. r=sfink
--HG--
extra : rebase_source : b888ab64b7b8222f00925277b6551a1b4ded266d
2019-02-18 22:52:41 -08:00
Jeff Walden d5c95a54dc Bug 1529298 - Split PLAIN into INLINE_DATA/MALLOCED for ArrayBuffer kinds. r=sfink
--HG--
extra : rebase_source : 20a657a5ec97ae63f09b8e0e083b969e4fe990a1
2019-02-18 22:52:25 -08:00
Jeff Walden 498b9d3a76 Bug 1529298 - Rename JS_NewArrayBufferWithExternalContents to JS_NewArrayBufferWithUserOwnedContents to better accord with the USER_OWNED ArrayBufferKind name, and to avoid namespace overload with the semantically distinct JS_NewExternalArrayBuffer and JS_ExternalizeArrayBufferContents functions. r=sfink
--HG--
rename : js/src/jsapi-tests/testExternalArrayBuffer.cpp => js/src/jsapi-tests/testArrayBufferWithUserOwnedContents.cpp
extra : rebase_source : ff6c403009297e7a26d54a2dabac59e71bbe5512
2019-02-18 22:48:06 -08:00
Jeff Walden 9348aa838a Bug 1529294 - Add a test for ArrayBuffers with external contents not being serializable. r=sfink
--HG--
extra : rebase_source : f55dc685bfca639dd2793b02eda9d9480d3d14c5
2019-02-18 22:45:17 -08:00
Narcis Beleuzu 1cc1d33847 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-21 18:11:40 +02:00
Narcis Beleuzu 9a26332ec2 Merge autoland to mozilla-central. a=merge 2019-02-21 17:59:30 +02:00
shindli e8f10d178c Backed out changeset 386a2afe9189 (bug 1508559) for failing raptor tests in /home/cltbld/tasks/task_1550758926/build/raptor.json CLOSED TREE 2019-02-21 17:10:40 +02:00
Nicolas B. Pierron 49a5ea07d9 Bug 1528829 - Restrict ExtractLinearSum to monotonous operation in infinite math space. r=jandem,sunfish
Thanks to Bruno Keith & Niklas Baumstark from the phoenhex team for finding this
issue and reporting it with a proper analysis.

Differential Revision: https://phabricator.services.mozilla.com/D20343
2019-02-21 15:58:55 +01:00
Oana Pop Rus e3f2246ee8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-21 11:42:10 +02:00
Oana Pop Rus b36e97fc77 Merge inbound to mozilla-central. a=merge 2019-02-21 11:31:00 +02:00
Julian Seward f8633608bf Bug 1516644 - MBasicBlock::MBasicBlock: guard lineno_ and columnIndex_ initialisations correctly. r=nbp. 2019-02-25 17:29:01 +01:00
Cosmin Sabou bbc9de88a1 Backed out changeset 4d9aebc3fabb (bug 1516644) for causing build bustages. 2019-02-25 22:36:25 +02:00
Julian Seward f8280386e8 Bug 1516644 - MBasicBlock::MBasicBlock: guard lineno_ and columnIndex_ initialisations correctly. r=nbp.
--HG--
extra : rebase_source : 3c6f45caeff051d17b1e382031a0b8566411a7a7
2019-02-25 17:29:01 +01:00
Julian Seward 309a7bfa90 Bug 1518785 - wasm-via-Ion: incorrect logic to decide on whether to omit a stack overflow check. r=luke.
MacroAssembler::wasmReserveStackChecked takes a parameter |amount|, which
appears to be the number of bytes pushed by the prologue, not including for
the wasm::Frame, up to this point.  If this value is zero, the stack overflow
check is omitted.

I believe this logic is incorrect and that the stack overflow check should
never be omitted.  There's no way any non-leaf call could really use zero
bytes of stack in total, since there would be no place to store the return
address.

I believe this code worked by accident, for the following reason: |amount| is
never zero.  That happens because, currently, wasm::Frame is 3 words (except
on ARM64).  That's 12 bytes or 24 bytes, depending on word size.  At some
point I imagine that |amount| is rounded upwards, prior to the call to
MacroAssembler::wasmReserveStackChecked, so that |amount| +
sizeof(wasm::Frame) is 0 % 16.

If amount was originally zero, then it will be adjusted upwards to 4 (16-12)
on a 32-bit system and to 8 (32-24) on a 64-bit system.  The end effect is
that |amount| can never be zero here.

The fix is simply to remove the early exit.
2019-02-21 06:25:42 +01:00
Jan de Mooij d245692106 Bug 1529265 - Don't include scheduled zones we can't collect in zoneStats.collectedZoneCount. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D20516

--HG--
extra : moz-landing-system : lando
2019-02-21 03:30:57 +00:00
Noemi Erli 47496561f4 Backed out changeset fb6c0d850fa3 (bug 1527862) for bustage in job-queue-04.js CLOSED TREE 2019-02-21 06:58:12 +02:00
Jim Blandy 99c8e0c2ea Bug 1527862: Use proper initialization condition in AutoDebuggerJobQueueInterruption destructor. r=arai
The AutoDebuggerJobQueueInterruption destructor asserts that the Debugger has
properly managed its hooks' asynchronous jobs. But this assertion clearly only
applies when the AutoDebuggerJobQueueInterruption is properly initialized;
otherwise, the debuggee's job queue is still in place.

Unfortunately, the destructor was using the wrong test to determine whether the
debuggee's queue had been saved. This patch makes it uses the `initialized`
method, rather that checking the `cx` field, which is always initialized.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 01:58:12 +00:00
Cosmin Sabou 9f8b29287b Merge mozilla-central to autoland. 2019-02-21 05:43:34 +02:00
Paul Bone 809c3aaba7 Bug 1526257 - (part 3) Rename ZoneCellIter classes r=sfink
Depends on D19891

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

--HG--
extra : moz-landing-system : lando
2019-02-21 03:27:47 +00:00
Ehsan Akhgari d77927505e Bug 1529089 - Initialize spBefore_ even if profiler_ will be set to nullptr; r=mstange 2019-02-20 15:31:29 -05:00
Lars T Hansen 14c58f6fa7 Bug 1508559 - fix nu build bustage. r=bustage on CLOSED TREE 2019-02-20 13:32:06 +01:00
Paul Bone 0cba572880 Bug 1526257 - (part 2) Remove reundant IsAboutToBeFinalised calls r=arai
The new cellIter() now filters out cells that are about to be finalised.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 02:42:00 +00:00
Paul Bone 6c7c616283 Bug 1526257 - (part 1) Add a SafeZoneCellIter, making cellIter() GC-safe r=sfink,arai
ZoneCellIter can return cells that are about to be finalised in the next GC
slice.  These cells can be used briefly but cannot be kept around and the GC
needs this behaviour.

This change introduces ZoneCellIterSafe which will not return about-to-be
finalised cells.  Zone::cellIter() will use it now, the old behaviour is now
in cellIterUnsafe().

Update several uses of cellIter() to cellIterUnsafe() where that behaviour
is needed.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 02:46:15 +00:00
Matthew Gaudet 509c07c4b9 Bug 1529271 - Structured Spewer: Correct handling of output initialization failure r=iain
Differential Revision: https://phabricator.services.mozilla.com/D20574

--HG--
extra : moz-landing-system : lando
2019-02-20 22:06:17 +00:00
Kartikaya Gupta 06d64cc640 Bug 1428158 - Fix static analysis errors in arm64 JIT code. r=nbp
A few instances of snprintf are replaced with SprintfLiteral, and a
implicit constructor is made explicit.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:58:24 +00:00
Logan Smyth 9117266d4b Bug 1527671 - Assign the correct start position to arrow functions. r=arai,jorendorff
This position ends up being used for source notes in some cases now, meaning that this can
cause breakpoints to be given the wrong position when assigned to a variable. This fixes
that by using the correct token for the position value.

This fix also ensures that `cur->pos.end` is updated when skipping functions because
expression statements set their end based on the end position of the expression, and
if the expression statements end token is the end of a skipped function, we would
otherwise read the wrong position triggering assertion failures.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:52:10 +00:00
Chris Martin d87dc0790f Bug 1527767 - Make all JS allocator functions accept an arena as an argument r=sfink
Currently, some of the JS allocators accept an 'arena' argument, but some
don't. This change makes it so they all do. This is nice for consistency, but
it also feeds into Bug 1052579, which will need to use arenas for JSString
backing buffers.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 18:12:05 +00:00
Aaron Klotz 28466cb97e Bug 1460433: Part 1 - Change BasicDllServices to not do any dll notification callbacks; r=mhowell
BasicDllServices is used to gain access to the authenticode APIs in non-Gecko
contexts. One feature that WinDllServices provides is the ability to register
a callback interface to be notified when a DLL has been loaded.

This is not particularly useful in the BasicDllServices use case, and in the
"handle a launcher process failure on a background thread" use case, would
actually be harmful.

This patch modifies the DLLServices backend to offer a "basic" option that
omits the callback stuff.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 06:18:45 +00:00
Jason Orendorff 78e47bd125 Bug 1529607 - Part 7: Rewrite NameFunctions.cpp to use ParseNodeVisitor. r=khyperia
This may lose some tiny amount of performance since the existing code
duplicated a huge amount of code in order to avoid walking bits of the tree
that can't contain functions. I preserved a few of those hacks but some of the
bits seemed too small to bother with.

The expression `nparents_ - 1` is changed to `nparents_ - 2` because, as a
result of how ParseNodeVisitor control flow works, we now call gatherNameable
*after* pushing the current FunctionNode to the stack, rather than before.
(A new assertion checks that this is the case.)

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

--HG--
extra : moz-landing-system : lando
2019-02-22 18:06:01 +00:00
Jason Orendorff ee011223cf Bug 1529607 - Part 6: Reuse a single StringBuffer in NameResolver. r=khyperia
This is meant as a sanity patch. Before, buf_ was a pointer to a local
variable, set in resolveFun() and just left dangling on exit. No bug, but
dangling pointers are bad.

I considered removing buf_ and passing around a reference to the local
StringBuffer, but this was quicker and seemed easier to review.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 18:05:31 +00:00
Jason Orendorff 3c357ae61d Bug 1529607 - Part 5: Style tweaks to existing NameFunctions code. r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D20718

--HG--
extra : moz-landing-system : lando
2019-02-22 18:05:07 +00:00
Jason Orendorff 7dc6ef6b25 Bug 1529607 - Part 4: Rename ParseNodeKind::CallSiteObjExpr to CallSiteObj. r=khyperia
The `Expr` suffix is for nodes that can appear anywhere an expression could
appear. This kind of node can't; it's always the direct child of a tagged
template.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 18:04:42 +00:00
Jason Orendorff f57af8298f Bug 1529607 - Part 3: Split out ParseNodeVisitor and RewritingParseNodeVisitor. r=khyperia
I tried making ParseNodeVisitor take all nodes as references, but that didn't
work nicely with the existing accept() method templates. That could have been
made to work using more template tricks, but I decided pointers are not so bad.

There still was no way to avoid the code duplication here without contortions.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 18:04:28 +00:00
Jason Orendorff 4c13f4ebc1 Bug 1529607 - Part 2: Rename ParseNodeVisitor::cx to cx_. r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D20715

--HG--
extra : moz-landing-system : lando
2019-02-22 18:04:06 +00:00
Jason Orendorff acb58a0f00 Bug 1529607 - Part 1: Fix misleading name in existing ParseNodeVisitor code. r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D20714

--HG--
extra : moz-landing-system : lando
2019-02-22 18:03:46 +00:00
Ashley Hauck 540b673cdf Bug 1499448 - Implement more field functionality. r=jorendorff
Some functionality is intentionally unimplemented to make this patch
smaller and at a faster cadence: field initializers are stored on
this['.initializers'] instead of a local, derived classes are not
supported yet, and constant-folding/inline field initializers are not
implemented.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 23:48:16 +00:00
Coroiu Cristina 41959946c9 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-02-22 18:39:27 +02:00
Julian Seward 16644cf513 Bug 1528983 - Centralise instance-function arg/return type information. r=lhansen.
The wasm baseline and via-Ion compilers both generate numerous calls to
supporting functions ("instance functions").  To generate correct code, and,
shortly, correct stackmaps too, the compilers need to know argument and return
types for these functions.  Currently that information is scattered around
somewhat:

* In baseline, emitInstanceCall() specifies both arg and return types

* In via-Ion, builtinInstanceMethodCall specifies the return type.  Arg types
  aren't (obviously) available, but will be needed for upcoming stack map
  generation.

This bug makes the following main changes:

* Adds a new type, SymbolicAddressSignature, related to the existing
  SymbolicAddress type.  A SymbolicAddressSignature specifies the arity,
  argument and return types for a SymbolicAddress.

* For all the SymbolicAddresses referred to in the baseline and via-Ion
  compilers, a static SymbolicAddressSignature is provided, as readonly data.

* The compilers then pass around |const SymbolicAddressSignature&| where
  before they just passed around a SymbolicAddress, to the extent possible.

* All ad-hoc specification of arg and return types in emitInstanceCall()
  [baseline] and builtinInstanceMethodCall() [via Ion] have been removed.

* Not all SymbolicAddress values have an associated SymbolicAddressSignature
  -- only those referred to in calls to emitInstanceCall() and
  builtinInstanceMethodCall() do.

Smaller changes:

* WasmBaselineCompile.cpp:

  - removed MIRTypeVector and SigP*_.

  - pushReturnValueOfCall: overloaded so as to accept both ExprType and MIRType.

  - emitInstanceCall now accepts a |const SymbolicAddressSignature&| and pulls
    type info out of that.  All uses changed accordingly.

  - [drive-by fix]: emitInstanceCall: added a comment update that should have
    been in bug 1528240 ("Fix inconsistent return type use in
    BaseCompiler::emitInstanceCall")

* WasmIonCompile.cpp:

  - passArg: overloaded so as to accept both MIRType and ValType for the node
    type

  - builtinInstanceMethodCall now accepts a |const SymbolicAddressSignature&|
    and pulls type info out of that.  All uses changed accordingly.

* WasmBuiltins.{cpp, h}: add the static SymbolicAddressSignature bundles.

* WasmGC.h: add an overload of StackArgAreaSizeUnaligned that can take a
  Symbolic AddressSignature directly.

--HG--
extra : rebase_source : 00909db26977288401c708dfc73175c6f1882b3d
2019-02-26 14:25:54 +01:00
André Bargull c128a033fd Bug 1358501 - Ion optimize JSOP_OPTIMIZE_SPREADCALL with a constant when Array iterator properties are in their initial state. r=jandem 2019-02-18 05:58:09 -08:00
André Bargull fdb93bb398 Bug 1530320 - Update IANA language subtag registry data to version 2019-02-20. r=Waldo 2019-02-27 12:45:49 -08:00
André Bargull 69dc130389 Bug 1530324 - Part 8: Remove wrapper function for async functions. r=arai 2019-02-26 08:35:41 -08:00