Commit Graph

68753 Commits

Author SHA1 Message Date
Mike Hommey
1aeaa7d4ef Bug 1520730 - Normalize the config log path before writing it in old-configure. r=froydnj
Add a dummy change to old-configure.in so that old-configure is
force-refreshed.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 13:54:41 +00:00
Jan de Mooij
ed23e847c7 Bug 1519880 part 2 - Split Baseline's FrameInfo class in CompilerFrameInfo and InterpreterFrameInfo. r=djvj
InterpreterFrameInfo is just a very simple interface on top of masm.
CompilerFrameInfo maintains the virtual stack based on the script it's
compiling.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 12:19:06 +00:00
Jan de Mooij
4d6a88776b Bug 1519880 part 1 - Stop exposing StackValue* to BaselineCodeGen. r=djvj
The interpreter won't use the virtual stack and StackValue, so we need to
refactor things a bit so we don't call frame.peek(x) outside the FrameInfo class.

StackValue will be just an implementation detail of CompilerFrameInfo in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 12:18:35 +00:00
Tooru Fujisawa
da5a4f2d3d Bug 1520353 - Detect lexical variable earlier in BinAST. r=Yoric
We're not handling lexical variable in BinAST parser for now, and
it results in unhelpful error at the first reference.
Detecting the lexical variable at declaration and throw more helpful error.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:47:36 +00:00
Tooru Fujisawa
09c57019ae Bug 1520392 - Part 5: Skip slow jit-test which depends on helper threads if helper threads are not available. r=jandem
Depends on D16814

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:46:24 +00:00
Tooru Fujisawa
c729faf00a Bug 1520392 - Part 4: Pass {newCompartment: true} to newGlobal in slow jit-test. r=jandem
Depends on D16813

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:44:28 +00:00
Tooru Fujisawa
b8be3eed2f Bug 1520392 - Part 3: Add missing error cookie to slow jit-test. r=jandem
Depends on D16812

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:43:19 +00:00
Tooru Fujisawa
2700d1c995 Bug 1520392 - Part 2: Fix cookie in slow jit-test. r=jandem
Depends on D16811

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:41:35 +00:00
Tooru Fujisawa
82fa216965 Bug 1520392 - Part 1: Remove expression closures from slow jit-tests. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D16811

--HG--
extra : moz-landing-system : lando
2019-01-17 11:41:12 +00:00
Jan de Mooij
34899a1658 Bug 1520536 - Handle same-compartment wrappers in TypedArrayObjectTemplate<T>::fromTypedArray. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D16796

--HG--
extra : moz-landing-system : lando
2019-01-17 09:13:25 +00:00
Jan de Mooij
ace318a02f Bug 1519792 part 2 - Move pc field from BaselineCodeGen to BaselineCompilerHandler. r=djvj
JSOPs like JSOP_INT8 that depend on the pc need to be specialized now for the
interpreter. I added MOZ_CRASH versions of these that we can implement later.

This split is a bit pessimistic: we should actually (partially) share codegen
for some of these ops like JSOP_RESUME. However it's easier to revisit this
later when we need to implement these ops for the interpreter.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 09:20:15 +00:00
Jan de Mooij
aaf948fa2d Bug 1519792 part 1 - Move some BaselineCompiler methods to the end of the file. r=djvj
The next patch will template-specialize some of the emit_JSOP_FOO methods, but
the C++ compiler wants that to happen before we call these methods in emitBody.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 09:19:50 +00:00
Jan de Mooij
e987ef13a0 Bug 1519779 - Add some helper methods for pushing script/pc or script name/object/scope for VM calls in BaselineCodeGen. r=djvj
Interpreter and compiler will implement these differently, but this allows
sharing codegen for a large number of JSOps.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 21:05:31 +00:00
arthur.iakab
48fa943d27 Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
Mike Hommey
889bc79f27 Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander
Since js configure is also python configure, we can actually create
a ConfigureSandbox directly, with the right environment and arguments.

Depends on D16668

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:42:12 +00:00
Mike Hommey
a8676d74e4 Bug 1520377 - Inline subconfigure.prepare and simplify. r=nalexander
Depends on D16644

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:29:19 +00:00
Mike Hommey
4e2dcc2671 Bug 1520377 - Replace/Inline subconfigure.{prefix_lines,execute_and_prefix}. r=nalexander
Use an I/O wrapper on the configure output handler to add the "js/src>"
prefix.

Depends on D16643

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

--HG--
extra : moz-landing-system : lando
2019-01-16 21:44:54 +00:00
Mike Hommey
1384b22d3a Bug 1520377 - Inline subconfigure.run in js/sub.configure. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16643

--HG--
extra : moz-landing-system : lando
2019-01-16 23:18:29 +00:00
Mike Hommey
9a8ac178e9 Bug 1520340 - Don't execute subconfigure as a separate process. r=froydnj
Instead, include the module and inline its main function.

Depends on D16622

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

--HG--
extra : moz-landing-system : lando
2019-01-16 15:21:27 +00:00
Mike Hommey
b5e5928355 Bug 1520340 - Move subconfigure invocation from old-configure to python configure. r=froydnj
This happens to remove the last use of perl from configure.

Depends on D16621

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:12:20 +00:00
Steve Fink
73f45b9504 Bug 1507322 - test deeply recursive weakmaps
Differential Revision: https://phabricator.services.mozilla.com/D16738

--HG--
extra : moz-landing-system : lando
2019-01-16 21:16:48 +00:00
Iain Ireland
d21cee0f2d Bug 1519700: Add testcase to jit-tests r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D16512

