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

77442 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca acbd388c06 Backed out changeset b962b5f4474c (bug 1646664) for Spidermonkey failures in gecko/js/src/jit/arm/MacroAssembler-arm.cpp. CLOSED TREE 2020-06-18 22:32:44 +03:00
Jan de Mooij 211848b0b3 Bug 1646664 - Optimize Math.fround in CacheIR and Warp. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D80154
2020-06-18 16:49:45 +00:00
Lars T Hansen e5f6671ee6 Bug 1645638 - split very large test cases. r=rhunt
The combination of the following factors causes the test cases to OOM
on 32-bit systems due to a lack of object code space:

* --ion-eager
* very many distinct call sites with one IC cache per call site
* one distinct callee per call site that holds onto a distinct wasm
  module
* each wasm module claiming at least one wasm page's worth of code
* IC caches that hold onto the individual functions that are called

Just split the test cases to work around this rare problem.

Differential Revision: https://phabricator.services.mozilla.com/D79988
2020-06-18 13:27:04 +00:00
Jason Orendorff db6abc151f Bug 1646009 - Enable AggregateError in all branches, along with Promise.any. r=jwalden.
Differential Revision: https://phabricator.services.mozilla.com/D80115
2020-06-18 11:54:41 +00:00
Jan de Mooij dc606a6f67 Bug 1646035 - Fix return type for Uint32Array loads in Warp. r=evilpie
As long as only int32 values are read, use an int32-only stub. If the Uint32
value doesn't fit in an int32 support loading doubles.

Differential Revision: https://phabricator.services.mozilla.com/D79962
2020-06-18 07:54:52 +00:00
Jan de Mooij 1bdfd74b3f Bug 1646041 - Fix assertion failure for pending loop headers in OSR phi specialization code. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D79968
2020-06-17 14:21:00 +00:00
Jon Coppeard e3d69a5d6b Bug 1640844 - Improve nursery size calculation to reduce size changes r=sfink
When running benchmarks the nursery size changes frequently, often at every collection.

This patch uses a moving average of the calculated growth factor.  This takes into account information from previous collections as well when calculating the nursery size and producees much more stable results.

Differential Revision: https://phabricator.services.mozilla.com/D80002
2020-06-17 17:47:59 +00:00
Dmitry Bezhetskov 92c4648963 Bug 1639153 - Refactor wasm::Frame to reduce number of gnarly casts. r=lth,wingo
Differential Revision: https://phabricator.services.mozilla.com/D79072
2020-06-18 05:33:30 +00:00
Lars T Hansen 71371b98b6 Bug 1644550 - Clean up rematerialization of constants during multi-return shuffle. r=bbouvier,wingo
Differential Revision: https://phabricator.services.mozilla.com/D79102
2020-06-17 13:24:18 +00:00
Logan Smyth c155b4c86d Bug 1646017 - Promise.any errors should not assume async stack data is available. r=jorendorff,anba
This test assumed that AggregateError stack traces would include frames from
across the asynchronous boundary, which is not guaranteed to be the case. This
test originally passed because Promise.any was only enabled on Nightly and
the Nightly release had the "javascript.options.asyncstack" pref enabled by
default, which guaranteed that async frames were guaranteed to be captured.

Now that bug 1601179 has landed, this is no longer the case because the realm
is required to be a debuggee before async frames will be included in the trace.

Differential Revision: https://phabricator.services.mozilla.com/D79936
2020-06-17 21:27:38 +00:00
Gijs Kruitbosch 222e2d1158 Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Kannan Vijayan b307e7031d Bug 1645845 - Add ParserAtomsTable, parser atoms types, common parser names table, and base parser atoms implementation. r=mgaudet,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D79714
2020-06-17 22:31:35 +00:00
Iain Ireland ce924d29b7 Bug 1646045: Add ensureBallast to FoldLoadsWithUnbox r=jandem DONTBUILD
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D79837
2020-06-17 09:04:06 +00:00
Mihai Alexandru Michis 37db36cbce Backed out changeset 6de6943d856f (bug 1646045) for causing failures in test_notification_openWindow.html
CLOSED TREE
2020-06-17 23:45:48 +03:00
Jason Orendorff 4369f0e6c8 Bug 1637424 - Part 5: Prevent runaway recursion setting up %IteratorPrototype%. r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D76338
2020-06-17 19:50:01 +00:00
Jason Orendorff af08adb04a Bug 1637424 - Part 4: Select the correct [[Prototype]] for self-hosted functions, based on kind. r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D76337
2020-06-17 19:05:31 +00:00
Jason Orendorff 270e951c44 Bug 1637424 - Part 3: Delete an unused argument. r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D76336
2020-06-17 19:05:24 +00:00
Jason Orendorff ef914fb793 Bug 1637424 - Part 2: Prevent runaway recursion when compiling self-hosted generators. r=tcampbell.
The Iterator Helpers proposal adds a cycle to the graph of standard builtins:
Iterator.prototype.map.[[Prototype]] is %Generator%, and
%Generator%.prototype.[[Prototype]] is Iterator.prototype.

