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

65128 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard b02132bedf Bug 1457703 - Don't fixup an associated object's shape when updating moved pointers in another object r=sfink a=abillings 2018-05-10 10:09:27 +01:00
Jon Coppeard 3a38aac2ae Bug 1457703 - Fix count of compacting update tasks started r=sfink a=abillings 2018-05-10 10:09:23 +01:00
Jon Coppeard befc3a0e32 Bug 1459568 - Expose gray object on return from shell test function r=sfink a=abillings 2018-05-10 10:08:52 +01:00
Steve Fink 4723f0394a Bug 1442481 - Make nursery and tenured versions of representative test strings, r=jonco
--HG--
extra : topic : nursery.strings
extra : rebase_source : 5bb671d9ad8d685dfc6c13ca9d3656c4f782249e
2018-04-04 15:05:49 -07:00
Andrew McCreight 65d34faa5e Bug 1460385 - Don't trace propid in TraceCycleCollectorChildren. r=sfink
The propid is a jsid, and a jsid can never be anything the CC cares
about, so there's no reason to trace it. In at least one profile of
Google Inbox, tracing shape propids is taking the majority of time in
the CC and causing very long pauses.

MozReview-Commit-ID: HcjnawBHLx1

--HG--
extra : rebase_source : 3682b2ac84752b200be780401059c2907dc7d6af
2018-05-09 12:39:46 -07:00
Steve Fink c78c05d0ce Bug 1442481 - Remove invariant that no longer is: ropes are not always tenured anymore, r=jonco
--HG--
extra : topic : nursery.strings
extra : rebase_source : bbee61bf12c75cb21f8bc9d69bbeb27fb4066786
2018-03-01 08:20:16 -08:00
Steve Fink 48a44fc0fb Bug 1442481 - Use whole cell buffer to post-barrier string -> string edges, r=jonco
--HG--
extra : topic : nursery.strings
extra : rebase_source : 6aa3ccd4b3143981ca4340f49ae21e3dfdca6216
2018-04-03 21:13:07 -07:00
Nathan Froyd 493330ae3f Bug 1460379 - remove --with-pthreads option; r=ted.mielczarek
This option does nothing if it's provided, and things will probably
break in some most peculiar manner if somebody uses --without-pthreads.
Given that neither outcome is useful, we should remove the option.
2018-05-09 17:26:31 -04:00
Nathan Froyd c21c323370 Bug 1460373 - move --enable-valgrind to moz.configure; r=ted.mielczarek 2018-05-09 17:26:31 -04:00
Jeff Walden 5e431fccb9 Bug 1459384 - Allocate tokens only when the token's contents are fully determined, rather than early and sometimes over-eagerly. r=arai
--HG--
extra : rebase_source : 98b0a5d37e5d4dc9ad2380dd9300f27f7cc523cc
2018-05-03 23:29:28 -07:00
Jeff Walden 91bfb3f7a8 Bug 1459384 - Make TokenStreamAnyChars::cursor private, and interact with it only through accessors and mutator functions. r=arai
--HG--
extra : rebase_source : 066bf71943900dc9e5f81a02c9b0b5c3043a064d
2018-05-04 22:22:00 -07:00
Jeff Walden 114791d853 Bug 1459384 - Move the finishToken call into getStringOrTemplateToken. r=arai
--HG--
extra : rebase_source : c156be076a95518eb7ab45f8d1615e9c598ba4de
2018-05-03 22:02:33 -07:00
Jeff Walden 0c6a64819c Bug 1459384 - Make FinishToken into a member function, not a lambda. r=arai
--HG--
extra : rebase_source : b96aae0b3d04555edb03c772358f04bcfff217e7
2018-05-03 22:02:33 -07:00
Jeff Walden 1ff4a82056 Bug 1459384 - Explicitly pass to FinishToken the two non-|this| captures it currently has. r=arai
--HG--
extra : rebase_source : dbe004e4462031227eb6baf5a5fad9b5535fc5ae
2018-05-03 22:02:32 -07:00
Jeff Walden 5765e69ada Bug 1459384 - Make getDirectives handle calling badToken() itself if needed. r=arai
--HG--
extra : rebase_source : d53f767a78acf81b17ddb0aaf7a7e0c3585f5792
2018-05-03 22:02:32 -07:00
Jeff Walden 9abb884ca8 Bug 1459384 - Make decimalNumber handle calling badToken() itself if needed. r=arai
--HG--
extra : rebase_source : 2f75df57ace903a21ddcdda3dd0bb266d9d91d42
2018-05-03 22:02:32 -07:00
Jeff Walden 48097113d2 Bug 1459384 - Make identifierName handle calling badToken() itself if needed. r=arai
--HG--
extra : rebase_source : 5ea7b1c81f9a8fb90d5672348aa0693200cbf4a2
2018-05-03 22:02:32 -07:00
Jeff Walden 485008d787 Bug 1459384 - Make getStringOrTemplateToken handle calling badToken() itself if needed. r=arai
--HG--
extra : rebase_source : 77f11f6fbc6919450bda1e023068bf0a4ac46599
2018-05-03 22:02:32 -07:00
Jeff Walden 9243a26b70 Bug 1459384 - Eliminate the BadToken lambda in favor of pessimistically marking the outparam undefined to start, then using a MOZ_COLD badToken() function to handle failure code. r=arai
--HG--
extra : rebase_source : f7a6c7fd25db187d70a273ed748c0c259557ccd8
2018-05-03 22:02:32 -07:00
Jeff Walden 89c188ee0c Bug 1459384 - Make |newToken()| only get a Token*, and have it accept a start offset, not compute one. r=arai
--HG--
extra : rebase_source : 4e63211df0c2ca723e50687368c6d099ab589727
2018-05-03 22:02:31 -07:00
Jeff Walden 04c82dc514 Bug 1459384 - Pass |Token* tp| directly to |FinishToken| to eliminate another overshared local. r=arai
--HG--
extra : rebase_source : adbca4992b57a178310d71e237ead150043f1b5e
2018-05-03 22:02:31 -07:00
Jeff Walden a7874ba6c0 Bug 1459384 - Merge a few declarations into their first assignments, now that that's possible. r=arai
--HG--
extra : rebase_source : 15f95c98fa4cda7a4ff870d0e16d41ca1c2ee044
2018-05-03 22:02:31 -07:00
Jeff Walden 3af48bd1a0 Bug 1459384 - Move decimal number tokenizing into a separate function and eliminate the final two labels from TokenStreamSpecific::getTokenInternal. r=arai
--HG--
extra : rebase_source : 4876163dca864162d0ae9a963e5551f93fbc923b
2018-05-01 19:06:27 -07:00
Jeff Walden 6308653d9f Bug 1459384 - Rename FirstCharKind's BasePrefix initializer to ZeroDigit for better understandability in the place where behavior diverges when that value is found. r=arai
--HG--
extra : rebase_source : 4c5e44adee8eb6cde25e8761dc60ab59775d6012
2018-05-01 14:47:25 -07:00
Jeff Walden 3be21c5482 Bug 1459384 - Move some overscoped variables inside the retry-for-comment loop. r=arai
--HG--
extra : rebase_source : 5fffc750cac3bb69031fd9b151dcb0fe340c0df7
2018-05-01 13:08:07 -07:00
Jeff Walden 213f86e0e2 Bug 1459384 - Eliminate the |retry| label in |TokenStreamSpecific::getTokenInternal| by converting the surrounding code to a loop and using |continue| instead. r=arai
--HG--
extra : rebase_source : 564a5fb6ec596bbda7a026a6baf8bc2a1c7e9c17
2018-05-01 13:03:23 -07:00
Jeff Walden e279feea18 Bug 1459384 - Eliminate the |error| label from |TokenStreamSpecific::getTokenInternal|. r=arai
--HG--
extra : rebase_source : de489d1109a3993ae15aa6c163d6ad19ec23c1d8
2018-05-01 12:58:56 -07:00
Jeff Walden 97f6bc5aa0 Bug 1459384 - Eliminate the |out| label from |TokenStreamSpecific::getTokenInternal|. r=arai
--HG--
extra : rebase_source : bd2c6e0521709cdc00a1da49610ee97ce2037889
2018-05-01 12:58:35 -07:00
Jeff Walden 31367b15e9 Bug 1459384 - Eliminate the skipline label in TokenStreamSpecific::getTokenInternal in favor of a separate function. r=arai
--HG--
extra : rebase_source : 25e9c2fd307c3173caf3a7e4b794bea0da413d0f
2018-05-01 09:06:15 -07:00
Jeff Walden c079a4b0d4 Use more-normal formatting of HashTableEntry member functions, now that the prior consistent pattern is no longer consistent. No bug, r=me as trivial
--HG--
extra : rebase_source : 3b31ce414354ff457b1abe23d43da6655419824a
2018-05-08 14:48:11 -07:00
Andi-Bogdan Postelnicu c4f2c57166 Bug 1416666 - Avoid doing a memset on a non-POD structure. r=jwalden
--HG--
extra : rebase_source : c1e3c4fb42693e552e037a35a489d4bbff6d5f98
2018-05-08 15:35:29 +03:00
Jeff Walden 15fdcd59bb Bug 1459382 - Change SourceUnits::matchRawCharBackwards to SourceUnits::ungetOptionalCRBeforeLF to reflect narrower scope/be character-type-agnostic. r=arai
--HG--
extra : rebase_source : 111ed0c672540be5bbceb4b87f2133070f7e3a9b
2018-05-01 09:01:22 -07:00
Jeff Walden 3911ed3a21 Bug 1459382 - Rename yet more SourceUnits member functions to refer to code units. r=arai
--HG--
extra : rebase_source : 2d15d1ace733abce1f3c1b1e2f6cf6d1d90ae864
2018-04-23 13:52:36 -07:00
Jeff Walden cbf66c51a2 Bug 1459382 - Rename various SourceUnits member functions to refer to code units, not "raw" chars. r=arai
--HG--
extra : rebase_source : 74825f45ff7ee63ffc5b9a3f20e457a98761fc72
2018-04-23 13:51:37 -07:00
Jeff Walden 9d7ffc413d Bug 1459382 - Rename TokenStreamCharsBase<CharT>::TokenBuf to SourceUnits<CharT> preparing for its being specialized for single/double-byte source code units. r=arai
--HG--
extra : rebase_source : 47ee24795112518d3aa2a80e9160cba4bcb29815
2018-04-23 13:50:57 -07:00
Margareta Eliza Balazs 6c97db61d4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-09 12:40:18 +03:00
Margareta Eliza Balazs eb6c5214a6 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
André Bargull 1cfe9bcd18 Bug 1456118: Update helper scripts for Python 3 compatibility. r=anba 2018-05-09 00:50:57 -07:00
Luke Wagner 32cfdd4da0 Bug 1458029 - Baldr: update wasm frame stack format string to match WebAssembly Web API spec (r=yury,bbouvier,fitzgen)
--HG--
extra : rebase_source : 526aea59059ef5710aac88aabd1ee71ddbf7512d
2018-05-08 13:26:40 -05:00
Luke Wagner e508e84004 Bug 1458029 - Baldr: tweak function display name interface (r=bbouvier)
--HG--
extra : rebase_source : 26c3f0c345155f8ed42764384b2acf16c37db001
2018-05-08 13:25:00 -05:00
André Bargull 59f1e53c7c Bug 1416289 - Part 3: Always use double values for Math functions which are inlined through MMathFunction. r=jandem 2018-05-08 05:41:19 -07:00
André Bargull 70715adb39 Bug 1416289 - Part 2: Add Ion-inline support for Math.sign. r=jandem 2018-05-08 05:41:18 -07:00
André Bargull 80a4563cec Bug 1416289 - Part 1: Add Ion-inline support for Math.trunc. r=jandem 2018-05-08 05:41:18 -07:00
André Bargull 5dfcfcd243 Bug 1459611 - Use NumberEqualsInt32 when negative and positive zero are treated the same. r=jandem 2018-05-07 09:28:12 -07:00
André Bargull b8d8d911f6 Bug 1458646 - Replace JS_NewStringCopyZ with NewStringCopyZ in Intl code. r=Waldo 2018-05-02 11:37:28 -07:00
Ciure Andrei de05fd66c8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-09 02:02:05 +03:00
Mark Banner 9c03ace970 Bug 1458235 - Fix various cases where Assert.ok or Assert.equal have been called wrongly. r=Gijs
MozReview-Commit-ID: Br3lKpKNVQJ

