TheQwertiest
266e6fbbd7
Bug 1526245 - Replaced std::iterator inheritance with iterator traits definitions in JSErrorNotes (as required by C++17). r=Waldo
2019-02-11 15:39:04 +03:00
Jon Coppeard
806002b08c
Bug 1532950 - Disallow NO_REASON as a reason to GC, and fix ExplainGCReason to handle it r=pbone
...
Differential Revision: https://phabricator.services.mozilla.com/D22277
2019-03-06 11:46:12 +00:00
André Bargull
20cdce99f8
Bug 1532262: OBJECT_FLAG_NON_PACKED only implies packed elements, not a packed array. r=jandem
...
Summary: Add MIsPackedArray to ensure the array's length matches its initialised length.
Differential Revision: https://phabricator.services.mozilla.com/D23673
--HG--
rename : js/src/jit-test/tests/ion/spreadcall-not-optimized-dynamic-2.js => js/src/jit-test/tests/ion/spreadcall-not-optimized-dynamic-2a.js
rename : js/src/jit-test/tests/ion/spreadcall-not-optimized-static-2.js => js/src/jit-test/tests/ion/spreadcall-not-optimized-static-2a.js
extra : rebase_source : 647264f9011e7180614d41f7663de956e9479944
extra : amend_source : 79724a87c6aedd1457be6b9f0667eb5d189b3ba6
2019-03-17 23:56:01 +01:00
Csoregi Natalia
db0b4a6acd
Merge mozilla-central to autoland. CLOSED TREE
2019-03-16 12:25:06 +02:00
Chris Peterson
3f655a7340
Bug 1534878 - xpcom: Rename NS_InitXPCOM2() to NS_InitXPCOM(). r=froydnj
...
--HG--
extra : rebase_source : 6e7a46cf49f78e46e12d1e7fc76aba6f0c377be0
2019-03-14 23:38:09 -07:00
Logan Smyth
2503eac739
Bug 1532748 - Properly signal error in getPossibleBreakpoints error case. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D23702
--HG--
extra : moz-landing-system : lando
2019-03-15 17:10:17 +00:00
Oana Pop Rus
068138c1f5
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-03-15 18:43:00 +02:00
Lars T Hansen
58380f1019
Bug 1529933
- Execute a fence before mprotect. r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D23527
--HG--
extra : rebase_source : 308870f382b88afbf1e8671676873723c93ee023
2019-03-14 17:22:50 +01:00
Tooru Fujisawa
af20ad4d9d
Bug 1532602 - Throw error when settlePromiseNow is called on already-resolved promise. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D23349
--HG--
extra : moz-landing-system : lando
2019-03-14 19:54:26 +00:00
Dorel Luca
bc871ba7f1
Merge mozilla-central to autoland. CLOSED TREE
...
--HG--
extra : amend_source : 1a86c239e49011cf1a857de6e020b91ca0b6bd67
2019-03-14 18:27:51 +02:00
Dorel Luca
0e9ffb4c4f
Merge mozilla-inbound to mozilla-central. a=merge
2019-03-14 18:25:40 +02:00
Tom Schuster
9f43c9b587
Bug 1535037 - Use ValueType for TypeSet. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D23329
--HG--
extra : moz-landing-system : lando
2019-03-14 07:38:00 +00:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Tooru Fujisawa
ef88cd8c25
Bug 1535206 - Part 1: Remove BinASTTokenReaderMultipart::readMaybePropertyKey. r=Yoric
...
Depends on D23440
Differential Revision: https://phabricator.services.mozilla.com/D23441
--HG--
extra : moz-landing-system : lando
2019-03-14 07:50:00 +00:00
Tooru Fujisawa
ded14c2a96
Bug 1535206 - Part 0: Fix parameter name. r=Yoric
...
Depends on D23439
Differential Revision: https://phabricator.services.mozilla.com/D23440
--HG--
extra : moz-landing-system : lando
2019-03-14 07:16:19 +00:00
Tooru Fujisawa
a6809018eb
Bug 1535175 - Throw error for empty string in readIdentifierName. r=Yoric
...
Differential Revision: https://phabricator.services.mozilla.com/D23439
--HG--
extra : moz-landing-system : lando
2019-03-14 06:48:43 +00:00
Andy Wingo
cbd0a705b3
Bug 1531269 - Fix bugs in BigInt.asUintN r=jwalden,terpri
...
Differential Revision: https://phabricator.services.mozilla.com/D21505
--HG--
extra : moz-landing-system : lando
2019-03-15 14:33:26 +00:00
Nicolas B. Pierron
9d2993d1b3
Bug 1534810 - ARM64: LMulI should copy registers when multiplying by 1. r=sstangl
...
Differential Revision: https://phabricator.services.mozilla.com/D23553
--HG--
extra : moz-landing-system : lando
2019-03-14 21:48:08 +00:00
David Major
e5773183d6
Bug 1528074 - Remove MSVC warning flags that clang-cl doesn't understand r=chmanchester
...
Per the previous patch, clang-cl only understands five MSVC-style warning flags: 7219c7e9af/clang/include/clang/Driver/CLCompatOptions.td (L188-L197)
This patch removes the flags that clang-cl doesn't understand.
Differential Revision: https://phabricator.services.mozilla.com/D22588
--HG--
extra : moz-landing-system : lando
2019-03-13 20:19:08 +00:00
Benjamin Bouvier
d8d0687ce1
Bug 1534958: Fix build when BinAST is disabled; r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D23301
--HG--
extra : moz-landing-system : lando
2019-03-13 11:53:20 +00:00
Jan de Mooij
ca10fb8ade
Bug 1530364 - Ensure compartment always has a live global when creating a new global in it. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D23287
--HG--
extra : moz-landing-system : lando
2019-03-13 08:24:36 +00:00
Tooru Fujisawa
7ed495a3ce
Bug 1505343 - Part 3: Rename Bin{Kind,Field,Variant} to BinAST{Kind,Field,Variant}. r=Yoric
...
Differential Revision: https://phabricator.services.mozilla.com/D23099
--HG--
extra : moz-landing-system : lando
2019-03-13 04:30:22 +00:00
Tooru Fujisawa
397f3d8230
Bug 1505343 - Part 2: Rename BinToken* to BinASTToken*. r=Yoric
...
Differential Revision: https://phabricator.services.mozilla.com/D23098
--HG--
rename : js/src/frontend/BinToken.cpp => js/src/frontend/BinASTToken.cpp
rename : js/src/frontend/BinToken.h => js/src/frontend/BinASTToken.h
rename : js/src/frontend/BinTokenReaderBase.cpp => js/src/frontend/BinASTTokenReaderBase.cpp
rename : js/src/frontend/BinTokenReaderBase.h => js/src/frontend/BinASTTokenReaderBase.h
rename : js/src/frontend/BinTokenReaderMultipart.cpp => js/src/frontend/BinASTTokenReaderMultipart.cpp
rename : js/src/frontend/BinTokenReaderMultipart.h => js/src/frontend/BinASTTokenReaderMultipart.h
extra : moz-landing-system : lando
2019-03-13 04:30:04 +00:00
Tooru Fujisawa
df37d833d7
Bug 1505343 - Part 1: Rename binsource => binast. r=Yoric
...
Differential Revision: https://phabricator.services.mozilla.com/D23097
--HG--
rename : js/src/frontend/BinSource-macros.h => js/src/frontend/BinAST-macros.h
rename : js/src/frontend/BinSource.webidl_ => js/src/frontend/BinAST.webidl_
rename : js/src/frontend/BinSource.yaml => js/src/frontend/BinAST.yaml
rename : js/src/frontend/BinSourceRuntimeSupport.cpp => js/src/frontend/BinASTRuntimeSupport.cpp
rename : js/src/frontend/BinSourceRuntimeSupport.h => js/src/frontend/BinASTRuntimeSupport.h
rename : js/src/frontend/binsource/Cargo.toml => js/src/frontend/binast/Cargo.toml
rename : js/src/frontend/binsource/README.md => js/src/frontend/binast/README.md
rename : js/src/frontend/binsource/build.sh => js/src/frontend/binast/build.sh
rename : js/src/frontend/binsource/moz.build => js/src/frontend/binast/moz.build
rename : js/src/frontend/binsource/src/main.rs => js/src/frontend/binast/src/main.rs
rename : js/src/frontend/binsource/src/refgraph.rs => js/src/frontend/binast/src/refgraph.rs
extra : moz-landing-system : lando
2019-03-13 04:29:44 +00:00
Noemi Erli
d2f8c37768
Backed out 3 changesets (bug 1505343) for build bustages in testBinASTReader.cpp CLOSED TREE
...
Backed out changeset 4ac13d1f0d7c (bug 1505343)
Backed out changeset b2456f6d11c4 (bug 1505343)
Backed out changeset c1e2b7779d6a (bug 1505343)
--HG--
rename : js/src/frontend/BinAST-macros.h => js/src/frontend/BinSource-macros.h
rename : js/src/frontend/BinAST.webidl_ => js/src/frontend/BinSource.webidl_
rename : js/src/frontend/BinAST.yaml => js/src/frontend/BinSource.yaml
rename : js/src/frontend/BinASTRuntimeSupport.cpp => js/src/frontend/BinSourceRuntimeSupport.cpp
rename : js/src/frontend/BinASTRuntimeSupport.h => js/src/frontend/BinSourceRuntimeSupport.h
rename : js/src/frontend/BinASTToken.cpp => js/src/frontend/BinToken.cpp
rename : js/src/frontend/BinASTToken.h => js/src/frontend/BinToken.h
rename : js/src/frontend/BinASTTokenReaderBase.cpp => js/src/frontend/BinTokenReaderBase.cpp
rename : js/src/frontend/BinASTTokenReaderBase.h => js/src/frontend/BinTokenReaderBase.h
rename : js/src/frontend/BinASTTokenReaderMultipart.cpp => js/src/frontend/BinTokenReaderMultipart.cpp
rename : js/src/frontend/BinASTTokenReaderMultipart.h => js/src/frontend/BinTokenReaderMultipart.h
rename : js/src/frontend/binast/Cargo.toml => js/src/frontend/binsource/Cargo.toml
rename : js/src/frontend/binast/README.md => js/src/frontend/binsource/README.md
rename : js/src/frontend/binast/build.sh => js/src/frontend/binsource/build.sh
rename : js/src/frontend/binast/moz.build => js/src/frontend/binsource/moz.build
rename : js/src/frontend/binast/src/main.rs => js/src/frontend/binsource/src/main.rs
rename : js/src/frontend/binast/src/refgraph.rs => js/src/frontend/binsource/src/refgraph.rs
2019-03-13 05:26:34 +02:00
Tooru Fujisawa
67e8bf685b
Bug 1505343 - Part 3: Rename Bin{Kind,Field,Variant} to BinAST{Kind,Field,Variant}. r=Yoric
...
Differential Revision: https://phabricator.services.mozilla.com/D23099
--HG--
extra : moz-landing-system : lando
2019-03-13 02:46:51 +00:00
Tooru Fujisawa
bdf9e9a1bf
Bug 1505343 - Part 2: Rename BinToken* to BinASTToken*. r=Yoric
...
Differential Revision: https://phabricator.services.mozilla.com/D23098
--HG--
rename : js/src/frontend/BinToken.cpp => js/src/frontend/BinASTToken.cpp
rename : js/src/frontend/BinToken.h => js/src/frontend/BinASTToken.h
rename : js/src/frontend/BinTokenReaderBase.cpp => js/src/frontend/BinASTTokenReaderBase.cpp
rename : js/src/frontend/BinTokenReaderBase.h => js/src/frontend/BinASTTokenReaderBase.h
rename : js/src/frontend/BinTokenReaderMultipart.cpp => js/src/frontend/BinASTTokenReaderMultipart.cpp
rename : js/src/frontend/BinTokenReaderMultipart.h => js/src/frontend/BinASTTokenReaderMultipart.h
extra : moz-landing-system : lando
2019-03-13 02:46:32 +00:00
Tooru Fujisawa
9b128e23cc
Bug 1505343 - Part 1: Rename binsource => binast. r=Yoric
...
Differential Revision: https://phabricator.services.mozilla.com/D23097
--HG--
rename : js/src/frontend/BinSource-macros.h => js/src/frontend/BinAST-macros.h
rename : js/src/frontend/BinSource.webidl_ => js/src/frontend/BinAST.webidl_
rename : js/src/frontend/BinSource.yaml => js/src/frontend/BinAST.yaml
rename : js/src/frontend/BinSourceRuntimeSupport.cpp => js/src/frontend/BinASTRuntimeSupport.cpp
rename : js/src/frontend/BinSourceRuntimeSupport.h => js/src/frontend/BinASTRuntimeSupport.h
rename : js/src/frontend/binsource/Cargo.toml => js/src/frontend/binast/Cargo.toml
rename : js/src/frontend/binsource/README.md => js/src/frontend/binast/README.md
rename : js/src/frontend/binsource/build.sh => js/src/frontend/binast/build.sh
rename : js/src/frontend/binsource/moz.build => js/src/frontend/binast/moz.build
rename : js/src/frontend/binsource/src/main.rs => js/src/frontend/binast/src/main.rs
rename : js/src/frontend/binsource/src/refgraph.rs => js/src/frontend/binast/src/refgraph.rs
extra : moz-landing-system : lando
2019-03-13 02:46:12 +00:00
Ryan VanderMeulen
22b25e218e
Merge m-c to autoland. a=merge
2019-03-12 20:23:34 -04:00
Ryan VanderMeulen
b81d22538d
Backed out changeset a14fcb229ddd (bug 1495072) for causing bug 1534806.
...
--HG--
extra : rebase_source : eec6a7f6dd368c0cc405a361d9267b2daaec4f37
2019-03-12 20:20:02 -04:00
Mike Hommey
7b5468921f
Bug 1513605 - Add PIC flags when running the clock_gettime(CLOCK_MONOTONIC) check. r=dmajor
...
Differential Revision: https://phabricator.services.mozilla.com/D23091
--HG--
extra : moz-landing-system : lando
2019-03-12 14:14:43 +00:00
Noemi Erli
0e4b64877d
Backed out 2 changesets (bug 1534392) for failing in ecma262-issue-1461.js CLOSED TREE
...
Backed out changeset 4c52efb1430f (bug 1534392)
Backed out changeset 47e570e51385 (bug 1534392)
2019-03-13 00:43:31 +02:00
Jason Orendorff
f2b312835c
Bug 1534392 - Part 2: Fix error handling in %AsyncFromSyncIteratorPrototype% methods. r=anba
...
This makes %AsyncFromSyncIteratorPrototype%.next/return/throw return a rejected
promise, not throw, when PromiseResolve throws, following the usual convention
for methods that return promises. This follows proposed spec change
<https://github.com/tc39/ecma262/pull/1470 >, which I expect will land with
little controversy.
Differential Revision: https://phabricator.services.mozilla.com/D23030
--HG--
extra : moz-landing-system : lando
2019-03-12 20:49:29 +00:00
Jason Orendorff
e4992d6a26
Bug 1534392 - Part 1: Update step numbers in comments to match current draft spec. r=anba
...
The new steps are official since <https://github.com/tc39/ecma262/pull/1250 >
landed. (Some of these step numbers change again in the next commit.)
Differential Revision: https://phabricator.services.mozilla.com/D23029
--HG--
extra : moz-landing-system : lando
2019-03-12 20:48:57 +00:00
Jason Orendorff
59ad2584d8
Bug 1528792 - Remove redundant code checking for Symbol values in js::ToNumberSlow. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D23152
--HG--
extra : moz-landing-system : lando
2019-03-12 15:17:09 +00:00
Jason Orendorff
8d46729792
Bug 1529758 - Add a pref for fields. r=tcampbell
...
This creates a shell command-line option, `--enable-experimental-fields`, and a
Gecko pref, `javascript.options.experimental.fields`.
Both are off by default everywhere, for now.
Differential Revision: https://phabricator.services.mozilla.com/D22045
--HG--
extra : moz-landing-system : lando
2019-03-12 19:14:57 +00:00
Ciure Andrei
0d9d47364c
Backed out changeset 2b5f40fc403b (bug 1529758) for FullParseHandler build bustages CLOSED TREE
2019-03-12 19:28:03 +02:00
Jan de Mooij
0f01965200
Bug 1530937 part 18 - Rename DoNew{Array,Object} to DoNew{Array,Object}Fallback and remove unused NewObject_WithTemplate IC kind. r=tcampbell
...
Depends on D23137
Differential Revision: https://phabricator.services.mozilla.com/D23142
--HG--
extra : moz-landing-system : lando
2019-03-12 14:19:30 +00:00
Jan de Mooij
e0b761d01f
Bug 1530937 part 17 - Remove now unused VMFunction code. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D23137
--HG--
extra : moz-landing-system : lando
2019-03-12 14:47:50 +00:00
Jason Orendorff
51eb0a44fd
Bug 1529758 - Add a pref for fields. r=tcampbell
...
This creates a shell command-line option, `--enable-experimental-fields`, and a
Gecko pref, `javascript.options.experimental.fields`.
Both are off by default everywhere, for now.
Differential Revision: https://phabricator.services.mozilla.com/D22045
--HG--
extra : moz-landing-system : lando
2019-03-12 16:42:41 +00:00
Jan de Mooij
c89f4b00ab
Bug 1530937 part 16 - Convert tailCallVMs. r=tcampbell
...
Tail calls have their own list/array/enum to improve type safety.
Differential Revision: https://phabricator.services.mozilla.com/D23112
--HG--
extra : moz-landing-system : lando
2019-03-12 14:06:22 +00:00
Jan de Mooij
38175a1f96
Bug 1530937 part 15 - Convert callVMs in BaselineIC code. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D23108
--HG--
extra : moz-landing-system : lando
2019-03-12 14:04:57 +00:00
Jan de Mooij
091472af63
Bug 1530937 part 14 - Convert callVMs in CacheIR IC code. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D23107
--HG--
extra : moz-landing-system : lando
2019-03-12 14:04:39 +00:00
kellykc72
26d5920802
Bug 1530844 - Make push/pop pair for ecx conditional on previous ecx content r=mgaudet
...
The ECX register must contain the SHIFT amount. Before this change, ECX will always be push/pop during a SHIFT operation. However, ECX should only be push/pop if it's original contents are going to be overwritten. We now only push/pop ECX if it contains some arbituary value and hence will be overwritten by the SHIFT operation.
Differential Revision: https://phabricator.services.mozilla.com/D22887
--HG--
extra : moz-landing-system : lando
2019-03-12 13:11:19 +00:00
Ted Campbell
c92f0d2d4d
Bug 1533755 - Add SharedScriptData constructor. r=jwalden
...
This is based on PrivateScriptData approach. We make sure to call all
default constructors even if the compiler will optimize away.
Differential Revision: https://phabricator.services.mozilla.com/D22717
--HG--
extra : moz-landing-system : lando
2019-03-12 02:40:59 +00:00
Ted Campbell
f7d1ebcf87
Bug 1533755 - Use RefPtr for SharedScriptData pointers. r=jandem
...
Leave manual refcounting in the ScriptDataTable for now since it
requires a bit of care to make the automatic types do the right thing
when sweeping.
Differential Revision: https://phabricator.services.mozilla.com/D22718
--HG--
extra : moz-landing-system : lando
2019-03-12 02:40:29 +00:00
Ted Campbell
0fb55c89f0
Bug 1533755 - Cleanups in PrivateScriptData. r=jandem
...
Also add a GCManagedDeletePolicy so that the script data can be dropped
even when we are not sweeping.
Differential Revision: https://phabricator.services.mozilla.com/D22715
--HG--
extra : moz-landing-system : lando
2019-03-12 02:38:51 +00:00
Tooru Fujisawa
c92d5c4af5
Bug 1534516 - Use correct AutoGCRooter::Tag in BinASTParserBase. r=Yoric
...
Differential Revision: https://phabricator.services.mozilla.com/D23083
--HG--
extra : moz-landing-system : lando
2019-03-12 09:16:00 +00:00
Tooru Fujisawa
e932d3f5e5
Bug 1473796 - Part 4: Add FunctionEmitter, FunctionScriptEmitter, and FunctionParamsEmitter. r=jorendorff
...
FunctionEmitter is for function declaration/expression/method/etc in the
enclosing script.
FunctionScriptEmitter is for function script, including body and class fields,
excluding parameters.
FunctionParamsEmitter is for function parameters.
Differential Revision: https://phabricator.services.mozilla.com/D19622
--HG--
extra : moz-landing-system : lando
2019-03-12 06:15:23 +00:00
Tooru Fujisawa
49d1f82b2e
Bug 1473796 - Part 3: Move DestructuringFlavor into its own header. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D19621
--HG--
extra : moz-landing-system : lando
2019-03-12 06:05:21 +00:00