Our approach to standing up the builtins doesn't automatically handle cycles,
so each cycle is handled specially. First, we must avoid looping while
compiling self-hosting code (this patch). Another workaround is added later
in this stack.

Differential Revision: https://phabricator.services.mozilla.com/D75220
2020-06-17 20:00:40 +00:00
Jason Orendorff 07a260678e Bug 1637424 - Part 1.1: Make some functions to access uncloned self-hosted values infallible. r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D79360
2020-06-17 19:25:54 +00:00
Jason Orendorff e32265c6f1 Bug 1637424 - Part 1: Support self-hosted builtins possibly being generators in JSFunction::generatorKind(). r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D75219
2020-06-17 19:23:53 +00:00
caroline 62666c2379 Bug 1645818 - Add check for CacheIR or fallback before spewing health report. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D80024
2020-06-17 17:10:32 +00:00
Kris Maglione 758b23093d Bug 1646145: Use lazy property resolution for constants on JS IID reflectors. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D79904
2020-06-17 17:45:35 +00:00
Kris Maglione 3bda67deab Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-17 17:17:16 +00:00
Ted Campbell 4b5638af5a Bug 1642708 - Remove BinAST Rust modules r=arai,emilio
Differential Revision: https://phabricator.services.mozilla.com/D77947
2020-06-17 13:57:07 +00:00
Ted Campbell 9f73e2fb3b Bug 1642708 - Remove more references to BinAST code r=arai
Differential Revision: https://phabricator.services.mozilla.com/D77946
2020-06-17 13:56:58 +00:00
Ted Campbell 8898cf7914 Bug 1642708 - Remove code guarded by JS_BUILD_BINAST r=arai
Also remove js/src/frontend/BinAST* sources.

Differential Revision: https://phabricator.services.mozilla.com/D77945
2020-06-17 14:26:09 +00:00
Ted Campbell f4c1e09650 Bug 1642708 - Disable BinAST prototype r=arai
Differential Revision: https://phabricator.services.mozilla.com/D77920
2020-06-17 13:57:02 +00:00
Ted Campbell c72c2a34d1 Bug 1642708 - Stop running BinAST tests in automation r=perftest-reviewers,Bebe,sfink
Remove the BinAST tests from following jobs:
    - SM(p)
    - SM(cgc)

Remove the BinAST performance tests:
    - binast-instagram

Mark the WPT BinAST tests as backlog.

Differential Revision: https://phabricator.services.mozilla.com/D77919
2020-06-17 13:57:04 +00:00
Tom Schuster 7ea8ee451e Bug 1643669 - Correct input type for MTypedArrayIndexToInt32 in Warp. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D79976
2020-06-17 10:25:33 +00:00
Iain Ireland 74a825ca87 Bug 1646045: Add ensureBallast to FoldLoadsWithUnbox r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D79837
2020-06-17 09:04:06 +00:00
Csoregi Natalia e722c196bc Backed out 5 changesets (bug 1642708) for build bustages. CLOSED TREE
Backed out changeset d307b00c7e1b (bug 1642708)
Backed out changeset d210a60ad435 (bug 1642708)
Backed out changeset bcc2728b5ca5 (bug 1642708)
Backed out changeset 1c245d4e8244 (bug 1642708)
Backed out changeset ad613fa94a83 (bug 1642708)
2020-06-17 16:51:16 +03:00
Ted Campbell b08256508e Bug 1642708 - Remove BinAST Rust modules r=arai,emilio
Differential Revision: https://phabricator.services.mozilla.com/D77947
2020-06-17 13:22:41 +00:00
Ted Campbell d721f78175 Bug 1642708 - Remove more references to BinAST code r=arai
Differential Revision: https://phabricator.services.mozilla.com/D77946
2020-06-12 13:56:18 +00:00
Ted Campbell 0d2aa310b5 Bug 1642708 - Remove code guarded by JS_BUILD_BINAST r=arai
Also remove js/src/frontend/BinAST* sources.

Differential Revision: https://phabricator.services.mozilla.com/D77945
2020-06-12 14:25:50 +00:00
Ted Campbell f514a8a144 Bug 1642708 - Disable BinAST prototype r=arai
Differential Revision: https://phabricator.services.mozilla.com/D77920
2020-06-12 03:39:15 +00:00
Ted Campbell c2620d4c2f Bug 1642708 - Stop running BinAST tests in automation r=perftest-reviewers,Bebe,sfink
Remove the BinAST tests from following jobs:
    - SM(p)
    - SM(cgc)