--HG--
extra : rebase_source : 972c69ecf63bb522b0f368e3c388f4eff558bbe3
2018-05-01 22:15:43 +01:00
Jan de Mooij 8494c26563 Bug 1459225 - Add a gc() call to wasm/atomic.js test so TSan builds don't OOM. r=lth 2018-05-08 15:06:53 +02:00
Jan de Mooij be1d10ec53 Bug 1459258 - Improve InlineMap OOM testing and fix some issues. r=jonco 2018-05-08 15:05:41 +02:00
Jan de Mooij 3a6641eae9 Bug 1437533 - Don't use memset to initialize JSFunction extended slots. Parts of this patch written by Waldo. r=jwalden 2018-05-08 11:29:32 +02:00
Tooru Fujisawa 48837f3950 Bug 1458973 - Rename {Rooted,Handle}ScriptSource to {Rooted,Handle}ScriptSourceObject. r=jimb 2018-05-08 14:52:43 +09:00
Chris Peterson 71422dcaa9 Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L

--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Stephen A Pohl 860c14b396 Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz 2018-05-08 10:31:44 -04:00
Ms2ger 4b3d35dfe2 Bug 1459880 - part g: Introduce a PathOptions class for included and excluded paths; r=jandem
Besides being somewhat more readable, it avoids a redundant call to
|_split_files_and_dirs|.
2018-05-08 16:15:32 +02:00
Ms2ger a725ed1dab Bug 1459880 - part f: Use an iterative algorithm for |RefTestCase.prefix_command|; r=jandem
This should be somewhat more efficient, and will make it easier for me to make
a future change to add some additional paths.

It also removes the unused |filename| variable from |get_command|.
2018-05-08 16:15:32 +02:00
Ms2ger 2bd54e7a0b Bug 1459880 - part e: Merge the RefTest and RefTestCase classes; r=jandem
Only the RefTestCase subclass is ever used.
2018-05-08 16:15:32 +02:00
Ms2ger 5e8fc9889c Bug 1459880 - part d: Correct the documentation for |load_tests|; r=jandem 2018-05-08 16:15:32 +02:00
Ms2ger 5eebfa9a20 Bug 1459880 - part c: Consolidate the arguments to |_find_all_js_files|; r=jandem
We always pass the same value for the two arguments.
2018-05-08 16:15:32 +02:00
Ms2ger cbf9724b1d Bug 1459880 - part b: Remove unused |reldir| argument from |load_reftests|; r=jandem 2018-05-08 16:15:31 +02:00
Ms2ger 728ff89739 Bug 1459880 - part a: Use a |with| statement to open exclusion files; r=jandem
This is somewhat simpler, and yields a clearer error message if the file can't
be opened. (In this case, an exception is thrown before |fp| is defined, and
the |fp.close()| call then throws another exception, hiding the first one.)
2018-05-08 16:15:31 +02:00
Matthew Gaudet e2a8f73f32 Bug 1460895: Deduplicate MegamorphicLoadSlotResult using EmitLoadStubField r=jandem
Also rename helper method to match pre-existing spidermonkey style.

