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

75642 Коммитов

Автор SHA1 Сообщение Дата
yulia ae23069b7b Bug 1623871 - rename JSTryNote to TryNote in smooshmonkey; r=arai
Differential Revision: https://phabricator.services.mozilla.com/D67612

--HG--
extra : moz-landing-system : lando
2020-03-23 10:10:08 +00:00
Zhao Jiazhong 95c84dbacd Bug 1624091 - [MIPS] Fix the wrong implementation of cmp32Load32. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D67731

--HG--
extra : moz-landing-system : lando
2020-03-23 07:15:39 +00:00
Tom Schuster d99e2a3133 Bug 1622562 - Remove JSREPORT_IS_WARNING everywhere. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67029

--HG--
extra : moz-landing-system : lando
2020-03-21 20:14:13 +00:00
Tom Schuster 294e9caaac Bug 1622562 - Remove JSREPORT_IS_WARNING from js/src. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D67028

--HG--
extra : moz-landing-system : lando
2020-03-21 20:14:11 +00:00
André Bargull c2dc594012 Bug 1623957 - Part 17: Remove stray includes for "mfbt/TypeTraits.h". r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67665

--HG--
extra : moz-landing-system : lando
2020-03-21 15:08:53 +00:00
André Bargull 522a5a2f34 Bug 1623957 - Part 16: Replace mozilla::RemoveConst with std::remove_const. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67664

--HG--
extra : moz-landing-system : lando
2020-03-21 14:31:43 +00:00
André Bargull d4d0c69e4d Bug 1623957 - Part 15: Replace mozilla::RemoveReference with std::remove_reference. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67663

--HG--
extra : moz-landing-system : lando
2020-03-21 14:28:59 +00:00
André Bargull 43443a9706 Bug 1623957 - Part 14: Replace mozilla::IsPointer with std::is_pointer. r=jwalden
Also reenable the `static_assert` which was disabled for some reason in
bug 1308236. (Bug 1308236 doesn't contain any information why this assertion
had to be disabled.)

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

--HG--
extra : moz-landing-system : lando
2020-03-21 14:27:24 +00:00
André Bargull 6204f0b10c Bug 1623957 - Part 13: Replace mozilla::IsSigned with std::is_signed. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67661

--HG--
extra : moz-landing-system : lando
2020-03-21 14:27:11 +00:00
André Bargull 24f145cd1e Bug 1623957 - Part 12: Replace mozilla::MakeUnsigned with std::make_unsigned. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67660

--HG--
extra : moz-landing-system : lando
2020-03-21 14:25:36 +00:00
André Bargull 08ca80f035 Bug 1623957 - Part 11: Replace mozilla::IsEnum with std::is_enum. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67659

--HG--
extra : moz-landing-system : lando
2020-03-21 14:25:24 +00:00
André Bargull 94fe0cb565 Bug 1623957 - Part 10: Replace mozilla::Conditional with std::conditional. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67658

--HG--
extra : moz-landing-system : lando
2020-03-21 14:25:21 +00:00
André Bargull 18da032034 Bug 1623957 - Part 9: Replace mozilla::IsVoid with std::is_void. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67657

--HG--
extra : moz-landing-system : lando
2020-03-21 14:22:30 +00:00
André Bargull 6a0bbf6484 Bug 1623957 - Part 8: Replace mozilla::IsUnsigned with std::is_unsigned. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67656

--HG--
extra : moz-landing-system : lando
2020-03-21 14:22:23 +00:00
André Bargull 3f258924fb Bug 1623957 - Part 7: Replace mozilla::EnableIf with std::enable_if. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67655

--HG--
extra : moz-landing-system : lando
2020-03-21 14:41:09 +00:00
André Bargull a582a6c75f Bug 1623957 - Part 6: Replace mozilla::IsConvertible with std::is_convertible. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67653

--HG--
extra : moz-landing-system : lando
2020-03-21 14:20:17 +00:00
André Bargull 18feede4ec Bug 1623957 - Part 5: Replace mozilla::RemovePointer with std::remove_pointer. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67652

--HG--
extra : moz-landing-system : lando
2020-03-21 14:19:34 +00:00
André Bargull 1e668d292e Bug 1623957 - Part 4: Replace mozilla::DeclVal with std::declval. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67651

--HG--
extra : moz-landing-system : lando
2020-03-21 14:19:00 +00:00
André Bargull 86ff4b3be7 Bug 1623957 - Part 3: Replace mozilla::IsEmpty with std::is_empty. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67650

--HG--
extra : moz-landing-system : lando
2020-03-21 14:17:31 +00:00
André Bargull db4fd78391 Bug 1623957 - Part 2: Replace mozilla::Decay with std::decay. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67649

--HG--
extra : moz-landing-system : lando
2020-03-21 14:18:58 +00:00
André Bargull d3e5d8544e Bug 1623957 - Part 1: Replace mozilla::IsSame with std::is_same. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D67648