Remove the BinAST performance tests:
    - binast-instagram

Mark the WPT BinAST tests as backlog.

Differential Revision: https://phabricator.services.mozilla.com/D77919
2020-06-17 08:06:08 +00:00
Noemi Erli 9f02d32e17 Backed out changeset b620533c6d63 (bug 1639153) for causing build bustages in WasmFrameIter.cpp CLOSED TREE 2020-06-17 16:02:51 +03:00
Dmitry Bezhetskov 2cc73fdf19 Bug 1639153 - Refactor wasm::Frame to reduce number of gnarly casts. r=lth,wingo
Differential Revision: https://phabricator.services.mozilla.com/D79072
2020-06-17 12:04:54 +00:00
Lars T Hansen 55080ce4b9 Bug 1645610 - Use the export's funcIndex to get the func export. r=bbouvier
This fixes some debugging code that assumed a function could be
exported only once.  This code has been unchanged at least since the
Big Source Reformatting and is not a recent regression.  This
particular bug is clearly specific to fuzzing-safe.

Differential Revision: https://phabricator.services.mozilla.com/D79652
2020-06-17 11:41:13 +00:00
Lars T Hansen 36f6b5c9bc Bug 1645784 - Guard test cases properly for fuzzing. r=rhunt
A grab bag of missing test guards for fuzzing-safe runs:

* The ARM test case should be guarded on the API used.
* The import/export test case is specifically for non-fuzzing and so is
  guarded on a function that is absent in fuzzing-safe mode; we
  introduce a predicate to abstract this.
* The uses of the non-fuzzing-safe streaming function can be adapted
  to test for this function first, so as to allow fuzz testing of
  streaming in general.

Differential Revision: https://phabricator.services.mozilla.com/D79680
2020-06-17 11:41:44 +00:00
Lars T Hansen c4e97ddace Bug 1645784 - Add a synthetic console if one is missing. r=rhunt
For fuzzing-safe runs, the console object is missing from the shell,
preventing many of the imported wasm spec tests to run.  Add a
synthetic console object with a do-nothing log function in this case,
to allow fuzzing-safe runs of the wasm spec tests.

Differential Revision: https://phabricator.services.mozilla.com/D79678
2020-06-17 11:41:26 +00:00
Lars T Hansen 3bcf287de7 Bug 1646321 - Do a GC_SHRINK on large-alloc failure. r=jonco
If a large allocation fails, do what we can to free up memory,
including discarding code if necessary - sometimes the failing
allocation is looking for code memory.

Differential Revision: https://phabricator.services.mozilla.com/D79990
2020-06-17 11:41:52 +00:00
Jan de Mooij b3fb981f05 Bug 1642883 - Rename MacroAssembler swap* methods to byteSwap* to fix OpenBSD build failures. r=caroline
Unfortunately OpenBSD has a header file defining swap{16,32,64} macros.

Differential Revision: https://phabricator.services.mozilla.com/D79826
2020-06-16 14:52:53 +00:00
Yoshi Cheng-Hao Huang 81ca6d9412 Bug 1628204 - Part 2: Don't submit compression tasks after shutdown. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D79420
2020-06-17 07:37:47 +00:00
Yoshi Cheng-Hao Huang 6052e54fed Bug 1628204 - Part 1: Move append to compressionFinishedList inside runTask. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D78461
2020-06-17 07:37:40 +00:00
Razvan Maries ff6696efc0 Backed out changeset 647adc688cea (bug 1645845) for build bustages on ParserAtom.cpp. 2020-06-17 05:49:26 +03:00
Kannan Vijayan f9156e3176 Bug 1645845 - Add ParserAtomsTable, parser atoms types, common parser names table, and base parser atoms implementation. r=mgaudet,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D79714
2020-06-16 22:16:17 +00:00
Zhao Jiazhong f8ed94fcd1 Bug 1645968 - [MIPS] Add a new implementation of cmpPtrSet. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D79789
2020-06-17 01:21:03 +00:00
Nicholas Nethercote a8f5f49b8a Bug 1645982 - Rename some service getters in `Services.py` to better match the types. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D79791
2020-06-16 23:32:21 +00:00
Jon Coppeard b2762155a5 Bug 1566307 - Improve the error generated when resolution of a module specifier fails r=hsivonen
This combines the two places where an error was generated for this into one and adds localiation for the message. The message is improved as requested in the bug.

Differential Revision: https://phabricator.services.mozilla.com/D79862
2020-06-16 18:40:17 +00:00