Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Chris Martin
5c32fcd59d
Bug 1052579 - Allow JS AllocPolicy to be assigned to an arena r=sfink
...
Several areas of JS code abstract their memory allocation logic behind an
AllocPolicy. Since these allocations may now need to be in different arenas,
each AllocPolicy will need to be assigned a Mozjemalloc arena that it will
use for all its allocations.
Differential Revision: https://phabricator.services.mozilla.com/D25705
--HG--
extra : moz-landing-system : lando
2019-04-03 19:53:06 +00:00
Robin Templeton
0093033657
bug 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D12581
--HG--
extra : moz-landing-system : lando
2019-04-02 17:11:13 +00:00
Jeff Gilbert
e6f79726e5
Bug 1540357 - Fix implicit int truncation dom/canvas's js/* includes. r=sfink
...
Depends on D25495
Differential Revision: https://phabricator.services.mozilla.com/D25496
--HG--
extra : moz-landing-system : lando
2019-04-02 17:00:43 +00:00
Gerald Squelart
e1bd1f5588
Bug 1429613 - Using upgraded Variant::match where appropriate - r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D24891
--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:55 +00:00
Gerald Squelart
e2d15a1cfb
Bug 1429613 - Variant matcher callbacks renamed from match
to operator()
- r=froydnj
...
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.
Differential Revision: https://phabricator.services.mozilla.com/D24889
--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Jeff Walden
feb28d4555
Bug 1539690
- Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D25177
--HG--
rename : js/public/RegExp.h => js/public/RegExpFlags.h
extra : moz-landing-system : lando
2019-04-02 03:16:43 +00:00
Noemi Erli
5d1c793bad
Backed out changeset 6ccad746f5d8 (bug 1456569) for Linting opt failure in TypedArray.js CLOSED TREE
2019-04-02 05:40:09 +03:00
Noemi Erli
1416a50250
Backed out changeset 6f8d311064d9 (bug 15396900) for bustages in bug1033946.js CLOSED TREE
2019-04-02 05:38:56 +03:00
Robin Templeton
d1fd3eb1c9
bug 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D12581
--HG--
extra : moz-landing-system : lando
2019-04-01 22:22:28 +00:00
Jeff Walden
c6c6107545
Bug 1539690
- Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D25177
--HG--
rename : js/public/RegExp.h => js/public/RegExpFlags.h
extra : moz-landing-system : lando
2019-04-02 02:07:50 +00:00
Jon Coppeard
7b5f8dce00
Bug 1539570 - Improve documentation of our various barrier classes r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D25367
2019-03-29 11:08:16 +00:00
Sylvestre Ledru
ef0bfc3822
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D24168
--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Jon Coppeard
e16c189b22
Bug 1306008 - Replace ObjectPtr with JS::Heap<JSObject*> r=sfink
...
Heap<JSObject*> is now equivalent to ObjectPtr so we can remove the latter.
Differential Revision: https://phabricator.services.mozilla.com/D25084
2019-03-27 16:26:22 +00:00
Jon Coppeard
b425876903
Bug 1306008 - Give JS::Heap<T> pointer wrappers a pre-barrier r=sfink
...
This adds a pre write barrier to Heap<T> so that these can be uses as non-roots in the heap without breaking our snapshot at the beginning invariant if they are written to during an incremental GC. This makes it harder to misuse and allows us to take out manual barriers in at least one place.
Differential Revision: https://phabricator.services.mozilla.com/D25083
2019-03-27 16:26:09 +00:00
Andrew McCreight
44f182bf3b
Bug 1539261, part 2 - Mark various JSStructuredCloneData methods MOZ_MUST_USE. r=sfink
...
Also, fix up various places that call these methods.
Depends on D24991
Differential Revision: https://phabricator.services.mozilla.com/D24992
--HG--
extra : moz-landing-system : lando
2019-03-27 20:41:17 +00:00
arthur.iakab
7ae8fb76e1
Backed out 2 changesets (bug 1539261) for multiple build bustages on /fuzz-tests/testStructuredCloneReader.cpp CLOSED TREE
...
Backed out changeset 526daf87fff9 (bug 1539261)
Backed out changeset 5b070b6ae224 (bug 1539261)
2019-03-27 21:59:29 +02:00
Andrew McCreight
c5ae898857
Bug 1539261, part 2 - Mark various JSStructuredCloneData methods MOZ_MUST_USE. r=sfink
...
Also, fix up various places that call these methods.
Depends on D24991
Differential Revision: https://phabricator.services.mozilla.com/D24992
--HG--
extra : moz-landing-system : lando
2019-03-27 19:34:46 +00:00
Yoshi Cheng-Hao Huang
7f012345b7
Bug 1521732 - Part 5: RootedObjectVector. r=sfink,jonco
...
s/AutoObjectVector/RootedObjectVector/g
Depends on D23185
Differential Revision: https://phabricator.services.mozilla.com/D23186
--HG--
extra : moz-landing-system : lando
2019-03-26 14:00:51 +00:00
Yoshi Cheng-Hao Huang
edbc333422
Bug 1521732 - Part 3: Use RootedValueVector instead. r=sfink,jonco
...
s/AutoValueVector/RootedValueVector/g
Depends on D23183
Differential Revision: https://phabricator.services.mozilla.com/D23184
--HG--
extra : moz-landing-system : lando
2019-03-26 13:58:20 +00:00
Yoshi Cheng-Hao Huang
9125968c60
Bug 1521732 - Part 1: StackGCVector and RootedVector. r=sfink
...
Introduce a MOZ_STACK_CLASS StackGCVector, which is
specialization of inline capacity to 8 of GCVector.
Differential Revision: https://phabricator.services.mozilla.com/D23182
--HG--
extra : moz-landing-system : lando
2019-03-25 06:39:12 +00:00
Paul Bone
b0496498f4
Bug 1539031
- (part 2) Add a incremental non-zonal mode r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D24850
--HG--
extra : moz-landing-system : lando
2019-03-26 23:18:05 +00:00
Paul Bone
ce0c450e03
Bug 1539031
- (part 1) Rename JSGC_MODE_INCREMENTAL r=jonco
...
Since this mode covers both incremental and zonal GC, let's rename it to
reflect that. JSGC_MODE_ZONE_INCREMENTAL.
Differential Revision: https://phabricator.services.mozilla.com/D24849
--HG--
extra : moz-landing-system : lando
2019-03-26 16:57:40 +00:00
Jason Orendorff
1c204efb75
Bug 1495072 - Part 2: Add pref for the await fix. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D24255
--HG--
extra : moz-landing-system : lando
2019-03-26 18:16:55 +00:00
Jeff Walden
c40e81a2e9
Bug 1537536 - Move JS::ForOfIterator to its own header. r=arai,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D24257
--HG--
rename : js/src/jsapi.h => js/public/ForOfIterator.h
extra : moz-landing-system : lando
2019-03-26 17:10:44 +00:00
Jeff Walden
dad7f9f2be
Bug 1537978 - Move regular expression-related functionality out of jsapi.h into a new js/public/RegExp.h header, further slimming jsapi.h. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D24426
--HG--
rename : js/src/jsapi.h => js/public/RegExp.h
extra : moz-landing-system : lando
2019-03-22 23:56:08 +00:00
Paul Bone
47a363df69
Bug 1531626 - (part 6) Introduce a GC_MIN_NURSERY_BYTES parameter r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D21671
--HG--
extra : moz-landing-system : lando
2019-03-22 05:16:21 +00:00
Coroiu Cristina
48a10d6871
Backed out 6 changesets (bug 1528159, bug 1531626) for mozcrash.py on a CLOSED TREE
...
Backed out changeset d1e0b848dfca (bug 1528159)
Backed out changeset 31825d66ed83 (bug 1531626)
Backed out changeset f754814d9ade (bug 1531626)
Backed out changeset fb099fd16c0c (bug 1531626)
Backed out changeset 782656ddec8a (bug 1531626)
Backed out changeset d2a8cc3ca43e (bug 1531626)
2019-03-22 06:35:47 +02:00
Paul Bone
10e9057638
Bug 1531626 - (part 5) Introduce a GC_MIN_NURSERY_BYTES parameter r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D21671
--HG--
extra : moz-landing-system : lando
2019-03-21 00:49:11 +00:00
Jeff Walden
58b7603710
Bug 1535446 - Move realm options into a new js/public/RealmOptions.h header. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D23582
--HG--
rename : js/src/jsapi.h => js/public/RealmOptions.h
extra : moz-landing-system : lando
2019-03-20 20:28:43 +00:00
Gurzau Raul
b0e75ab0e1
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-03-18 23:44:31 +02:00
Steve Fink
1e1c6a0cbd
Bug 1534440 - Document GCPolicy<T>::isValid r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D23046
--HG--
extra : moz-landing-system : lando
2019-03-18 11:22:37 +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
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
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
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
Dorel Luca
0471f46dd2
Backed out changeset 29b1d70e8032 (bug 1534430) for build bustage. CLOSED TREE
2019-03-12 04:00:31 +02:00
Steve Fink
104c0bd83d
Bug 1534430 - Pointer types should default to RootKind::Traceable unless a more specific RootKind has been set via MapTypeToTraceKind r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D23040
--HG--
extra : moz-landing-system : lando
2019-03-12 00:46:17 +00:00
Will Hawkins
484d8eda83
Bug 1526315: Non-integer typed array access can lead to repeated bailouts r=iain
...
Differential Revision: https://phabricator.services.mozilla.com/D21790
--HG--
extra : moz-landing-system : lando
2019-03-11 21:16:19 +00:00
Jan de Mooij
ae04e89ca6
Bug 1527822 - Allow inlining some cross-realm native calls in IonBuilder. r=anba
...
This adds the basic infrastructure and uses it for some Math natives and the
Array constructor.
Differential Revision: https://phabricator.services.mozilla.com/D20340
--HG--
extra : moz-landing-system : lando
2019-03-11 10:35:32 +00:00
arthur.iakab
85ad02d41a
Merge inbound to mozilla-central a=merge
2019-03-07 23:58:42 +02:00
Nicolas B. Pierron
324a5a5901
Bug 1532599 - Force expected crashes on unexpected magic values. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D22120
--HG--
extra : moz-landing-system : lando
2019-03-06 20:23:43 +00:00
Sean Stangl
3bc83a5a93
Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
...
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.
Differential Revision: https://phabricator.services.mozilla.com/D20243
--HG--
extra : moz-landing-system : lando
2019-03-07 03:57:23 +00:00
Gurzau Raul
c0b13b1cae
Backed out changeset b2fb7cd41c79 (bug 1528869) for failing at /waiterlist-order-of-operations-is-fifo.js on a CLOSED TREE.
2019-03-06 09:44:58 +02:00
Sean Stangl
c2742fbea5
Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
...
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.
Differential Revision: https://phabricator.services.mozilla.com/D20243
--HG--
extra : moz-landing-system : lando
2019-03-06 04:40:51 +00:00
Jeff Walden
3f385ffa33
Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D21827
--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Razvan Maries
65e4948ca0
Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
...
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Jeff Walden
ecb4e10bda
Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D21827
--HG--
extra : rebase_source : 36c43233ad6d804bd691c8c40d6a6984331c7162
2019-02-28 17:00:56 -08:00