--HG--
extra : moz-landing-system : lando
2020-03-21 15:08:24 +00:00
grtsid e2dbcc6b2d Bug 1622653 - BaselineJIT.cpp: Replace size()>0 by !empty() r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67548

--HG--
extra : moz-landing-system : lando
2020-03-20 14:15:02 +00:00
Jeff Walden 8e964ff6d7 Bug 1623780 - Make a bunch of template-object functions, fields, and variables use a more-precise |PlainObject*| type instead of |NativeObject*|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D67561

--HG--
extra : moz-landing-system : lando
2020-03-21 09:32:40 +00:00
Jon Coppeard 72cbb94f89 Bug 1623973 - Make FinalizationRegistryObject active record set and registrations map values weak r=sfink
This removes tracing for the values of the registration map and the active record set and sweeps them instead. This requires maintaining a map of FinalizationRegistryObjects on the zone.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 21:57:22 +00:00
Matthew Gaudet 54d91e0818 Bug 1623762 - Remove Optimization tracking documentation r=djvj DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D67558

--HG--
extra : moz-landing-system : lando
2020-03-20 23:27:39 +00:00
Matthew Gaudet 466060466e Bug 1623932 - Remove support for storing GCCellPtrs in the GCThingList r=caroline
Differential Revision: https://phabricator.services.mozilla.com/D67642

--HG--
extra : moz-landing-system : lando
2020-03-20 21:44:06 +00:00
Ryan Hunt 376d8a4d9b Bug 1623771 - Import missing spec-tests. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D67566

--HG--
extra : moz-landing-system : lando
2020-03-20 20:20:54 +00:00
Ryan Hunt cfbc8ddfc3 Bug 1623771 - Update configs for latest wasm-generate-testsuite. r=lth
This commit updates the config/scripts for the latest wasm-generate-testsuite.
  * Remove wasm-spec-tests.patch as it's not actually being used due to typo
  * Switch to explicit lockfile that is updated separately
  * Exclude tests that are failing when correctly imported for the current
    pinned commits.
    - This was due to an incorrectly implemented find files function that would
      stop finding files after the first encountered directory.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 20:17:58 +00:00
Iain Ireland 11a79be1b6 Bug 1623437: ARM64: Check for negative zero in MulI bailout r=nbp
Whenever Ion multiplies two integers on ARM64, if the result is zero, we will not only bail out, but invalidate the script. This is causing repeated invalidations in Servo. This patch fixes the negative zero handling for LMulI on ARM64.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 18:55:49 +00:00
Mihai Alexandru Michis 663a7c992e Backed out 2 changesets (bug 1361856) for causing sm failures in RegExp/flags.js
CLOSED TREE

Backed out changeset 597e083be9d4 (bug 1361856)
Backed out changeset 8a017673c25b (bug 1361856)
2020-03-20 21:01:51 +02:00
Mihai Alexandru Michis 13d1400778 Backed out 4 changesets (bug 1622562) for causing wpt failures.
CLOSED TREE

Backed out changeset 1ab69d63949b (bug 1622562)
Backed out changeset a5c299f23df7 (bug 1622562)
Backed out changeset 233b80b283fb (bug 1622562)
Backed out changeset e76f213e7f04 (bug 1622562)

--HG--
extra : rebase_source : 3765e25897f0d8f95a7304e11713bf5aed8f5b83
2020-03-20 20:56:58 +02:00
Iain Ireland b84e38576f Bug 1361856: Use SM RegExpFlags inside irregexp r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66845

--HG--
extra : moz-landing-system : lando
2020-03-19 18:32:03 +00:00
Iain Ireland 04a4d8d0d1 Bug 1361856: Add dotAll to RegExpFlags r=jwalden
This patch adds the boilerplate necessary to support a new regexp flag. Externally visible changes (parsing the flag, the dotAll property on the prototype) are guarded behind ENABLE_NEW_REGEXP.

The actual implementation of dotAll comes for free with the fresh import of irregexp (bug 1367105).

There is one test (tests/non262/RegExp/prototype.js) that needs to be updated when this is turned on to add "dotAll" to the list of expected properties on the RegExp prototype. I will attach that change to my patch that flips ENABLE_NEW_REGEXP to be on by default.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 18:31:52 +00:00
Tom Schuster 42af8824b3 Bug 1622562 - Cleanup exnType initialization r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D67140

--HG--
extra : moz-landing-system : lando
2020-03-20 16:49:16 +00:00
Tom Schuster cf19d7f105 Bug 1622562 - Move some fundamental error reporting functions to ErrorReporting.h r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D67138

--HG--
extra : moz-landing-system : lando
2020-03-20 17:24:28 +00:00
Tom Schuster 7328dae6e3 Bug 1622562 - Remove JSREPORT_IS_WARNING everywhere. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67029

--HG--
extra : moz-landing-system : lando
2020-03-20 17:24:28 +00:00
Tom Schuster 2b3d700df0 Bug 1622562 - Remove JSREPORT_IS_WARNING from js/src. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D67028