--HG--
extra : moz-landing-system : lando
2019-01-16 19:02:05 +00:00
Steve Fink
88a5681d61 Bug 1519263 - Skip tsan tests that consume too much memory r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D16513

--HG--
extra : moz-landing-system : lando
2019-01-16 10:55:33 +00:00
Brian Hackett
491c3a9d73 Bug 1520343 - Pass through events when choosing random addresses for memory allocation, r=ehoogeveen.
--HG--
extra : rebase_source : f6a4610184c54a6cd1d1d6de4fb5057d58799976
2019-01-15 13:18:32 -10:00
Razvan Maries
3a732b5669 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-16 19:09:08 +02:00
Razvan Maries
4c67bec411 Merge mozilla-inbound to mozilla-central a=merge 2019-01-16 19:00:15 +02:00
Oana Pop Rus
bd4d528ac8 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-16 11:40:36 +02:00
Ciure Andrei
3e41a8bb1a Backed out changeset 1e7a80d93de5 (bug 1507322) for causing build bustages deep-weakmap.js CLOSED TREE 2019-01-16 17:41:31 +02:00
Nicolas B. Pierron
56a92557d7 Bug 1518565 - Flush the instruction cache when patching OSIPoints. r=sstangl 2019-01-16 16:27:06 +01:00
Steve Fink
31d7c7bb62 Bug 1507322 - Test deeply recursive weakmaps. r=jonco
--HG--
extra : rebase_source : 2ae763ae454a5138ae0cc0e11f42f6f2baa92731
2019-01-15 14:21:33 -08:00
Jan de Mooij
fb6b8ae778 Bug 1520129 - Remove redundant isSelfHostedBuiltin checks in GetFunctionThis / JSOP_FUNCTIONTHIS. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D16536

--HG--
extra : moz-landing-system : lando
2019-01-16 09:14:38 +00:00
Sylvestre Ledru
47a5dd1fb8 Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Jan de Mooij
7471918d94 Bug 1520189 - Remove the ToWindowProxyIfWindow call in LexicalEnvironmentObject::thisValue; handle this in js::SetWindowProxy instead. r=luke
This simplifies LexicalEnvironmentObject::thisValue so it's easier to inline in JIT code.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 20:33:13 +00:00
Jan de Mooij
bd0805832f Bug 1520093 - Make evalcx work with same-compartment realms. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16530

--HG--
extra : moz-landing-system : lando
2019-01-15 20:03:43 +00:00
Daniel Varga
c4bdfad8bd Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-16 06:56:15 +02:00
Daniel Varga
55006aaaec Merge mozilla-inbound to mozilla-central. a=merge 2019-01-16 06:49:11 +02:00
Jason Orendorff
a94714d9aa Bug 1515816 - Fix missing OOM check in ReadableStreamCreateReadResult. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D16361

--HG--
extra : moz-landing-system : lando
2019-01-16 00:34:24 +00:00
Tom Schuster
1dc969f10b Bug 1519142 - Handle cyclic [[Protototype]] chains in two places. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16387

--HG--
extra : moz-landing-system : lando
2019-01-15 17:24:47 +00:00
Jason Orendorff
25527b37f0 Bug 1514051 - Part 2: Drop the underlying source along with other GC edges in ReadableStreamControllerClearAlgorithms. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D14512

--HG--
extra : moz-landing-system : lando
2019-01-15 20:16:30 +00:00
Jason Orendorff
db9feb6766 Bug 1514051 - Part 1: Drop GC edges when a stream is no longer readable. r=arai
I think it's a little bizarre for this to be part of the standard, but if it
weren't there, I wouldn't know it was safe to do this.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 20:16:05 +00:00
Jan de Mooij
f8df49e89e Bug 1520183 - Add a script flag for JSScript::trackRecordReplayProgress(). r=bhackett
This makes it possible to inline this check in JIT code.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 15:35:46 +00:00
Tom Tromey
805e16ad13 Bug 1520003 - make ExecutableAllocator.py work with Python 2; r=nbp
ExecutableAllocator.py's PoolIterator is a Python 3 iterator in that
it defines the __next__ method.  Defining |next| as well lets this
code work in Python 2.

MozReview-Commit-ID: JlkSsZHZkpw

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

--HG--
extra : moz-landing-system : lando
2019-01-15 09:59:22 +00:00
Bogdan Tara
7b951cf2bc Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 18:12:37 +02:00
Bogdan Tara
e94442500f Merge inbound to mozilla-central. a=merge 2019-01-15 18:09:48 +02:00
Jan de Mooij
e57be27532 Bug 1519857 - Enter the script's realm in DecompileAtPCForStackDump. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D16531

--HG--
extra : moz-landing-system : lando
2019-01-15 10:03:42 +00:00
Iain Ireland
0010b1f6f1 Bug 1480390: Use TryNoteIter in HasLiveStackValueAtDepth r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D16566

--HG--
extra : moz-landing-system : lando
2019-01-15 15:34:06 +00:00
Jan de Mooij
cdf2189051 Bug 1519809 - Replace IsActiveEval/IsCachedEval flags on JSScript with a single IsForEval flag. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D16449

--HG--
extra : moz-landing-system : lando
2019-01-14 15:56:15 +00:00
Brindusan Cristian
dfde5a833c Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 06:40:07 +02:00
Brindusan Cristian
d34193a4f4 Merge inbound to mozilla-central. a=merge 2019-01-15 06:38:06 +02:00
Narcis Beleuzu
f0c5e5929a Backed out changeset e44a152c9f9f (bug 1519263) for spidermonkey bustages. 2019-01-15 05:48:04 +02:00