--HG--
extra : rebase_source : e620becd238c418e452c38dca940b860116c1c48
2018-01-30 14:35:30 -05:00
Luke Wagner 922e46b318 Bug 1459761 - Baldr: relax WebAssembly.Memory GC heuristic (r=lth,jonco) 2018-05-14 09:21:46 -05:00
André Bargull 2824b4a74f Bug 1415202: Always use the equivalent year to determine the time zone offset and name. r=Waldo 2017-11-08 03:23:41 -08:00
Ciure Andrei a7fbf22348 Backed out 11 changesets (bug 1457560, bug 1366287) for causing Linux build bustages CLOSED TREE
Backed out changeset e71da1f3c048
Backed out changeset 971159738904 (bug 1366287)
Backed out changeset 68fae6784ebe (bug 1366287)
Backed out changeset a18120245eb7 (bug 1366287)
Backed out changeset 3bbd03d726e5 (bug 1366287)
Backed out changeset f80aac2c702a (bug 1366287)
Backed out changeset c834c0c12a7f (bug 1366287)
Backed out changeset dd19d38a2b1c (bug 1366287)
Backed out changeset 76fdbe405fbd (bug 1366287)
Backed out changeset b424782cd5d1 (bug 1366287)
Backed out changeset e4fd5393d398 (bug 1457560)
2018-05-12 08:00:13 +03:00
Jeff Walden 35847e1a96 Backed out changeset e4fd5393d398 for an "undesired" libstdc++ symbol dependency. r=bustage 2018-05-11 21:15:00 -07:00
Robin Templeton 6b3f331f8b bug 1366287 - Part 6: Implement boolean-to-BigInt conversion. r=jwalden 2018-05-11 20:02:05 -07:00
Robin Templeton 5d50985ff7 bug 1366287 - Part 5: Implement BigInt.prototype.toLocaleString. r=jwalden
This will have its behavior defined by ECMA-402 in the future; for now,
it returns the same result as the toString method (which is permitted by
the BigInt spec).
2018-05-11 19:47:17 -07:00
Robin Templeton 2d8d3572ab bug 1366287 - Part 4: Add Rust tests for is_bigint. r=Ms2ger 2018-05-11 19:44:33 -07:00
Robin Templeton 5483d5185c bug 1366287 - Part 3: Define the BigIntObject class for BigInt wrapper objects. r=jwalden 2018-05-11 19:43:45 -07:00
Robin Templeton 9b286536e0 bug 1366287 - Part 2.1: Track GMP memory allocation from XPCOM. r=njn
Based on similar functionality for ICU. Define a GMPReporter class and
use its methods for libgmp allocation.
2018-05-11 19:42:49 -07:00
Robin Templeton 9684972b62 bug 1366287 - Part 2.0: Use GMP integers to represent BigInt values. r=jwalden
Also link to libgmp and initialize it with custom memory allocation
functions.
2018-05-11 19:42:48 -07:00
Robin Templeton 80fba2c27a bug 1366287 - Part 1.2: Add a BigInt type to the Rust bindings. r=Ms2ger 2018-05-11 19:09:38 -07:00
Robin Templeton 906544d813 bug 1366287 - Part 1.1: Add a GDB printer for BigInt values. r=sfink 2018-05-11 19:09:38 -07:00
Robin Templeton 711a42ccd1 Bug 1366287 - Part 1.0: Define a new BigInt primitive type. (Disabled by default, implemented only incompletely, currently passing --enable-bigint will disable JITs, will be flipped on Eventually once every sub-aspect is in place, Don't Have A Cow, Man.) r=jwalden 2018-05-11 19:09:28 -07:00
Rick Waldron f68eb85c0a Bug 1457560 - Expose $262.agent.monotonicNow() for Test262 use in testing Atomic operation timeouts. r=jwalden
--HG--
extra : rebase_source : c72e70df1cb7672bdfdb2e372d8f2ce5b413252b
2018-05-10 15:28:56 -07:00
Matthew Gaudet 7457c26a95 Bug 1348792: Lay down the infrastructure for sharing stub emission code when stub fields are involved r=tcampbell
This rephrases the stub field code in terms of a policy type.

--HG--
extra : rebase_source : 61a2cea84cde95eb3391c2a009ea6dafe9d7a15a
extra : amend_source : eb7fdc1095e47600ddd9a6caebfa91cf47a4346d
2018-01-30 14:03:00 -05:00
Jan de Mooij d660ad143b Bug 1460341 - Give jsid a constructor that initializes it to a void id. r=jonco,bz 2018-05-11 12:01:32 +02:00
Julian Seward 53b356419e Bug 1459552 - Wasm: memory.fill and memory.copy: fix opcode assignments per recent committee decision. r=lth.
This patch:

(1) renames the NumericPrefix top level encoding byte to MiscPrefix, as
    somewhat vaguely implied by
    https://github.com/WebAssembly/bulk-memory-operations/issues/9, and uses
    the value 0xFC for it.

(2) installs the memory.copy/fill encodings as secondary opcodes of
    MiscPrefix, with values 0x40 and 0x41 respectively.  The 0x40 and 0x41
    values are our own choice and haven't yet been agreed more broadly.

This isn't entirely simple, because the uses of 'enum class NumericOp'
(which is renamed MiscOp) now have to be divided into two different
ifdef-guarded sections, rather than being an all-or-nothing thing.  As a
result, a number of switches that previously looked like this

          case uint16_t(Op::NumericPrefix): {
#ifdef ENABLE_WASM_SATURATING_TRUNC_OPS
            switch (op.b1) {
              case uint16_t(NumericOp::I32TruncSSatF32):
              case uint16_t(NumericOp::I32TruncUSatF32):
              default:
                return iter.unrecognizedOpcode(&op);
#else
              return iter.unrecognizedOpcode(&op);
#endif
            }

first have to be rearranged like this

          case uint16_t(Op::NumericPrefix): {
            switch (op.b1) {
#ifdef ENABLE_WASM_SATURATING_TRUNC_OPS
              case uint16_t(NumericOp::I32TruncSSatF32):
              case uint16_t(NumericOp::I32TruncUSatF32):
#endif
              default:
                break;
            }
            return iter.unrecognizedOpcode(&op);

(that is, have the ifdef pushed inwards to the inner |case| level, and have
the after-the-switch control flow fixed up) before it is possible to add
similarly guarded cases for memory.copy/fill.

I'm assuming that the degenerate configuration, where the innermost switch
has no active entries

            switch (op.b1) {
              default:
                break;
            }

is optimised away by the C++ compiler, so there's no perf loss.  This seems
reasonable to me.

--HG--
extra : rebase_source : 153590a84e802a1b0581f3061efa7caba081e7a4
2018-05-11 08:47:18 +02:00
Tooru Fujisawa 98053eb192 Bug 1459127 - Store ScriptSourceObject reference into LazyScript inside LazyScript. r=jimb 2018-05-11 14:03:56 +09:00
Tooru Fujisawa ce4c3d8f2c Bug 1459220 - Add LazyScript::isEnclosingScriptLazy. r=jimb 2018-05-11 14:03:55 +09:00
Eric Faust 3b53239890 Bug 1459609 - Add missing null-check to ParserBase::setSourceMapInfo(). (r=Waldo)
--HG--
extra : rebase_source : 03defc47db1436913c249aecbde6e609d9274397
2018-05-07 15:33:03 -07:00
Julian Seward 20e9dd7d5c Bug 1446930 - Wasm: basic (OOL) implementation of memory.fill and memory.copy. r=lth.
This patch adds an initial implementation, along with test cases, for the
memory.fill and memory.copy instructions that form part of the
bulk-memory-operations proposal at
https://github.com/WebAssembly/bulk-memory-operations/blob/master/proposals/bulk-memory-operations/Overview.md.

This covers code generation for the baseline and optimising compilers, as
well as supporting infrastructure for conversion to/from binary and text
representations.

The implementation is simple in the sense that -- for both compilers -- it
is done by a call to a helper function, which eventually devolves to a call
to memset/memmove respectively.

Per subsequent clarification requests:

* https://github.com/WebAssembly/bulk-memory-operations/issues/8
  The arguments to these instructions are all interpreted as unsigned 32 bit
  ints.

* https://github.com/WebAssembly/bulk-memory-operations/issues/11
  Zero length fills/copies that have starting point offsets out of bounds
  trap rather than are treated as no-ops.

--HG--
extra : rebase_source : 79c74cbe467905f03b796428ee80b643c105ca72
2018-05-04 23:14:09 +02:00
Jeff Walden 8c0a4864c7 Bug 1458011 - Remove the TypedObject.storage function and |new TypedObject(buffer [, offset])| constructor overload because they're no longer planned to be part of standardization efforts in this area. r=sfink
--HG--
extra : rebase_source : cbeb0e62928d03c2ef06d2465168ccde4840638f
2018-04-19 11:47:55 +02:00
Jeff Walden 2690d2331a Bug 1457612 - Use BitwiseCast instead of direct bit-punning in jsdate.cpp:NowAsMillis. r=luke
--HG--
extra : rebase_source : 34fc0e7a08eaf3a971ed11984b2a979c7b8f39a5
2018-04-27 18:25:42 -07:00
Jan de Mooij fabe2d7a86 Bug 1458456 part 9 - Stop skipping timeout tests when running TSan in automation. r=sfink
--HG--
rename : js/src/devtools/automation/tsan-sighandlers.txt => js/src/devtools/automation/tsan-slow.txt
2018-05-05 10:43:13 +02:00
Cosmin Sabou 2f93cbd6cb Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
extra : rebase_source : e56a2d784bd87af73d03cc5fcdca84d8156ed054
2018-05-04 21:07:31 +03:00
Cosmin Sabou dc4e10c449 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
2018-05-04 20:37:47 +03:00
Jan de Mooij cfc5e634d1 Bug 1458456 part 4 - Discard JIT code before marking instead of sweeping during non-incremental GC. r=jonco
--HG--
extra : rebase_source : 6b1d5b3b550173e5180adc6c75a85d1aea364c0d
2018-05-04 15:31:18 +02:00
Jan de Mooij abfe4ff25a Bug 1458456 part 3b - Stop helper threads before setting JIT compiler options. r=jonco
--HG--
extra : rebase_source : 62d7c47e4a5b7b7f5b1b66a2f2d40706d3bf6662
2018-05-04 15:29:40 +02:00
Luke Wagner df164dd9df Bug 1458456 part 3a - Notify main thread after finishing wasm tasks to fix a race with waitForAllThreads. r=lth
--HG--
extra : rebase_source : 140c4c219fe2b8dbd28a46484afc0ffcef195ff0
2018-05-04 15:28:23 +02:00
Jan de Mooij ed21f1eb5d Bug 1458456 part 8 - Fix remaining TSan races. r=jonco 2018-05-04 17:29:05 +02:00
Jan de Mooij 290905a7c8 Bug 1458456 part 7 - Make TSan jobs test --ion-eager with off-thread compilation enabled. r=jonco 2018-05-04 17:29:05 +02:00
Jan de Mooij 8071de3bdd Bug 1458456 part 6 - Some TSan automation changes. r=sfink 2018-05-04 17:29:05 +02:00
Jan de Mooij 2997a50ac8 Bug 1458456 part 5 - Add TemplateObject wrapper to expose a thread-safe interface. r=jonco 2018-05-04 17:29:05 +02:00
Jon Coppeard 387370688d Bug 1458961 - Re-add removed assertion to String_pad r=anba 2018-05-04 09:47:58 +01:00
Jon Coppeard 2744e7e84e Bug 1456536 - Fix OOM handling in shell grayRoot() function r=sfink 2018-05-04 09:47:58 +01:00
David Teller 44d4196991 Bug 1456609 - Expose a method readSkippableSubTree for BinTokenReader{Tester, Multipart} r=arai
MozReview-Commit-ID: 2jceBpJOOoS

--HG--
extra : rebase_source : 2839d78db25126a12983770fe289ec73d869a8f7
2018-04-24 22:29:19 +02:00
Ciure Andrei 82f7c496dc Merge inbound to mozilla-central. a=merge 2018-05-04 00:52:04 +03:00
Jon Coppeard d4133481ca Bug 1458839 - Improve state assertions in GCParallelTask r=jandem 2018-05-03 17:51:58 +01:00
Jan de Mooij fe71bd0d2f Bug 1458456 part 2 - Move NEW_SCRIPT_CLEARED flag from BaseShape to JSFunction. r=tcampbell 2018-05-03 16:18:37 +02:00
Jan de Mooij e715d06b6f Bug 1458456 part 1 - Don't call JSFunction::needsSomeEnvironmentObject off-thread. r=jonco 2018-05-03 16:18:03 +02:00
Jan de Mooij 37e612ccea Bug 1458198 - Assert the frontend reported an exception if it fails to compile a script. r=jorendorff 2018-05-03 16:17:09 +02:00
Jan de Mooij 441f19d63f Bug 1458567 part 1 - Don't invoke interrupt callback and Debugger onStep hook for internal JS engine interrupts. r=luke 2018-05-03 16:01:01 +02:00
Benjamin Bouvier de0dc7d191 Bug 1455610: Prevent nop fills from happening in jump tables; r=lth
--HG--
extra : rebase_source : 7597099d50710e0b095a06e064a76404f88e4ecc
extra : amend_source : 0b97b9f26872b921410a91d229c5ea6d3e76ac58
2018-04-24 16:16:34 +02:00
Gurzau Raul 295c747edd Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-03 00:08:38 +03:00
Gurzau Raul 30662c7545 Merge inbound to mozilla-central. a=merge 2018-05-03 00:04:54 +03:00
Steve Fink d909fe8abb Bug 1458320 - Ignore Indexed DB stored scopes, as they can now be multiple incorrect values and we no longer need them for anything, r=jorendorff
--HG--
extra : rebase_source : 90629ac36d4229e7962ea46cec89c9e13ef4d350
2018-05-02 11:07:35 -07:00
André Bargull efedb00226 Bug 1140152 - Copy elements' underlying bit patterns in TypedArray.prototype.slice. r=till 2018-05-02 09:52:05 -07:00
David Teller eeaf4dfd56 Bug 1456416 - Make EagerGetter/EagerSetter create their scope earlier;r=arai
MozReview-Commit-ID: 2RlO4wUp5F2

--HG--
extra : rebase_source : dbe3b6653f5504988edf5a11dfb4513b84ed6993
2018-04-24 13:16:51 +02:00
David Teller 8e10afc576 Bug 1456416 - Unit tests for multipart parser;r=arai
MozReview-Commit-ID: 23guOSCBqFh

--HG--
extra : rebase_source : 1c4c88a186ad7e24a89f39d1e943f12783a59fd8
2018-04-24 11:23:18 +02:00
Cosmin Sabou ce9ff94ffe Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
Cosmin Sabou 435ba6ef00 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
2018-05-02 12:27:59 +03:00
Jan de Mooij c3e7abdb2c Bug 1458008 - Shuffle Shape flags around to avoid races with off-thread compilation. r=jonco 2018-05-01 13:44:21 +02:00
Mark Banner a232a99e8c Bug 1458215 - Handle the optional service name in XPCOMUtils.defineLazyServiceGetters. r=kmag
MozReview-Commit-ID: 1Dp6lhQRbNU

--HG--
extra : rebase_source : d892b8b93b9f917c81c107fc29b446761f4617c6
2018-05-01 13:51:53 +01:00
Eric Faust 7b46edd90a Bug 1454728 - [BinAST] Create recursive bindings for function expressions. (r=Yoric, r=arai)
--HG--
extra : rebase_source : 0ddd2aa262bc18cf69e231182b4767d0756695e3
extra : histedit_source : 7a6d8a49a87f82895d20db61fb3fc9f1d6caae02
2018-04-30 22:23:03 -07:00
Eric Faust 9cceb6f15a Bug 1454744 - Part 2: Add bindings for formal parameter names. (r=Yoric)
--HG--
extra : rebase_source : 7fe6705ad04260ed4178c09fa033df107b233a98
extra : histedit_source : dfd3134c22686707c5712cfd3a9fc8cefbfc41dc
2018-04-30 20:46:14 -07:00
Eric Faust fbfd0693f0 Bug 1454744 - Part 1: Allow BinSource generator to place code after parsing interface sum branches. (r=Yoric)
--HG--
extra : rebase_source : 90992d4c17cabf476cc225e2e580c9c39138c5a7
extra : histedit_source : 59f5d8591b46c5aa9822fdccd18c6767859e694a
2018-04-30 20:45:34 -07:00
Eric Faust 8f2ba0b0a9 Bug 1456768 - [BinAST] Properly set pn->op for non-spread new expressions. (r=Yoric)
--HG--
extra : rebase_source : 0a5ad5e7a71f916e156ef8f59b90197f776073de
extra : histedit_source : 9692329ccd8ed6af687601258a79319a09c0dab1
2018-04-30 20:44:53 -07:00
Tooru Fujisawa 06b6dc2a7d Bug 1457365 - Do not add source note for useless expression. r=jorendorff 2018-05-01 11:05:39 +09:00
Steve Fink bc4f45a9ba Bug 1456604 - Add DifferentProcessForIndexedDB scope to handle backwards compatibility with SameProcessSameThread clones, r=jorendorff
--HG--
extra : topic : clone.refactor
extra : rebase_source : 7920e35fb4b2370ce6a06cd27579824faabe7bd9
2018-04-24 15:21:47 -07:00
Steve Fink c9d4e5e153 Bug 1456858 - structured clone comment fixups, r=jorendorff
--HG--
extra : topic : clone.refactor
extra : rebase_source : f56d3789d0f8fa3f7a903f6d5ea079ac75492cd6
2018-04-25 12:15:51 -07:00
Eric Faust b574c1c1d5 Bug 1409815 - Part 2: Allow running BinAST files from shell CLI. (r=Waldo)
--HG--
extra : rebase_source : 471ce50d53441271748d3d2d95a15fcaed0a94d2
2018-04-30 17:04:04 -07:00
Eric Faust 3ea8e15b4f Bug 1409815 - Part 1: Implement CompileGlobalBinASTScript. (r=Waldo, r=Yoric, r=jorendorff)
--HG--
extra : rebase_source : fa7ebfc608c5270a6228314552aee2c23903ffa4
2018-04-30 17:04:04 -07:00
Benjamin Bouvier 3835ebc631 Bug 1455603: Disable the Debugger.findScripts API when wasm GC is active; r=jonco
--HG--
extra : rebase_source : aad6017f91bc1fb22f5275adac665a1a53c875f7
extra : histedit_source : 17919a47ea07c5fefd6025283671fa1f1ace793b
2018-05-02 16:10:41 +02:00
Benjamin Bouvier cb9fc33f65 Bug 1458217: Abort early in verifyprebarriers if wasm gc is enabled; r=jonco
--HG--
extra : rebase_source : 9add9512af4ba326312cc0143e6644de749b5533
extra : histedit_source : a1ad407c80626f1beeec48a6be0af9567290e79a
2018-05-02 15:35:24 +02:00
Cosmin Sabou f4a638c275 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : 1f639132d6665996654d500be2620b147026bd7b
2018-05-02 18:09:14 +03:00
Jan de Mooij a63546ab9c Bug 1458173 - Fix some issues reported by TSan. r=jonco 2018-05-02 15:50:11 +02:00
Jon Coppeard a0347d960a Bug 1456508 - Fix conflict between gray buffer canary value and incremental marking validation r=sfink 2018-04-30 10:23:39 +01:00
Jon Coppeard 015f531f81 Bug 1457193 - Always initialise Arena header fields to fix assertion failures under valgrind r=sfink 2018-04-30 10:22:40 +01:00
Jan de Mooij d773a62755 Bug 1457475 - Demote MOZ_DIAGNOSTIC_ASSERT to MOZ_ASSERT. r=jonco 2018-04-30 10:47:06 +02:00
Jan de Mooij a4e045b42b Bug 1408412 - Add testcase. r=me
--HG--
extra : rebase_source : 420a5cd8d69a92d6ed615de25833815ff31e2ca9
2018-04-26 10:27:54 +02:00
Jan de Mooij f47a30f24a Bug 1457125 - Use interpreter fast path for calls also for calls to non-constructors. r=tcampbell
--HG--
extra : rebase_source : f95f139b11ca28fccadeaf344deb4036841e9b4b
2018-04-28 10:19:53 +02:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Kris Maglione 1b96577a60 Backed out changeset 2add2de30c22 (bug 1456035)
MozReview-Commit-ID: 15Whk6URI2O

--HG--
extra : rebase_source : 64dcf99e004789dc5ec07f56c6d952593416f060
2018-04-27 13:44:36 -07:00
Eric Faust debd8e1c93 Bug 1451826 - Part 10: Convert BCE to using BCEParserHandle. (r=Waldo)
--HG--
extra : rebase_source : 557be5823a93b71919d149cd5de0341087315c2f
2018-04-27 15:02:31 -07:00
Eric Faust b039e1d400 Bug 1451826 - Part 9: Introduce BCEParserHandle. (r=Waldo)
--HG--
extra : rebase_source : 4eec5e1f33f7b7de6f3fc636630887ea79798621
2018-04-27 15:02:31 -07:00
Eric Faust 3546c182cd Bug 1451826: Part 8: Make EitherParser always a include a FullParseHandler. (r=Waldo)
--HG--
extra : rebase_source : a5039f20bdf86f3fa2f68b4cd7abf67bbf47fb98
2018-04-27 15:02:31 -07:00
Eric Faust 94944b93dc Bug 1451826 - Part 7: Add the last error reporting bits to ErrorReporter from EitherParser. (r=Waldo, r=Yoric)
--HG--
extra : rebase_source : 847a5dc24f1d6e69cceda8333b1e5a5c61a64a79
2018-04-27 15:02:31 -07:00
Eric Faust 6fcb0b34f0 Bug 1451826 - Part 6: Factor SourceCoords references in BCE to ErrorReporter. (r=Waldo, r=Yoric)
--HG--
extra : rebase_source : 042f4466ab30791cdac9e87c99b6fa1b1b3e8a00
2018-04-27 15:02:31 -07:00
Eric Faust a9758601f3 Bug 1451826 - Part 5: Move displayURL and sourceMap intialization from BCE to Parser. (r=Waldo)
--HG--
extra : rebase_source : c8c195717f1348d8cf161eb764d3707a19c9c29e
2018-04-27 15:02:31 -07:00
Eric Faust 0dad1c2a62 Bug 1451826 - Part 4: Make TokenStreamSpecific and ErrorReporter, rather than TokenStreamAnyChars. (r=Waldo)
--HG--
extra : rebase_source : 5774a7447a06444a531ab73594094ba246eec844
2018-04-27 15:02:31 -07:00
Eric Faust 33440f7120 Bug 1451826 - Part 3: No longer call TokenStream::computeErrorMetadata from BCE. (r=Waldo)
--HG--
extra : rebase_source : add08a18eac6cfe9f24f36ee5717af1f854d5cac
2018-04-27 15:02:31 -07:00
Eric Faust 5be9eaaba4 Bug 1451826 - Part 2: Don't call parser.reportError from the BCE, as it uses the current token offset. (r=Waldo)
--HG--
extra : rebase_source : c92893fc5798f23bbbcc569ee4dc2413415298a8
2018-04-27 15:02:31 -07:00
Eric Faust 4afb1cb7b8 Bug 1451826 - Part 1: Don't print bogus error locations on BCE internal errors. (r=Waldo)
--HG--
extra : rebase_source : a5ea2330fd9e65a64c4fb31131eb9a4d041eaa48
2018-04-27 15:02:31 -07:00
Gary Kwong 3b89734743 Bug 1457326 - Add coverage status to getBuildConfiguration, r=sfink
--HG--
extra : rebase_source : 960fa3a4e1b2c8487947b6cdf81342ce594c8097
2018-04-26 16:51:00 +03:00
Boris Zbarsky bca2f3a6b6 Bug 1455674 part 18. Add Element to importGlobalProperties. r=qdot 2018-04-26 23:37:34 -04:00
Jan de Mooij 5a386c6f89 Bug 912079 part 4 - Optimize SuppressDeletedPropertyHelper when the property matches the iterator's previous one. r=anba
--HG--
extra : rebase_source : 7c860b0162c165f536e5b316204ea76eebaff59d
2018-04-26 18:41:30 +02:00
Jan de Mooij 4118107c85 Bug 912079 part 3 - Don't call EqualStrings if both strings are atoms. r=anba
--HG--
extra : rebase_source : 1698f18e157cd62f498ad8aac00307f29eacca9b
2018-04-26 18:39:33 +02:00
Jan de Mooij fdac14a0d3 Bug 912079 part 2 - Clean up SuppressDeletedPropertyHelper. r=anba
--HG--
extra : rebase_source : 81a6ac68382bfc99d3703240559158ab37ae7fdd
2018-04-26 18:38:21 +02:00
Jan de Mooij 7303fc7dcb Bug 912079 part 1 - Remove SuppressDeletedPropertyHelper predicate argument. r=anba
--HG--
extra : rebase_source : e68425a073a5fd6549e8fbf00c6268ae18c0d2a3
2018-04-26 18:36:55 +02:00
Matthew Gaudet 0ee0280500 Bug 1437842: [Part 13] Convert IsSharedArrayBuffer to GuardToSharedArrayBuffer r=jandem
--HG--
extra : rebase_source : d39b4d0d5418bd7405aea33ebb84686312782be2
2018-04-24 14:02:27 -04:00
Matthew Gaudet 61a09bbd8d Bug 1437842: [Part 12] Convert IsArrayBuffer to GuardToArrayBuffer r=jandem
--HG--
extra : rebase_source : 7437c4a5b4bcb5362ed71980c9d303538cc23eca
2018-04-24 13:36:57 -04:00
Matthew Gaudet 0011b048be Bug 1437842: [Part 11] Convert IsSetObject to GuardToSetObject r=jandem
--HG--
extra : rebase_source : 3b078bb9f939896ab60cac5584cc2748e68eeeac
2018-04-23 15:18:17 -04:00
Matthew Gaudet da9eb5d6e6 Bug 1437842: [Part 10] Convert IsMapObject to GuardToMapObject r=jandem
--HG--
extra : rebase_source : 480d2e129f20f3d7db6d1c7f5a02547516e97639
2018-04-23 15:01:15 -04:00
Matthew Gaudet b7fe2f988a Bug 1437842: [Part 9] Convert IsRelativeTimeFormat to GuardToRelativeTimeFormat r=jandem
--HG--
extra : rebase_source : dd13a8ab7f667afcce804595e9dc932c70a253d6
2018-04-23 14:51:54 -04:00
Matthew Gaudet c03138e2b9 Bug 1437842: [Part 8] Convert IsPluralRules to GuardToPluralRules r=jandem
--HG--
extra : rebase_source : cb30888b7f88de6b8fcdd186b4709fcfb997347a
2018-04-23 14:28:51 -04:00
Matthew Gaudet dd72ac6908 Bug 1437842: [Part 7] Convert IsDateTimeFormat to GuardToDateTimeFormat r=jandem
--HG--
extra : rebase_source : 2a3c9cf91a86ba39c7b097b0866aecd0d6ae257e
2018-04-23 11:12:38 -04:00
Matthew Gaudet 44f008c154 Bug 1437842: [Part 6] Convert IsNumberFormat to GuardToNumberFormat r=jandem
--HG--
extra : rebase_source : 455f7ed6df3ea231d8d5b859c08111a302fb7865
2018-04-23 11:07:04 -04:00
Matthew Gaudet c547a2578f Bug 1437842: [Part 5] Convert IsCollator to GuardToCollator r=jandem
--HG--
extra : rebase_source : 61a5a61629ef6d220566599034fa2077f9324e02
2018-04-23 10:51:06 -04:00
Matthew Gaudet c00d7bb844 Bug 1437842: [Part 4] Convert IsSetIterator to GuardToSetIterator r=jandem
--HG--
extra : rebase_source : 9053d860953a7aa24848941dc286ee1008dd9454
2018-04-12 14:02:54 -04:00
Matthew Gaudet 9baf0fb242 Bug 1437842: [Part 3] Convert IsMapIterator to GuardToMapIterator r=jandem
--HG--
extra : rebase_source : 246083417a512ea34b97c1693cc7a172ec4540fb
2018-04-12 13:23:45 -04:00
Matthew Gaudet 188153d2d5 Bug 1437842: [Part 2] Convert IsArrayIterator to GuardToArrayIterator r=jandem
--HG--
extra : rebase_source : 6b8b5d3e9b4e2570ac3d6769d87c20db8014242f
2018-04-12 13:14:12 -04:00
Matthew Gaudet b931fdf247 Bug 1437842: [Part 1] Remove IsStringIterator intrinsic r=jandem
--HG--
extra : rebase_source : 16347997c64e99f6393dcc87f8187eb7c8362a49
2018-04-12 11:54:20 -04:00
Matthew Gaudet dff8f8b962 Bug 1437842: [Part 0] Convert IsStringIterator to GuardToStringIterator r=jandem
Lays out the ground work

--HG--
extra : rebase_source : e5439266733ed4fb3d6c13f60d0ae2789d267251
extra : source : 7e1ef403fdd89b9467ac95bf912feab7024cde51
2018-04-06 13:24:25 -04:00
Jon Coppeard 9184648e44 Bug 1443555 - Remove bogus assertion to allow getting the module environment even if there was an error evaluating the module r=anba
--HG--
extra : rebase_source : 83f91489f0e99949b497433ee7429ee23443c3a7
2018-04-26 15:54:00 +01:00
Jon Coppeard 7de5b9f0e0 Bug 1456422 - Remove debugging printfs from GCSchedulingTunables::setParameter r=pbone
--HG--
extra : rebase_source : acb08f1a292ec85fca08bd861b539b602f16c44f
2018-04-26 15:53:59 +01:00
Dragan Mladjenovic 50050d6ff7 Bug 1455028 : [MIPS64] Fix jit -> c++ int32 argument passing for simulator builds; r=bbouvier
--HG--
extra : rebase_source : 474020ffd8f23663a1fd7ca6a335cce4342746d7
2018-04-18 18:08:24 +02:00
Dragan Mladjenovic e5d8449944 Bug 1455019 : [MIPS64] Add error detection for int64 <-> fp conversion in simulator; r=bbouvier
--HG--
extra : rebase_source : 2ee6f92b3ff3ce803d746f8cd9747c1ee41a2e06
2018-04-18 18:04:49 +02:00
Dragan Mladjenovic d7aa10c574 Bug 1455016 : [MIPS64] Fix potentially undefined behavior of rotateLeft64; r=bbouvier
--HG--
extra : rebase_source : b6e0eb2a9150eaef9c0bb201b036218af064c0e8
2018-04-18 18:01:56 +02:00
Robin Templeton 8f61a2db7d Bug 1455795 - Remove the AUTOMATION option from mozjs_sys's build.rs. r=sfink
This option shouldn't be used for local builds (see bug 1294157). Set
the option from the crate's taskcluster script instead, so that it's
used only for automated builds.

--HG--
extra : rebase_source : 94b398a0f1fac60094269d755735c426ecc63e17
2018-04-24 18:04:00 -04:00
Jan de Mooij 8f53b68db1 Bug 1452114 part 2 - Add diagnostic asserts. r=jonco
--HG--
extra : rebase_source : a2b9e3330741a4e90506b0685ae15991da46bd85
2018-04-26 09:59:32 +02:00
Jan de Mooij d124a65730 Bug 1452114 part 1 - Fix GCRuntime::tryNewTenuredThing to report OOM on helper threads as well. r=jonco
--HG--
extra : rebase_source : cb34d5741d697c3fb5cb6dbbdd4f28cb50e3d231
2018-04-26 09:58:42 +02:00
Jan de Mooij 4da56c6d15 Bug 1456494 - Initialize Zone::helperThreadUse_ first to avoid accessing uninitialized memory in debug builds. r=jonco
--HG--
extra : rebase_source : 9abb7cecd084e7f8c4bbe7ce1ff3e34c10e024ce
2018-04-26 09:57:15 +02:00
André Bargull 37bc3aaed9 Bug 1451082 - Update IANA language subtag registry data to version 2018-03-30. r=Waldo 2018-04-25 11:46:14 -07:00
Jan de Mooij d047348566 Bug 1063728 - Run SpiderMonkey style checkers as part of the build instead of make check. r=chmanchester 2018-04-26 09:09:51 +02:00
Jeff Walden 04d21ccac0 Bug 1451248. r=jorendorff, r=bz
--HG--
extra : rebase_source : e26439a5954162bdaf332fbd63d623a3810e19e0
2018-04-25 19:40:09 -07:00
Jeff Walden e2c8f8433f Bug 1456296 - Move IdentifierName parsing into a separate function from TSS::getTokenInternal to simplify some control flow. r=arai
* * *
[mq]: more

--HG--
extra : rebase_source : 1ba08d6801d5dff326921cf9b88655ae5b151b91
2018-04-23 13:37:39 -07:00
Kris Maglione a6d2e794ef Bug 1456035: Part 3.1 - Add temporary fallback XPCOMUtils.generateQI implementation for Android hostutils. r=me
MozReview-Commit-ID: IDs6Jyz5PyO

--HG--
extra : rebase_source : ae871cbec9494945663843a7dbeb56ae2a49c164
2018-04-25 14:26:05 -07:00
Kris Maglione e318b76d56 Bug 1456035: Part 3 - Replace XPCOMUtils.generateQI with a stub for ChromeUtils.generateQI. r=mccr8
MozReview-Commit-ID: HWnlxUQvxYZ

--HG--
extra : rebase_source : a5801a0d7427a2cf3cedec2a4e8db1a3d80273ec
2018-04-22 18:55:49 -07:00
Kris Maglione 8b53374e1d Bug 1456035: Part 2 - Add fast path for XPCWrappedJS QueryInterface with native helper. r=mccr8
When the QueryInterface method for an XPCWrappedJS class is implemented by the
native helper, we can avoid a lot of overhead by simply asking it if it
supports a given interface rather than going through all of the JSAPI call and
exception handling overhead we'd need otherwise.

MozReview-Commit-ID: FVAN3oYRE9I

--HG--
extra : rebase_source : 23a42374e83ee4314fa89ead135fd2e8f9968296
2018-04-22 20:37:51 -07:00
Kris Maglione dc8ba3688b Bug 1456035: Part 1 - Add helper to generate native QueryInterface callbacks. r=bz
MozReview-Commit-ID: JpV6zYOdvHu

--HG--
extra : rebase_source : 4aeda7c2c612dd9c7dbb7b6f4fdd33b8b289b702
2018-04-22 20:32:11 -07:00
Sumit Tiwari 4b2bdcc0f9 Bug 1431434 - Merge SweepRegExps with SweepMisc; r=jonco
MozReview-Commit-ID: 7EHJ5LOOuLQ

--HG--
extra : rebase_source : ac054fc26da7238fd5ba3bd63d32c5e136c44c0a
2018-04-27 18:29:16 -04:00
Dave Hunt 4afca33e96 Bug 1437593 - Move initial virtual environment to _virtualenvs/init; r=ted
MozReview-Commit-ID: LP8NVz3tZZg

--HG--
extra : rebase_source : 990c0301a43a1870a69548a23aeddcf9fe3fe8a8
2018-03-28 12:55:04 +01:00
Steve Fink 8962fa726b Bug 1448522 - Handle errors in transferOwnership correctly, r=jorendorff
--HG--
extra : rebase_source : c94216dac1652988a0305c694534b3230f10cdb8
extra : amend_source : 2c25c3666987435d40b5b02a763c3bb879a71c43
2018-03-23 20:03:55 -07:00
Jason Orendorff 65e4f92054 Bug 1275292 - Delete ParseNodeAllocator::freeTree() and friends. r=shu.
--HG--
extra : rebase_source : 085b2cf1eb6db8892cce0d844084be0bae4ccc7b
2018-02-27 15:09:09 -06:00
Benjamin Bouvier 26e3ed3050 Bug 1455611: Prevent calling setGcZeal with --wasm-gc and wasm frames on the stack; r=jonco
--HG--
extra : rebase_source : 72d39dd4d25b89fbc2cd68c31a2b80ca95932929
extra : histedit_source : fa1af42a3da96a162e3cf449f3c27e9fde08437b
2018-04-25 12:22:42 +02:00
Benjamin Bouvier 23177acdba Bug 1456881: Remove unused ctors and use more delegating ctors for JitContext; r=nbp
--HG--
extra : histedit_source : 829b2b786fdb98cba199177277c2b728e768866b
2018-04-18 12:14:54 +02:00
Matthew Gaudet f9c00d1336 Bug 1455280: Remove FlowAliasAnalysis implementation r=jandem
--HG--
extra : rebase_source : 5f865b74c151f64c1d7e6685b1cbb1dacf291c72
2018-04-24 14:53:00 -04:00
Jon Coppeard 5f6db423ad Bug 1455709 - Don't reset count of allocated bytes when max malloc parameter is changed r=sfink 2018-04-25 10:42:47 +01:00
Benjamin Bouvier 2667adf919 Bug 1456470: Mark a few fields as protected in ARM classes to avoid unused private fields warnings; r=mgaudet
--HG--
extra : rebase_source : f062394c529a8637be3620a685df4b145930f128
2018-04-24 15:35:57 +02:00
Benjamin Bouvier 2b7cadbd0f Bug 1455612: Skip wasm frames in updatePcQuadratic; r=jandem
--HG--
extra : rebase_source : 505722e0843045026644be2a24c05b0c78db29e4
extra : amend_source : 5c788332b07fce46ee28f95d9152bfa152715eb8
2018-04-23 16:03:30 +02:00
David Teller ae47e97753 Bug 1456989 - CatchClause now contains a AssertedParameterScope;r=efaust
This follows the spec changes and the binjs-ref change at https://github.com/binast/binjs-ref/pull/113 .

MozReview-Commit-ID: 3k8p3hUx7Rb

--HG--
extra : rebase_source : 0c50e507a949b593ef76e895ab0be2b8546806b2
2018-04-26 10:11:42 +02:00
David Teller 42bbc40723 Bug 1456989 - Updating BinTokenReader{Simple, Multipart} tests data;r=arai
MozReview-Commit-ID: I3gYBwJNM1Z

--HG--
extra : rebase_source : fbfec5aa42da77f57a05af11eeb811a99db036c0
2018-04-26 10:08:38 +02:00
Paul Bone 5931e98c71 Bug 1458154 - Add a tunable for idle nursery collection r=jonco
--HG--
extra : source : c5b1eae8a19756f85b8b059bff4bb1b4b8ab7c90
extra : amend_source : e1b38bbadd6d62efd22e754e752b064d175193ec
2018-02-12 17:17:33 +11:00
Tooru Fujisawa 0787ad6d29 Bug 1456039 - Part 2: Add comment for TryEmitter. r=Yoric 2018-05-02 10:35:35 +09:00
Tooru Fujisawa 766d2a56e0 Bug 1456039 - Part 1: Add comment for IfThenElseEmitter. r=Yoric 2018-05-02 10:35:32 +09:00
Sean Stangl 3e80a2a52f Bug 1458382 - Break up a one-liner to prevent an internal GCC 8.0.1 error. r=Waldo 2018-05-01 16:03:00 -04:00
Ted Campbell 4c146b7c39 Bug 1458240 - Avoid breakpadinjector on sm-tsan job. r=sfink
MozReview-Commit-ID: 8GH1OPiqx6q
2018-05-01 12:11:00 -04:00
Matthew Gaudet 42a432f752 Bug 1458236 - Correct unused variable in Simulator-arm.cpp. r=jandem 2018-05-01 10:50:02 -04:00
Andreea Pavel 0e990f6e7d Backed out changeset 1a9703589230 (bug 1458008) for failing tests\jit-test\jit-test\tests\basic\testMatchAsCondition.js 2018-05-01 18:32:08 +03:00
Ted Campbell 50fc37eb18 Bug 1450503 - Remove INITHOMEOBJECT assert. r=jandem
MozReview-Commit-ID: AcvowmQbtKw
2018-05-01 11:23:09 -04:00
Ted Campbell d46949a72b Bug 1458091 - Make ScriptSource::refs Atomic to please TSAN. r=jandem
MozReview-Commit-ID: 2EADsttkXEx
2018-05-01 11:19:56 -04:00
Jan de Mooij fedf493e9a Bug 1454887 part 2 - Rewrite TI sweeping to be more explicit. r=tcampbell 2018-05-01 15:54:26 +02:00
Jan de Mooij 2d6674f3a2 Bug 1454887 part 1 - Remove some (disabled) invalid asserts. r=tcampbell 2018-05-01 15:54:04 +02:00
Jan de Mooij 54c9c1b5ef Bug 1458008 - Shuffle Shape flags around to avoid races with off-thread compilation. r=jonco 2018-05-01 13:44:21 +02:00
Eric Faust efef28b706 Bug 1456765 - [BinAST] Properly compute Function.length. (r=Yoric)
--HG--
extra : rebase_source : f2dc85f62707c1917048402377ea6a44e310483d
2018-04-30 23:55:36 -07:00
Eric Faust 3f61407c1e Bug 1456766 - [BinAST] Bind |this| in functions. Don't yet handle lexical |this| closure. (r=Yoric)
--HG--
extra : rebase_source : 180700fd0f177e11349e2c098cd2d36d7819d9cc
2018-04-30 23:55:36 -07:00
Eric Faust a93117b9cb Bug 1456761 - Update buildFunction for the multipart grammar. (r=Yoric)
--HG--
extra : rebase_source : 4d0ce4c9fe97857bdd274ac149c707df2ecb9122
2018-04-30 23:55:36 -07:00
Eric Faust de20660501 Bug 1451343 - Part 2: Check annotated closed vars against known uses. (r=Yoric)
--HG--
extra : rebase_source : 2b4ff0e575a563fcb6fc43664fc2aff6c9ea329d
2018-04-30 23:37:41 -07:00
Eric Faust f9af3b4df0 Bug 1451343 - Part 1: Use provided capture information. (r=Yoric)
--HG--
extra : rebase_source : 9fcc76aaad2d7c8cfa3e253fdd797ca7b9bc140e
2018-04-30 23:37:41 -07:00
Steve Fink 2cdf0a6db9 Bug 1433642 - Do not free transferables in synthetic clone buffers, r=jorendorff
--HG--
extra : rebase_source : b9b92559fc1b3b226636d24f316fd56da4445233
extra : source : 6b7d7b8605ea2240498f01eab16c0940f6e0cc30
2018-04-19 22:46:53 -07:00
Steve Fink e09703704b Bug 1433642 - Remove storedScope from structured clone, r=jorendorff
--HG--
extra : rebase_source : 371ee541e2ec02189328e734036f35b3f7cb06a6
extra : source : a31159fb68887f49dccc854cd0637dfe77ed6df6
2018-04-19 12:17:05 -07:00
André Bargull 55ff15f2e0 Bug 1456119 - Part 2: Reimport tests after features were sorted. r=sfink
--HG--
extra : rebase_source : aa727fd87a99609142581983917b063c5c9adc12
2018-04-23 10:21:54 -07:00
André Bargull c0728eafc9 Bug 1456119 - Part 1: Sort feature checks in test262 update script. r=sfink
--HG--
extra : rebase_source : 6254ed23976c4ebefd846246b6a2e2a8e9938af1
2018-04-23 10:18:27 -07:00
Steve Fink 4766228db5 Backed out changeset a31159fb6888 (bug 1433642) to fix a CLOSED TREE
--HG--
extra : rebase_source : 18641fa9b74d8ed84c93ba7cdd7b7fdf05232644
extra : histedit_source : f3b033e9316610612dac75971103dcfce272d8e5
2018-04-24 16:02:00 -07:00
Steve Fink dca82594a8 Backed out changeset 6b7d7b8605ea (bug 1433642)
--HG--
extra : rebase_source : 960fe894f8f095f58d640c9821627cdbc544c5a6
extra : histedit_source : 7141bd5860f17d4717bb0b87272b40a4a7eacaa2
2018-04-24 16:01:56 -07:00
Steve Fink 1e4199c9d6 Bug 1433642 - Do not free transferables in synthetic clone buffers, r=jorendorff
--HG--
extra : rebase_source : 6d550298aa19bb19645fd02004eaaeb3e132afaf
2018-04-19 22:46:53 -07:00
Steve Fink e45c52c668 Bug 1433642 - Remove storedScope from structured clone, r=jorendorff
--HG--
extra : rebase_source : 562bb5be0afbccb23f0c3bf5bf76fdde5c6ebce3
2018-04-19 12:17:05 -07:00
Nicolas Auvray 662025607f Bug 1285909 - Part 2: Add test coverage for IsMapObject and IsSetObject. r=jorendorff.
--HG--
extra : rebase_source : ae162e2a971c2b8d30456a9cb28b924b670d5b3e
2016-12-10 12:19:02 +01:00
Jason Orendorff adfd418d75 Bug 1452583 - Demote bogus assertion in dom_genericSetter to runtime check. r=jandem.
--HG--
extra : rebase_source : ff14ab82ab7f9c68946764870a4054b946284a40
2018-04-13 14:57:24 -05:00
Ted Campbell 3f1982d4df Bug 1448563 - Part 5b: Fix issue with mem reporting IonBuilder. r=jandem
MozReview-Commit-ID: 462mR7tAWUo
2018-04-24 10:57:42 -04:00
Kyrian Aouina 0441560d1e Bug 1456100 - Delete an useless line r=jandem
--HG--
extra : rebase_source : 7b94b3ce77136b7c2920be91af9ad5bdf75d852e
2018-04-24 11:21:20 +02:00
Benjamin Bouvier 97f2b8022a Bug 1455702: Check allocation in ParseCallIndirect in wasm::TextToBinary; r=luke
--HG--
extra : rebase_source : 021d0f287a333af97e5ba929ab6ce3eb3c9c3940
2018-04-23 16:37:33 +02:00
Benjamin Bouvier 68dd7dae50 Bug 1455703: Check for OOM in AstDecodeModuleTail; r=luke
--HG--
extra : rebase_source : 3b98b75dcc8da8191f6545db7cfdaf774b1a1597
2018-04-23 16:30:33 +02:00
Benjamin Bouvier 776871a1ea Bug 1455693: Check for memory allocation failures in FormatWasmFrame; r=yury
--HG--
extra : rebase_source : 90aec420bce264fadf001451c611b28bb3efe66c
2018-04-23 16:21:39 +02:00
Jon Coppeard c9eca57e24 Bug 1455608 - Back out test code since to fix bustage r=me on a CLOSED TREE 2018-04-24 10:00:37 +01:00
Jon Coppeard ec7442a494 Bug 1455608 - Allow js::TraceRuntime to operate if GC is suppressed r=sfink 2018-04-24 09:32:14 +01:00
Kris Maglione beeee1a023 Bug 1363925: Part 2 - Support inferring array length from typed arrays. r=mccr8
MozReview-Commit-ID: FI5ggNE68v7

--HG--
extra : rebase_source : ed20f55c5497486863b89c5b6f6f342c7d938d6a
extra : histedit_source : 99c7eee864fd45fdea64f48a1d056e467ad2f56d
2018-04-21 18:04:22 -07:00
Steve Fink 02245c0bd2 Bug 1400153 - Stop using PodZero to initialize TimeStamps, r=nfroyd
--HG--
extra : rebase_source : 9d14b89f7baaf87c813de2810956bd0ba6db0a71
2018-04-23 17:35:20 -07:00
Ted Campbell a1a65038fe Bug 1448563 - Part 6: Add memory reporting for off-thread WASM. r=luke
MozReview-Commit-ID: 1lXRj1JUJk2

--HG--
extra : source : 97dbd15798f96a95021bc0a66c9b1dfc22414025
2018-04-11 15:49:36 -04:00
Steve Fink 6f962094cc Bug 1455599 - Redo bug 1446693, creating separate AutoTraceSessions instead of expanding one, r=jonco
--HG--
extra : rebase_source : 9900a8500ddf958523cf397744fad4b1cba6cec6
2018-04-20 16:31:16 -07:00
Steve Fink d4194e4003 Bug 1400153 - Add another check for timestamp problems, and attempt to get all the intermittents routed to one bug, r=jonco
--HG--
extra : rebase_source : 1731917b91ce47a3b6302fbb140ffbdd78b0dba2
extra : amend_source : 79bf89753f9cb8fca9ba66efc858dfd838288a6e
extra : histedit_source : 1d796c678b8967615e434d3fb74c976d8f33f2ca
2018-04-20 11:35:28 -07:00
Steve Fink 29b27943c5 Bug 1400153 - Rename nextInPhase -> nextWithPhaseKind, r=jonco
--HG--
extra : rebase_source : 0d221747096898fc24f7e26c354679afb967a537
extra : histedit_source : 28b1d08cc591ca2caf8ec5a5f091e2c4f8245bfe
2018-04-20 11:34:00 -07:00
Ted Campbell bc92875c3e Bug 1448563 - Fix ASAN bustage in Part 2. r=me CLOSED TREE
LazyLink IonBuilders should use non-inclusive size.

MozReview-Commit-ID: IaaH4seekY0
2018-04-23 15:34:25 -04:00
Bogdan Tara b644004031 Backed out changeset 97dbd15798f9 (bug 1448563) for bad-malloc_usable_size /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc a=backout CLOSED TREE 2018-04-23 22:23:01 +03:00
Ted Campbell 7baaa3f753 Bug 1448563 - Part 6: Add memory reporting for off-thread WASM. r=luke
MozReview-Commit-ID: 1lXRj1JUJk2
2018-04-23 13:57:50 -04:00
Ted Campbell ce0c6eb300 Bug 1448563 - Part 5: Add memory reporting for Ion offthread. r=jandem
MozReview-Commit-ID: KnuaP5HwNnm
2018-04-23 13:56:54 -04:00
Ted Campbell 3f8ed0a1db Bug 1448563 - Part 4: Add memory reporting for off-thread parse. r=jandem
MozReview-Commit-ID: 2qH6cwFRrfG
2018-04-23 13:55:59 -04:00
Ted Campbell d1cc6f3d5b Bug 1448563 - Part 3b: Add memory reporting for JS helper threads. r=jandem
MozReview-Commit-ID: JbOY0QRn0Wl
2018-04-23 13:55:01 -04:00
Ted Campbell 044b11fef2 Bug 1448563 - Part 3a: Add iterator to js::Fifo. r=luke
MozReview-Commit-ID: CoYdOBNnORg
2018-04-23 13:54:00 -04:00
Ted Campbell 9f41272463 Bug 1448563 - Part 2: Add memory reporting for Ion lazy linking. r=jandem
MozReview-Commit-ID: 4tHDJXzJKY5
2018-04-23 13:53:01 -04:00
Ted Campbell bdaa0bde42 Bug 1448563 - Part 1: Use JS::CollectGlobalReports for non-runtime memory. r=jorendorff
MozReview-Commit-ID: G4j6YKP0vEV
2018-04-23 13:52:04 -04:00
Jan de Mooij 0f98a70be7 Bug 1454398 - Comment out another invalid assert I missed in 42e037e0b8d1. r=me 2018-04-23 12:38:13 +02:00
Jon Coppeard b54707eba0 Bug 1415852 - Unconditionally poison chunk trailer on free r=sfink 2018-04-23 10:51:33 +01:00
Jon Coppeard 3e09172edc Bug 1419373 - Call ShutdownMarker() on all JSObject2WrappedJSMaps at the same time r=mccr8 2018-04-23 10:51:33 +01:00
Tiberius Oros c028c8d2f4 Merge inbound to mozilla-central. a=merge 2018-04-23 01:11:42 +03:00
Jan de Mooij d75fb4c859 Bug 1451198 part 2 - Annotate maybeUninitialized reads in GetUnboxedValue. r=bhackett 2018-04-22 12:13:48 +02:00
Jan de Mooij 83a0922b01 Bug 1451198 part 1 - Move GetUnboxedValue and SetUnboxedValue to cpp file. r=bhackett 2018-04-22 12:11:53 +02:00
David Teller ffadbd25c9 Bug 1455463 - Make calls to checkFields more explicit r=arai
Apparently, older versions of clang have difficulties with our call to checkFields. This might help.

MozReview-Commit-ID: C7dn7EwcazI

--HG--
extra : rebase_source : 723b1bc9294e156736e4169dca72fdd02996f767
2018-04-20 16:40:08 +02:00
Jan de Mooij f57cb4a925 Bug 1454592 part 2 - Get rid of a static constructor for protoTable array. r=jonco 2018-04-20 13:07:14 +02:00
Jan de Mooij ca890cd4cc Bug 1454592 part 1 - Make some constructors constexpr. r=jonco 2018-04-20 13:04:07 +02:00
Boris Zbarsky 1df89947b2 Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap
MozReview-Commit-ID: A0bHF5RHhs6
2018-04-20 23:04:45 -04:00
Boris Zbarsky 2d76710322 Bug 1453869 part 8. Teach Cu.importGlobalProperties about DOMParser. r=mrbkap
MozReview-Commit-ID: 36Op1KdLZJe
2018-04-20 23:03:32 -04:00
Steve Fink 10e2e05891 Bug 1448089 followup, remove now-unused variable to fix a CLOSED TREE.
--HG--
extra : amend_source : 001ccd09e2af56c45e01e9057a64fb6cd23fe874
extra : histedit_source : 32a294be08fe4fd4082f9591c2582e2c14386841
2018-04-20 13:32:47 -07:00
Steve Fink 2c3ce821ef Bug 1455201 - Propagate failure out of set -e region and add verbose logging to autospider.py, r=jonco
--HG--
extra : rebase_source : 3b2b301e45e555de489ac26bc22e1e1e181c6357
2018-04-19 11:20:26 -07:00
Nicolas B. Pierron 2d9966df5c Bug 1448089 - Make MBasicBlock::addPredecessorSameInputsAs fallible. r=tcampbell 2018-04-19 07:32:00 -04:00
Kris Maglione 903e86e865 Bug 1455458: De-XPIDLify the blocklist service. r=gijs
Going through XPConnect for JS-to-JS access in the blocklist service adds no
benefit, but does add a lot of overhead and maintenance burden.

MozReview-Commit-ID: Lf1mDK0b0B0

--HG--
extra : rebase_source : 410ed3fcf999d7c7775ef4926c89f67d9e342da8
2018-04-19 16:01:24 -07:00
Kris Maglione 36ffd6d271 Bug 1455179: Support destructuring with default values in undefined property detection checks. r=nbp
MozReview-Commit-ID: O5sCGmjJxA

--HG--
extra : rebase_source : 08953a75afb6fe84cf52cf3f7772b35bd1a3a78a
2018-04-18 18:36:57 -07:00
Dorel Luca 644bf34f8b Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE
Backed out changeset 033299f27339 (bug 1453011)
Backed out changeset 4464997475c1 (bug 1453011)
Backed out changeset cae243fb2a3c (bug 1453011)
Backed out changeset adf56a83131b (bug 1453011)
Backed out changeset 80abe3305b24 (bug 1452981)
Backed out changeset 02178545f255 (bug 1452981)
Backed out changeset 719f7596c208 (bug 1146316)
Backed out changeset 1316c78daeb6 (bug 1146316)
2018-04-20 21:40:24 +03:00
Boris Zbarsky 45a3faf8f6 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Peter Van der Beken 2d06d9a85f Bug 1453011 - Remove PostCreatePrototype. r=bz.
--HG--
extra : rebase_source : f1566e432e6c47c814bbced141b51522fe3e4184
2018-03-22 11:31:05 +01:00
Peter Van der Beken b1be86e036 Bug 1453011 - Remove some unused nsIXPCScriptable flags. r=bz.
--HG--
extra : rebase_source : d3f5d9b6d994bbcf55976b3a1aed404d273415f3
2018-03-22 10:37:43 +01:00
Peter Van der Beken 3cb241cae0 Bug 1453011 - Remove nsXPCClassInfo. r=bz.
--HG--
extra : rebase_source : fd26480b3a4c8f56ae47fa2e4031fd0bebd1cd88
2018-03-22 09:42:21 +01:00
Peter Van der Beken 79663afa7d Bug 1452981 - Remove qsObjectHelper. r=bz.
--HG--
extra : rebase_source : 931b915a05d026d826ceb5ec919c3909f9bae053
2018-03-01 09:01:00 +01:00
Peter Van der Beken 58eabcfc19 Bug 1146316 - Remove nsWrapperCache::SetIsNotDOMBinding and IsDOMBinding(). r=bz.
--HG--
extra : rebase_source : e79d52f75c4e73ba65fa88d8b21111e0cbf29634
2018-04-05 17:22:41 +02:00
Peter Van der Beken f2ba86d2a9 Bug 1146316 - Preserve the wrapper of sandboxes, so that we never try to call WrapObject on them. r=bz.
--HG--
extra : rebase_source : a520fe62e7831c4a73f0ee4365c55f93965e14b6
2018-04-11 11:52:13 +02:00
Luke Wagner b34afec0b2 Bug 1452571 - Baldr: fix IsBufferSource on DataView and prevent shell-only rooting bug (r=anba) 2018-04-19 14:28:01 +02:00
Gurzau Raul f4056b78d5 Backed out 2 changesets (bug 1454592) for Windows build bustage on a CLOSED TREE
Backed out changeset 82821ff143e3 (bug 1454592)
Backed out changeset 89504aa6f1b3 (bug 1454592)
2018-04-20 15:27:12 +03:00
Jan de Mooij ff6fca9c9e Bug 1454592 part 2 - Use constexpr for protoTable static array. r=jonco 2018-04-20 13:07:14 +02:00
Jan de Mooij 01dc4afaad Bug 1454592 part 1 - Make some constructors constexpr. r=jonco 2018-04-20 13:04:07 +02:00
Jon Coppeard 8c8071aed3 Bug 1443468 - Suppress gray marking assertion during maniupulation of internal GC state r=sfink 2018-04-20 10:09:52 +02:00
Bob Clary b3d634a013 Bug 1440714 - handle su-rooted devices, r=gbrown, jonco 2018-04-20 00:29:28 -07:00
Kris Maglione 219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Tom Schuster b5af919e04 Bug 1453932 - Optimize loads from CallSiteObjects for tagged template literals. r=jandem
--HG--
extra : rebase_source : 80dc353fc7bca35946d10d0a497e46cf273eab1b
2018-04-13 13:56:55 +02:00
Margareta Eliza Balazs 31213abbb3 Backed out changeset 0ab0d909476f (bug 859782) for bustage in builds/worker/workspace/build/src/js/src/util/NativeStack.cpp on a CLOSED TREE 2018-04-19 14:26:20 +03:00
Jan de Mooij cefd4cb6c2 Bug 1452602 - Mark some shell functions as fuzzing-safe. r=jonco 2018-04-19 13:14:18 +02:00
Jan de Mooij 4f87b13b19 Bug 1452982 part 15 - Rename some constants. r=jonco 2018-04-19 13:06:12 +02:00
Jan de Mooij 26031d2003 Bug 1452982 part 14 - Rename 'active thread' to 'main thread'. r=jonco 2018-04-19 13:04:46 +02:00
Jan de Mooij e43e8a5da5 Bug 1064316 - Rewrite check_macroassembler_style.py to use os.walk instead of looking at the repo data. r=nbp 2018-04-19 13:02:00 +02:00
André Bargull 120f792ef5 Bug 1453922: Add fast path for non-negative int32 values to ToIndex. r=jandem
--HG--
extra : rebase_source : a002e27c6499c08c4b8d29c634669a74b874a15c
2018-04-19 10:46:49 +02:00
Richard Pospesel ec82bdd903 Bug 859782 - Firefox cannot start without /proc (chroot) r=sphink
--HG--
extra : rebase_source : 67a45d6f59f39fcb84bf84af7404718d6d181e5d
2018-04-18 13:41:00 +03:00
Jon Coppeard 831758818a Bug 1454940 - Update assertions in JS_TransplantObject to allow the original object to be gray r=sfink 2018-04-19 10:36:29 +02:00
Steve Fink c0c6ab8dfc Bug 1455071 tier 2 bustage followup - s/WriteBytes/AppendBytes/ 2018-04-19 00:37:58 -07:00
Steve Fink c92957a424 Bug 1455071 - Use delegation rather than inheritance for the BufferList in JSStructuredCloneData, r=jorendorff,r=baku
--HG--
extra : rebase_source : 1620d0a2d99d9aeddd7d06b4f29251907311ef86
extra : histedit_source : 59145661383b920085164eff3586a78da41c420b
2018-03-15 16:56:09 -07:00
Steve Fink 185250e668 Bug 1455071 - Remove unused JSAutoStructuredCloneBuffer::copy, r=jorendorff
--HG--
extra : rebase_source : 59dd8139542fa3761fc2b343cfc88d2a3036059e
2018-03-15 20:09:09 -07:00
Steve Fink bbfc47ea95 Bug 1455071 - Comment the purpose of JSAutoStructuredCloneBuffer, r=jorendorff
--HG--
extra : rebase_source : ce0d972b8b67bde5932606e5ae1bba8eade7b005
2018-03-15 20:08:58 -07:00
Steve Fink b30ce6e292 Bug 1455071 - Remove unused alternate callback option to JSAutoStructuredCloneBuffer::clear, r=jorendorff
--HG--
extra : rebase_source : 274cdaca9fc7f59c16a3e2ef1f979695eea30a3b
2018-03-15 17:11:31 -07:00
Steve Fink d1d9f3cca9 Bug 1455071 - Bulk up SCOutput by changing it from storing a bare BufferList to a full JSStructuredCloneData, r=jorendorff
Then move JSStructuredCloneWriter's callbacks, callback data, and refsHeld into its SCOutput's JSStructuredCloneData. This removes the loose fields from JSStructuredCloneWriter and allows using move construction to remove a bunch of code.

--HG--
extra : rebase_source : 37cb0d4a15ffd0155bb7a55cd0fbefc358e649a8
2018-03-15 14:04:24 -07:00
Steve Fink f7f5c66182 Bug 1455071 - Allow synthetic clone buffers to contain transferables, r=jorendorff
--HG--
extra : rebase_source : b4089245c693623c1ab621817dcdc0803be6e321
2018-04-16 12:44:35 -07:00
André Bargull 0678b75f37 Bug 1453921: Use MTruncateToInt32 when inlining String.fromCharCode. r=jandem 2018-04-13 03:40:51 -07:00
Dragan Mladjenovic d5f23151eb Bug 1454987 - [MIPS32] Enable cmpPtrSet overload that takes ImmWord. r=bbouvier 2018-04-18 15:45:52 -04:00
Robin Templeton 5123fd9bc9 Bug 1454512 - Fix JS::Value's is_symbol predicate. r=sfink 2018-04-18 15:44:43 -04:00
Steve Fink ee8a623de2 Bug 1439712 - CTypes string error checking, r=jonco
--HG--
extra : rebase_source : 315f2fd15b81de6f8e3cee45f45f3181ee62c318
2018-04-17 17:06:10 -07:00
Steve Fink f0af1b691a Bug 1439712 - Improve JSString::ensureLinear error reporting, r=jonco
--HG--
extra : rebase_source : e3492dba79fc02531bab56727249d53bce116b7a
2018-02-20 12:41:04 -08:00
Andreea Pavel 465753992f Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-18 20:13:24 +03:00
Dorel Luca 59a9a86553 Merge mozilla-inbound to mozilla-central a=merge 2018-04-18 19:57:11 +03:00
André Bargull b103e014b3 Bug 1453809: Call ToUint16 in ToUint16Slow. r=Waldo 2018-04-12 14:56:03 -07:00
Jan de Mooij 7f76c6ae50 Bug 1454398 - Disable asserts responsible for intermittent failures. r=me 2018-04-18 10:40:24 +02:00
Jon Coppeard 423a38223b Bug 1442947 - Compact the heap on shrinking GC when animating if the user is idle r=sfink 2018-04-18 10:19:36 +02:00
Jan de Mooij 98422b2e61 Bug 1064316 - Rewrite check_spidermonkey_style.py to use os.walk instead of looking at the repo data. r=njn 2018-04-18 09:42:24 +02:00
Nika Layzell e5f31c03d8 Bug 1444991 - Part 4: Handle DOM Objects in XPConnect, r=mccr8
This patch goes through the XPConnect conversion methods, and adds cases for
T_DOMOBJECT which call the Wrap, Unwrap, and Cleanup methods from the
nsXPTDOMObjectInfo objects created in the last part.

For consistency with normal interface pointers, and because it wasn't too
complex, I also added support for including T_DOMOBJECTs in XPCOM arrays.
2018-04-17 19:21:03 -04:00
Nika Layzell 14da321a67 Bug 1444745 - Part 5: Update consumers of nsIInterfaceInfo to use the nsXPTInterfaceInfo directly, r=mccr8
Due to the decision to keep the old API on nsXPTInterfaceInfo in part 4, this is
a fairly straightforward patch.

1. I had to change a couple of consumers of `IsRetval()` due to the movement of
that flag.
2. I changed all code which held a nsIInterfaceInfo to hold an `const
nsXPTInterfaceInfo*` instead.
3. I changed code which used the nsIInterfaceInfoManager to instead call the
static methods on nsXPTInterfaceInfo.
2018-04-17 19:20:56 -04:00
Nika Layzell f5f86c989e Bug 1444745 - Part 1: Clear out xptinfo and typelib to make way for the this patch, r=mccr8
Unfortunately, I wasn't able to figure out a way to make firefox build & run in
the intermediate stages of these commits. Because of this, I am going to just
delete most of the code which I am deleting in the first patch, as I figure that
those are somewhat uninteresting changes, and then make the other changes in the
following patches.

In total, the following things are deleted:
1. All of xpcom/typelib, except for `xpt/tools` - this directory is being
subsumed entirely into xpcom/reflect/xptinfo.
2. Most of the code in xpcom/reflect/xptinfo, it is being rewritten to avoid
allocating and contain all of the necessary data structures.
3. idl-parser's typelib.py XPT generator, as it will be replaced.
4. Most includes of files which have been deleted.

NOTE: xpcom/typelib/xpt/tools/xpt.py was not removed, as it is used by bundling
code & bundling tests, which we don't want to remove yet.
2018-04-17 19:20:50 -04:00
Steve Fink 0405ef5fa2 Bug 1446693 - Include discardJitCode in AutoTraceSession for minor GC, r=jonco
--HG--
extra : rebase_source : 71f00e818ff1531329f23137b71aca4999d6bb35
2018-04-05 15:46:59 -07:00
Robin Templeton e8ba10f7c9 Bug 1437995 - "test262 feature check for BigInt" r=jorendorff
--HG--
extra : rebase_source : d679333cd3b5d37812eb9fa498113d27dcfb6616
2018-04-16 10:58:00 +03:00
David Teller 00d8ff0043 Bug 1439855 - Make BinSource work with multipart tokenizer;r=arai,efaust
Note that BinSource-auto.{h, cpp} and BinToken.h are auto-generated from BinSource.{yaml, webidl}.

This patch contains the following changes:
- updates to the webidl specifications;
- adapt BinSource.* to the new tokenizer API;
- split BinASTParser across BinASTParserBase and BinASTParser<Tok>.

The effect is that we may now use the BinASTParser with both the (updated) tester tokenizer
and the (new) multipart tokenizer.

MozReview-Commit-ID: HCF2m3qDTFH

--HG--
extra : rebase_source : 6a59b102182e50a782ca56f2df57d3053c608668
2018-04-05 14:31:40 +02:00
David Teller 8cebf95a05 Bug 1439855 - Extend JS shell parse command to allow forcing full parsing;r=arai
This is useful mostly for benchmarking.

MozReview-Commit-ID: ZzWA6fxCGN

--HG--
extra : rebase_source : a50be777140f36bcc2741640bc9951bae4419dcd
2018-04-05 14:31:39 +02:00
David Teller 3b3526a01c Bug 1439855 - Extend JS shell binParse with ability to pick a tokenizer;r=arai
MozReview-Commit-ID: 9EQY36O9wQo

--HG--
extra : rebase_source : d7ffed8e4cb1488eddd53b81ba98fb9668d9034a
2018-04-05 14:31:39 +02:00
David Teller fbabebc2ae Bug 1439855 - Bunch of macros shared among BinAST files;r=arai
MozReview-Commit-ID: 6q27OFhLlc6

--HG--
extra : rebase_source : e1b4d2c4649a8036f34a0be448004b83db127815
2018-04-05 14:31:39 +02:00
David Teller 7c2dd88aa6 Bug 1439855 - Fast lookup for BinAST string constants, shared among parsers;r=arai
BinAST parsers need to perform frequent lookup for string values, e.g. once for each `let`, `var`, `const`,
 `+`, `-`, `instanceof` (string enums), as well as a number of startup lookups for string values such as
"LiteralNullExpression", etc. (ast table)

This patch introduces zero-copy lookup tables for both of these. These tables are shared among instances of parsers in a JSRuntime.

MozReview-Commit-ID: 75BasAxLoha

--HG--
extra : rebase_source : 3a06aca851d38b500f026d8726be66e4a5dedc37
2018-04-05 14:31:39 +02:00
David Teller a67fca5027 Bug 1439855 - Splitting the BinTokenReaderTester in two;r=arai
As a preliminary step for introducing the BinTokenReaderMultipart, we start by splitting the BinTokenReaderTester in two.

Also, we change a bit the API of the BinTokenReaderTester to uniformize with the BinTokenReaderMultipart.

MozReview-Commit-ID: 4SlHaqEAZMk

--HG--
extra : rebase_source : 1b2b0ada2cb8ea9c26715cd56b2340517403ede2
2018-04-05 14:31:39 +02:00
David Teller d86bf9df5f Bug 1439855 - Extending BinAST parser generator with support for multipart tokenizer;r=jorendorff
Changes:

- instead of parsing string enums by string matching, we go through a new `enum class` `BinVariant`, whose handling is part of the tokenizer;
- we now generate this `enum class`.

MozReview-Commit-ID: FnzG772RZam

--HG--
extra : rebase_source : d61e4855f904259e66ff2dbd765ebbb1ee597d7d
2018-04-05 14:31:39 +02:00
David Teller 0282c0ad9e Bug 1439855 - Introduce BinAST multipart tokenizer;r=arai
This introduces a new tokenizer for the BinAST parser: the multipart tokenizer.

The format used by the multipart tokenizer is described here: https://binast.github.io/binjs-ref/binjs_io/multipart/index.html

While the details of the format may still change, this is the tokenizer we intend to ship.

We only implement the `identity; ` compression scheme. For the moment, there are no plans to implement other compression schemes.

MozReview-Commit-ID: 8WUa3QX5GWt

--HG--
extra : rebase_source : 984f98c488048144ed38f9644682f947b776a686
2018-04-05 14:31:40 +02:00
David Teller 4411aac81a Bug 1439855 - Tests for BinAST multipart tokenizer (data);r=arai
MozReview-Commit-ID: KlzxtGmCYVD

--HG--
extra : rebase_source : 4376f3a2f32ab937df71d0b3cb1866476cff25aa
2018-04-05 12:16:30 +02:00
David Teller 6f4887aa4f Bug 1439855 - Tests for multipart tokenizer;r=arai
MozReview-Commit-ID: 7V2BWAcpA1D

--HG--
extra : rebase_source : c8d8020e950ffaa826583c24ebc342085a9af280
2018-04-12 15:13:22 +02:00
Benjamin Bouvier a3f49c13ba Bug 1454923: Add debugging support for anyref return values in wasm; r=lth
--HG--
extra : rebase_source : 7da83800e74d72ad1f0ef312f50a4b2649a52c65
extra : amend_source : 0eae3689ff025bb43184e662f27aac7fefddeaa7
2018-04-18 14:34:20 +02:00
Paul Bone 76fe94ac99 Bug 1451088 - Add constexpr constructors to the TypePolicy classes r=waldo
--HG--
extra : rebase_source : 54e36bbb3d141e69b21d18f55bc29729920786a2
2018-04-17 15:20:13 +02:00
Jon Coppeard 4d5f870a31 Bug 1447284 - Fix comments on AutoSuppressGC class r=pbone 2018-04-17 15:32:03 +02:00
Jon Coppeard c0057b5970 Bug 1429727 - Rename js::ThreadLocalData to prevent confusion with mozilla::ThreadLocal r=lth 2018-04-17 15:32:02 +02:00
Jon Coppeard a59feb05d5 Bug 1450847 - Fix view parameter class check in ReadableStreamBYOBRequest::constructor r=till 2018-04-17 15:32:02 +02:00
Tooru Fujisawa c32731f51e Bug 1342070 - Part 3: Disable optimization if devtools or profiler is used. r=till 2018-04-17 14:59:57 +02:00
Till Schneidereit eca9b59fff Bug 1342070 - Part 2: Only create result Promises in Promise#catch if it's used or the creation is otherwise observable. r=anba
Includes porting catch to C++ to make this feasible.
2017-08-02 09:43:45 +02:00
Till Schneidereit 19ca539de6 Bug 1342070 - Part 1: Only create result Promises in Promise#then if it's used or the creation is otherwise observable. r=anba
"Otherwise observable" here means either the receiver's "constructor" property is changed, or the constructor's @@species property.
2017-08-01 16:37:37 +02:00
Tooru Fujisawa e2417d4b9f Bug 1342070 - Part 0: Add API to tell Profile Timeline Recording state to JS engine. r=till,tromey 2018-04-17 14:59:56 +02:00
Luke Wagner 30aa443de2 Bug 1425076 - Baldr: warn on invalid name section (r=bbouvier)
--HG--
extra : rebase_source : 8964b89df401772af7bfb5f02bc05deaebe899fa
2018-04-04 17:44:11 -05:00
Luke Wagner b095f7fbe8 Bug 1425076 - Baldr: rename WasmBinaryIterator to OpIter (r=bbouvier)
--HG--
rename : js/src/wasm/WasmBinaryIterator.cpp => js/src/wasm/WasmOpIter.cpp
rename : js/src/wasm/WasmBinaryIterator.h => js/src/wasm/WasmOpIter.h
extra : rebase_source : fb6a4154e39993035c4c04661cc1f5657486d33e
2018-04-04 13:52:23 -05:00
Jan de Mooij 43efd96cbe Bug 1452982 part 13 - Misc cleanup related to cooperative scheduling. r=jonco 2018-04-17 13:30:19 +02:00
Jason Orendorff 03b1aaefed No bug - Fix typo in binsource. r=Yoric IRL. 2018-04-17 12:51:41 +02:00
Tooru Fujisawa a8a5497cc1 Bug 1453884 - Rename LazyScript.{begin,end} to LazyScript.{sourceStart,sourceEnd}. r=Yoric 2018-04-17 12:37:10 +02:00
Brindusan Cristian 8bcf097e09 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-17 13:10:25 +03:00
Brindusan Cristian 667fae7dc8 Merge inbound to mozilla-central. a=merge 2018-04-17 12:53:33 +03:00
Jan de Mooij 3635c4e66f Bug 1452982 part 12 - Clean up ContextKind and CheckThreadLocal. r=jonco 2018-04-17 10:48:10 +02:00
Jan de Mooij 050bda2db5 Bug 1452982 part 11 - Rename ActiveThread to MainThread. r=jonco 2018-04-17 10:47:33 +02:00
Benjamin Bouvier fd7a2a8cc5 Bug 1454161: Make --wasm-gc a no-op in non-Nightly builds; r=lth
MozReview-Commit-ID: AynuyMIj9Rz

--HG--
extra : rebase_source : 8f6992520635ad558095ad01fca72d5f6ff39413
extra : amend_source : ff1dba5e050dd9f453a81bab40a9eea2d14b5497
2018-04-16 10:13:57 +02:00
Jon Coppeard 275c025454 Bug 1453028 - Add new zeal modes to test the different parts of incremental sweeping r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard 9c2e6f6917 Bug 1453028 - Add a new sweep action to yield in a specified zeal mode r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard f69380bdd2 Bug 1453028 - Rename GC zeal modes that run in two slices and refactor r=sfink 2018-04-17 08:44:56 +02:00
Jon Coppeard 5bae58b082 Bug 1453028 - Refactor the way we parse zeal mode strings r=sfink 2018-04-17 08:44:55 +02:00
Zhang Junzhi 296650a6ea Bug 1454207 - Part 3: Introduces a new function |ValueToPrintableUtf8| so that we report ReferenceError with readable Unicode characters instead of unreadable Unicode escape sequences r=arai
MozReview-Commit-ID: HtAVxVg54IL

--HG--
extra : rebase_source : 2079f41bbd3723aa633bac58c1661444f5862985
2018-04-15 13:18:03 +08:00
Zhang Junzhi fc7e9397b8 Bug 1454207 - Part 2: Renames |ValueToPrintable| to |ValueToPrintableLatin1|, in preparation for introducing a new function |ValueToPrintableUtf8| r=arai
MozReview-Commit-ID: CXTbJnKZMiH

--HG--
extra : rebase_source : c06b05ef4d1580b74f9c94fd026dbbff24f5cf48
2018-04-15 13:09:22 +08:00
Zhang Junzhi 0b6a4b0186 Bug 1454207 - Part 1: Changes js::ReportIsNotDefined from a value-returning function to a Non-value-returning function r=arai
MozReview-Commit-ID: Gzb6k0PchNw

--HG--
extra : rebase_source : cce435ad993e4efc58e7dc23dc09c343903e8169
2018-04-15 12:49:23 +08:00
Jon Coppeard ef9aefe363 Bug 1454009 - Cut down BinAST log output during jsapi tests r=yoric 2018-04-16 17:52:02 +02:00
Dragan Mladjenovic 9e445c5546 Bug 1453628 - [MIPS64] Cleanup JIT <-> C++ 32-bit argument passing for simulator build. r=bbouvier 2018-04-16 09:03:40 -04:00
Jan de Mooij 8d311e9b33 Bug 1447989 - Add some asserts to TI code. r=tcampbell 2018-04-16 13:26:32 +02:00
Jan de Mooij 869fec072d Bug 1452982 part 10 - Rename *ActiveCooperatingThread to *MainThread. r=jonco 2018-04-15 13:18:46 +02:00
Jeff Walden 7fe1365632 Bug 1453456 - Replace JS7_ISDEC with mozilla::IsAsciiDigit. r=froydnj
--HG--
extra : rebase_source : 36cfe2674037e680511d5fa6f557d58936025244
2018-04-13 13:01:10 -07:00
Jeff Walden 821db93ccc Bug 1453456 - Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
--HG--
extra : rebase_source : b31986c0e6828be79442cfb0cf369eb80c232139
2018-04-12 20:19:30 -07:00
Jeff Walden 9ea9bcc2df Bug 1453456 - Add/use more ASCII alphanumeric testing/conversion functions from MFBT in SpiderMonkey code in various places. r=froydnj
--HG--
extra : rebase_source : b4e05102cce2ad5dabb973a3968f1112376da594
2018-04-10 11:42:54 -07:00
Jeff Walden 4e99ef3517 Bug 1447668. r=jorendorff
--HG--
rename : js/src/jsapi-tests/testToIntWidth.cpp => js/src/jsapi-tests/testToSignedOrUnsignedInteger.cpp
extra : rebase_source : 446b26c64f057a38853e9b4458b8f35b26b08a2c
2018-03-27 14:01:43 -07:00
Jeff Walden 2142dd16c8 |this->|-qualify some templated member functions to help some buggy compilers along. No bug, r=me
--HG--
extra : rebase_source : 657ffe6afa1a5a6afe70a2090602b661a22890d4
2018-04-13 14:30:23 -07:00