--HG--
extra : moz-landing-system : lando
2020-03-20 16:47:37 +00:00
Steve Fink dc5a38ae64 Bug 1623883 - disable test gc/bug1620200 if TypedObject not available
Differential Revision: https://phabricator.services.mozilla.com/D67641

--HG--
extra : moz-landing-system : lando
2020-03-20 15:39:13 +00:00
Lars T Hansen 93f9148960 Bug 1620986 - Introduce run-time switch for multi-value. r=bbouvier,wingo
This adds a JS shell command line argument to disable multi-value (if
it is enabled at compile time) and an about:config option to do the
same in the browser.

At this time, multi-values are not enabled in the browser, so the
about:config option is not visible.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 10:58:07 +00:00
Jan de Mooij dc777575a6 Bug 1618198 part 21 - Implement object literal getter/setter ops. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D67487

--HG--
extra : moz-landing-system : lando
2020-03-20 09:51:13 +00:00
Jan de Mooij 3f3f5869cb Bug 1618198 part 20 - Implement object/array allocation ops. r=iain
For JSOp::Object we call setSingletonsAsValues in WarpOracle. There's a comment
for CompileRealm::setSingletonsAsValues claiming it's safe to do that off-thread
but it's simpler and safer to just avoid it.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 09:51:24 +00:00
Jan de Mooij c58c56bf84 Bug 1618198 part 19 - Implement more ops. r=iain
The change in GetIntrinsicValue is necessary. IonBuilder adds a resume point
after MCallGetIntrinsicValue but in WarpBuilder that doesn't work: because the
instruction is not effectful, it would trigger an assertion failure in resumeAfter.
Without its own resume point, however, we can't look up the current pc in
GetIntrinsicValue (the pc comes from the last resume point) so disable that code
if WarpBuilder is enabled.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 09:51:24 +00:00
Lars T Hansen f3a6781a23 Bug 1623602 - Properly guard a test case. r=rhunt
An earlier change would disable SharedArrayBuffer in the JS shell for beta and release builds.
This has uncovered some broken guards in various test cases, in this case, a test on whether
the shell built-in setSharedObject is available.  However, that is not affected by the change
in the setting, so the guard really should test both setSharedObject (to ensure it's only
tested in the shell) and SharedArrayBuffer (to ensure it's only tested when shared memory
is available.)

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

--HG--
extra : moz-landing-system : lando
2020-03-19 18:02:37 +00:00
caroline 65afeeafc1 Bug 1605387 - Rename JSTryNote to TryNote, move into js namespace, and add default initialization. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D67190

--HG--
extra : moz-landing-system : lando
2020-03-19 22:07:20 +00:00
caroline 317e06788d Bug 1605387 - Remove XDR accessors on JSTryNote and ScopeNote. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D67189

--HG--
extra : moz-landing-system : lando
2020-03-19 16:47:58 +00:00
caroline 927245f108 Bug 1605387 - Move JSTryNote, ScopeNote, and ImmutableScriptData into SharedStencil.h. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D67188

--HG--
extra : moz-landing-system : lando
2020-03-19 16:47:56 +00:00
Tom Schuster 5eb9932e47 Bug 1621813 - Remove nsIScriptError.exceptionFlag. r=mccr8
I made some changes in preparation for removing nsIScriptError.flags in favor
of nsIConsoleMessage.logLevel.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 21:31:44 +00:00
Tom Schuster 07f98c5f66 Bug 1621813 - Remove JSREPORT_EXCEPTION. r=jandem
There are a few comments which talk about how this flag is used for
error propagation. As far as I can tell we don't actually do this.
I suspect we haven't been doing it since we have proper DOM bindings,
but I haven't actually investiaged it further.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 21:30:55 +00:00
Oana Pop Rus abd0620cd9 Backed out 16 changesets (bug 1612534) for SM and multiple mochitests failures. on a CLOSED TREE
Backed out changeset c5950b8fed9f (bug 1612534)
Backed out changeset 6cb283dacbb9 (bug 1612534)
Backed out changeset 9bcb3a201d6b (bug 1612534)
Backed out changeset bd9126f1eab9 (bug 1612534)
Backed out changeset 32755d255aa0 (bug 1612534)
Backed out changeset 79f172cf28fa (bug 1612534)
Backed out changeset 168bb2aa8012 (bug 1612534)
Backed out changeset 61b698328174 (bug 1612534)
Backed out changeset 5ab5b2df1a51 (bug 1612534)
Backed out changeset 15f0a5c7902a (bug 1612534)
Backed out changeset a783089c764d (bug 1612534)
Backed out changeset a9b43b521c6b (bug 1612534)
Backed out changeset 13e0fa81800d (bug 1612534)
Backed out changeset d198f3622b66 (bug 1612534)
Backed out changeset 3adfac0ba298 (bug 1612534)
Backed out changeset 128b94d489da (bug 1612534)
2020-03-20 00:12:48 +02:00
Ryan Hunt 92c7237b76 Bug 1612534 - Manually fix 'debug/' jit-tests. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D67261

--HG--
extra : moz-landing-system : lando
2020-03-19 20:52:18 +00:00