Razvan Maries
90f6351901
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2019-04-26 19:05:13 +03:00
Razvan Maries
ebb7081cb2
Merge mozilla-inbound to mozilla-central a=merge
2019-04-26 18:35:43 +03:00
Razvan Maries
11e9f0fe22
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2019-04-26 12:54:36 +03:00
Razvan Maries
444ee13e14
Merge mozilla-inbound to mozilla-central a=merge
2019-04-26 12:46:15 +03:00
Jan de Mooij
67e473ab7f
Bug 1537908 part 3 - Use SharedScriptData::numICEntries to allocate and initialize ICScript directly. r=tcampbell
...
Because SharedScriptData now contains numICEntries, we can allocate the ICScript
up front and fill it in directly. Advantages are: no Vector malloc/free overhead,
no ICEntry copying, no more LifoAlloc::steal, better cache locality, fewer moving
parts. This also makes it easier to merge ICScript and TypeScript in the future.
Differential Revision: https://phabricator.services.mozilla.com/D28451
--HG--
extra : moz-landing-system : lando
2019-04-26 09:16:27 +00:00
Jan de Mooij
cfa9e08603
Bug 1537908 part 2 - Store numICEntries in SharedScriptData. r=tcampbell
...
This also tidies up overflow checks to ensure numICEntries never overflows
UINT32_MAX in the emitter.
ICScript currently stores numICEntries as uint32_t, but it's not an
issue due to BaselineMaxScriptLength.
Differential Revision: https://phabricator.services.mozilla.com/D28450
--HG--
extra : moz-landing-system : lando
2019-04-26 09:16:49 +00:00
Jan de Mooij
90646ee8bc
Bug 1537908 part 1 - Clean up BytecodeEmitter's TypeSet count a bit. r=tcampbell
...
This makes the naming more consistent. Also, instead of checking against
JSScript::MaxBytecodeTypeSets at every JOF_TYPESET op, we can move this
condition to SharedScriptData creation if we use uint32_t instead of uint16_t.
This is more efficient and also nicer because MaxBytecodeTypeSets seems to be
more of a JSScript implementation detail the bytecode emitter doesn't need to
worry about.
Differential Revision: https://phabricator.services.mozilla.com/D28449
--HG--
extra : moz-landing-system : lando
2019-04-26 09:16:32 +00:00
Christian Holler
9b898220a5
Bug 1547203
- Don't expose CTypes with --fuzzing-safe in JS shell. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D28961
--HG--
extra : moz-landing-system : lando
2019-04-26 09:19:12 +00:00
Iain Ireland
7d6b2fbc12
Bug 1542740: Convert SetPropIRGenerator to use AttachDecision r=tcampbell
...
This is the other patch with non-trivial refactoring. (GetPropIRGenerator was the first.)
Differential Revision: https://phabricator.services.mozilla.com/D27312
--HG--
extra : moz-landing-system : lando
2019-04-26 14:30:19 +00:00
Iain Ireland
d202c26601
Bug 1542740: Convert NewObjectIRGenerator to use AttachDecision r=mgaudet
...
This was the last consumer of the old implementation of TryAttachStub/TryAttachIonStub. This patch removes the transitional version.
Differential Revision: https://phabricator.services.mozilla.com/D27310
--HG--
extra : moz-landing-system : lando
2019-04-26 14:30:15 +00:00
Iain Ireland
f983238229
Bug 1542740: Convert BinaryArithIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27309
--HG--
extra : moz-landing-system : lando
2019-04-26 14:29:56 +00:00
Iain Ireland
4e2871b298
Bug 1542740: Convert UnaryArithIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27308
--HG--
extra : moz-landing-system : lando
2019-04-26 14:29:43 +00:00
Iain Ireland
cc293647a5
Bug 1542740: Convert GetIntrinsicIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27307
--HG--
extra : moz-landing-system : lando
2019-04-26 14:29:36 +00:00
Iain Ireland
adc9692dfa
Bug 1542740: Convert ToBoolIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27306
--HG--
extra : moz-landing-system : lando
2019-04-26 14:29:28 +00:00
Iain Ireland
389800debb
Bug 1542740: Convert CompareIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27305
--HG--
extra : moz-landing-system : lando
2019-04-26 14:29:13 +00:00
Iain Ireland
c897ea5db7
Bug 1542740: Convert GetIteratorIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27304
--HG--
extra : moz-landing-system : lando
2019-04-26 14:29:06 +00:00
Iain Ireland
097c764d09
Bug 1542740: Convert TypeOfIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27303
--HG--
extra : moz-landing-system : lando
2019-04-26 14:28:56 +00:00
Iain Ireland
69f577344c
Bug 1542740: Convert InstanceOfIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27302
--HG--
extra : moz-landing-system : lando
2019-04-26 14:28:44 +00:00
Iain Ireland
29c3f9146f
Bug 1542740: Convert HasPropIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27301
--HG--
extra : moz-landing-system : lando
2019-04-26 14:28:36 +00:00
Iain Ireland
40c36eec7f
Bug 1542740: Convert BindNameIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27300
--HG--
extra : moz-landing-system : lando
2019-04-26 14:28:23 +00:00
Iain Ireland
556a1e0a69
Bug 1542740: Convert GetNameIRGenerator to use AttachDecision r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27299
--HG--
extra : moz-landing-system : lando
2019-04-26 14:28:16 +00:00
Iain Ireland
878db8c656
Bug 1542740: Convert GetPropIRGenerator to use AttachDecision r=mgaudet
...
This is one of the two non-trivial conversions. GetProp supports TemporarilyUnoptimizable, but not Deferred.
Note: I deleted a comment in IonGetPropertyIC::update that has been obsolete since bug 1383777: https://bugzilla.mozilla.org/show_bug.cgi?id=1383777#c2
Differential Revision: https://phabricator.services.mozilla.com/D27298
--HG--
extra : moz-landing-system : lando
2019-04-26 14:28:08 +00:00
Iain Ireland
537b9e2929
Bug 1542740: Add TRY_ATTACH macro and new versions of TryAttach templates r=mgaudet
...
This patch lays the groundwork for the stack.
To make it possible to switch everything over incrementally, I renamed the existing TryAttachStub/TryAttachIonStub templates, and added a new version. The old version gets deleted later in the stack when all the consumers have been fixed up.
Differential Revision: https://phabricator.services.mozilla.com/D27297
--HG--
extra : moz-landing-system : lando
2019-04-26 14:27:53 +00:00
Matthew Gaudet
c08cc4c949
Bug 1547104 - Add initial JS profiler subcategories r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D28901
--HG--
extra : moz-landing-system : lando
2019-04-26 13:47:40 +00:00
Matthew Gaudet
9fc719b1f3
Bug 1546778 - Improve commenting in visitObjectGroupDispatch r=jandem DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D28722
--HG--
extra : moz-landing-system : lando
2019-04-26 12:48:09 +00:00
Lars T Hansen
b8db7d0c1f
Bug 1546874 - Propagate OOM status from x86 assembler buffer. r=nbp
...
This copies the mechanism that was introduced for ARM into the x86
code: it uses a flag on the jitcontext, if present, to propagate the
OOM flag so that we won't assert in ~Label.
Differential Revision: https://phabricator.services.mozilla.com/D28829
--HG--
extra : rebase_source : 6b1b980e0dbd12943f684a73a106351bf8a1b89c
extra : amend_source : 87cabdeb7c402386c10fb28aac3673e7d8f45936
2019-04-25 14:49:52 +02:00
Jan de Mooij
852b6eadb7
Bug 1541404 part 17 - Fix InterpreterFrameInfo::popn to account for sizeof(Value). r=djvj
...
Differential Revision: https://phabricator.services.mozilla.com/D28596
--HG--
extra : moz-landing-system : lando
2019-04-25 12:49:34 +00:00
Jan de Mooij
dcb885cbb7
Bug 1529757 - Add JS::GetFunctionRealm and use it in GetPrototypeFromConstructor. r=jorendorff,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D27867
--HG--
extra : moz-landing-system : lando
2019-04-26 07:46:04 +00:00
Jan de Mooij
1521c6622b
Bug 1541404 part 16 - Implement pushScriptNameArg, emit_JSOP_STRING, emit_JSOP_SYMBOL. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D28445
--HG--
extra : moz-landing-system : lando
2019-04-25 09:55:20 +00:00
Jan de Mooij
14cf62e78c
Bug 1541404 part 15 - Implement emitWarmUpCounterIncrement. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D28444
--HG--
extra : moz-landing-system : lando
2019-04-25 12:31:49 +00:00
Tooru Fujisawa
56585dc81e
Bug 1543843 - Add constructors to JSPropertySpec and inner structs/unions. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D27277
--HG--
extra : moz-landing-system : lando
2019-04-26 01:01:15 +00:00
Ashley Hauck
f416b6e500
Bug 1547035
- Handle AssignmentNode->BinaryNode change from bug 1535471
in Reflect.parse. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D28890
--HG--
extra : moz-landing-system : lando
2019-04-25 19:32:34 +00:00
Nicolas B. Pierron
15e75bcd4d
Bug 1521158 - Invalidate ARM64 caches by increments of at most 32 bytes instead of increments of cache lines. r=sstangl
...
Differential Revision: https://phabricator.services.mozilla.com/D28827
--HG--
extra : moz-landing-system : lando
2019-04-25 16:39:14 +00:00
Gurzau Raul
71e35400ef
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-04-25 19:30:38 +03:00
Jan de Mooij
cae806b2c7
Bug 1546934 - Change LCov code coverage machinery to use a process-wide flag. r=nbp
...
This will simplify the Baseline Interpreter work.
Differential Revision: https://phabricator.services.mozilla.com/D28813
--HG--
extra : moz-landing-system : lando
2019-04-25 13:35:55 +00:00
Julian Seward
41aaeae2e3
Bug 1546157 - Wasm/Baseline: ensure stackmaps take into account reftyped locals. r=lhansen.
...
Prior to this patch, Wasm/Baseline's stackmap creation logic failed to take
into account reftyped locals which are not also parameters. This patch fixes
that. It also adds a new test that reliably exposes the failure on all 4
primary targets. The test case also runs on Ion, and it appears that Wasm/Ion
does not suffer from an analogous problem.
Differential Revision: https://phabricator.services.mozilla.com/D28654
--HG--
extra : rebase_source : 893bb5ad7e2028a29385f4624472d63defe3af19
2019-04-24 13:43:43 +02:00
Bogdan Tara
f25c071146
Backed out changeset d0eebfb3d916 (bug 1545751) for spidermonkey builds bustages CLOSED TREE
2019-04-25 18:20:18 +03:00
Adam Holm
322aae31af
Bug 1492995 - Adding CacheIR support for String + Boolean. r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D27376
--HG--
extra : moz-landing-system : lando
2019-04-25 01:07:55 +00:00
David Teller
5f3821de3e
Bug 1545751 - In BinAST, pass Context while parsing;r=arai
...
The Context 0.1 format specifies that the (de)compression of nodes is determined by:
- its node type;
- its parent type;
- the index in the parent node;
- whether the node is an element of an array.
This patch modifies the parser generator to pass the information during parsing.
Differential Revision: https://phabricator.services.mozilla.com/D28534
--HG--
extra : moz-landing-system : lando
2019-04-25 08:07:57 +00:00
Boris Zbarsky
5f0b0bbe8e
Fix outdated comments explaining XPCWrappedJS lifetime. No bug. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D28220
--HG--
extra : moz-landing-system : lando
2019-04-24 20:54:20 +00:00
Brindusan Cristian
b3b1ca15aa
Merge mozilla-central to autoland. a=merge CLOSED TREE
...
--HG--
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
2019-04-25 01:43:17 +03:00
Brindusan Cristian
f92b05e5f0
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Edwin Gao
162eb47938
Bug 1546732 - enable jittest for windows10-aarch64 r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D28704
--HG--
extra : moz-landing-system : lando
2019-04-24 21:40:40 +00:00
André Bargull
5746b7fadb
Bug 1544364: Throw an error when calling the transplant test-function on a sandbox global. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D28475
--HG--
extra : moz-landing-system : lando
2019-04-24 10:56:44 +00:00
Ashley Hauck
9de3829e94
Bug 1535471
- Use JSOP_INITPROP for field initializers. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D27543
--HG--
extra : moz-landing-system : lando
2019-04-24 19:41:37 +00:00
Ashley Hauck
c3d06144e6
Bug 1542406 - Restrict contents of direct eval in fields. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D27152
--HG--
extra : moz-landing-system : lando
2019-04-24 18:45:13 +00:00
Ashley Hauck
6629fbc495
Bug 1540787 - Always declare .this in constructors. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D27783
--HG--
extra : moz-landing-system : lando
2019-04-24 18:50:37 +00:00
Ashley Hauck
395365c85a
Bug 1541641 - Emit JSOP_TOID for computed field keys. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D27549
--HG--
extra : moz-landing-system : lando
2019-04-24 18:02:54 +00:00
André Bargull
1b38a811a1
Bug 1545354: Don't try to reject an already resolved async function promise on OOM. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D28476
--HG--
extra : moz-landing-system : lando
2019-04-23 16:53:38 +00:00
André Bargull
cf3c088f59
Bug 1546376 - Part 3: Use Max() instead of duplicating calls. r=jandem
...
Depends on D28482
Differential Revision: https://phabricator.services.mozilla.com/D28483
--HG--
extra : moz-landing-system : lando
2019-04-24 10:59:56 +00:00