Commit Graph

71335 Commits

Author SHA1 Message Date
Matthew Gaudet
18dbab68b3 Bug 1558604 - Keep interpreted and interpretedLazy on FunctionBox r=jorendorff
Depends on D34586

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:52:08 +00:00
Matthew Gaudet
17696d5b2a Bug 1558604 - Defer initializaton of JSFunction::nargs until after function parsing is done. r=jorendorff
The args count needs to be set before the LazyScript takes hold of the
functionbox, or else some code that references lazy functions can get the wrong
number of arguments (ie, CloneFunctionObjectIfNotSingleton on a lazy function)

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:49:04 +00:00
Eden Chuang
2e0a3f0ddb Bug 1546306 - Add an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID for the case the passed in windowId is zero. r=baku
In some cases, the nsIScriptError is initialized with zero innerWindowId, but is from chrome context.

For cases, this patch adds an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID, which default value is false.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 09:50:49 +00:00
Oana Pop Rus
b93335c27f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-13 13:04:19 +03:00
Oana Pop Rus
1133b6716d Merge inbound to mozilla-central. a=merge 2019-06-13 12:55:51 +03:00
Paul Bone
97cbd21e24 Bug 1557928 - Rename the DoNotCare tracer kind r=jonco
Depends on D34675

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

--HG--
extra : moz-landing-system : lando
2019-06-13 01:11:53 +00:00
Paul Bone
dfeb403149 Bug 1557928 - Replace several functions with a single general function r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34675

--HG--
extra : moz-landing-system : lando
2019-06-13 01:11:54 +00:00
Paul Bone
314393ad7b Bug 1557928 - Fix obsolete comments r=jonco
IsMarkingTracer no-longer exists, so remove one comment that refers to it
and fix another comment.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 01:11:56 +00:00
Paul Bone
256fa598e8 Bug 1557928 - Use the UnmarkGray tracekind for AssertNonGrayTracer r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34673

--HG--
extra : moz-landing-system : lando
2019-06-13 06:06:11 +00:00
Adam Holm
46d3b5f507 Bug 1467191 - Unifies some implementations of CacheIR ops that perform a callVM. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D31702

--HG--
extra : moz-landing-system : lando
2019-06-13 02:28:50 +00:00
Adam Holm
f8f9b8becc Bug 1467191 - Unified IonCacheIRCompiler::calledPrepareVMCall_ and BaselineCacheIRCompiler::inStubFrame_ into CacheIRCompiler::preparedForVMCall_. r=mgaudet
Member variables `calledPrepareVMCall_` and `inStubFrame_` served the same purpose for their classes.
Unified them in CacheIRCompiler.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:25:36 +00:00
Adam Holm
6e4e4786b3 Bug 1467191 -Unified IonCacheIRCompiler and BaselineCacheIRCompiler's callVM and callVMInternal methods in CacheIRCompiler. r=mgaudet
Base commit for bug 1467191.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:23:26 +00:00
Adam Holm
c3861ce19d Bug 1467191 - Moving BaselineCacheIRCompiler and IonCacheIRCompiler into their respective headers. r=mgaudet
Base commit for bug 1467191. Moves declarations of BaselineCacheIRCompiler and IonCacheIRCompiler
into their respective header files.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:20:35 +00:00
Adam Holm
70dbabb58d Bug 1467191 - Moving BaselineCacheIRCompiler inside js::jit namespace. r=mgaudet
Base commit for patch for bug 1467191 that fixes inconsistencies in
namespace use between BaselineCacheIRCompiler and IonCacheIRCompiler.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:06:34 +00:00
Andrea Marchesini
bb718d74fc Bug 1490044 - Remove DOMPrefs. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33510

--HG--
extra : moz-landing-system : lando
2019-06-13 09:02:03 +00:00
Jan de Mooij
cf29e09a41 Bug 1558801 - Change PrivateScriptData consts array to BigInt array. r=tcampbell
Since bug 1535137 the consts array only stores `BigIntValues` so we can change
it to a `BigInt` array. This will also make it easier to fix bug 1535154.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:18:22 +00:00
Andreea Pavel
9d535a8d72 Backed out 4 changesets (bug 1557928) SM build bustages on a CLOSED TREE
Backed out changeset 5e5b8a770b18 (bug 1557928)
Backed out changeset 6096454af6f1 (bug 1557928)
Backed out changeset 618afaab2634 (bug 1557928)
Backed out changeset ef396dbaecf3 (bug 1557928)
2019-06-13 04:07:17 +03:00
Paul Bone
ee87fa7f84 Bug 1557928 - Rename the DoNotCare tracer kind r=jonco
Depends on D34675

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:23:47 +00:00
Paul Bone
f2b96f7abf Bug 1557928 - Replace several functions with a single general function r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34675

--HG--
extra : moz-landing-system : lando
2019-06-12 12:15:22 +00:00
Paul Bone
6acfc9f675 Bug 1557928 - Fix obsolete comments r=jonco
IsMarkingTracer no-longer exists, so remove one comment that refers to it
and fix another comment.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 12:14:49 +00:00
Paul Bone
109fd59d37 Bug 1557928 - Use the UnmarkGray tracekind for AssertNonGrayTracer r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34673

--HG--
extra : moz-landing-system : lando
2019-06-12 16:23:08 +00:00
Ehsan Akhgari
b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Mike Hommey
85e29d1e3b Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester
We've been relying on frame pointers being indirectly enabled via things
like --enable-profiling for some time, but this doesn't scale because
some things may want frame pointers while wanting --disable-profiling.

So we move MOZ_FRAMEPTR_FLAGS to python configure and add a new option
to decide whether to enable frame pointers or not.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 22:30:46 +00:00
Ciure Andrei
bfcbe2b9d3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-13 06:53:03 +03:00
Ciure Andrei
6aeedae8c4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-13 00:46:01 +03:00
Ciure Andrei
cb5d2852cb Merge inbound to mozilla-central. a=merge 2019-06-13 00:42:10 +03:00
Ciure Andrei
f069db250c Merge autoland to mozilla-central. a=merge 2019-06-13 00:40:48 +03:00
Andreea Pavel
8552bec485 Backed out changeset 13c976344b69 (bug 1557254) for causing bug 1558836 and bug 1558852 a=backout
--HG--
extra : histedit_source : 62d780cd7c039cde0eb18472a3edf9c51aa20270
2019-06-12 20:27:00 +03:00
Dorel Luca
75f0f73de5 Merge mozilla-central to mozilla-inbound 2019-06-12 15:17:56 +03:00
Jon Coppeard
fc3f75f7f3 Bug 1395509 - Track malloc memory used by IndirectBindingMaps associated with modules r=pbone
Use memory tracking APIs to track malloc memory associated with module IndirectBindingMap. These are attached to ModuleObjects and ModuleNamespaceObjects.

Differential Revision: https://phabricator.services.mozilla.com/D34551
2019-06-11 16:56:59 +01:00
Bogdan Tara
bf22857a64 Backed out 14 changesets (bug 1552435) for BinASTTokenReaderContext.h related build bustages CLOSED TREE
Backed out changeset d4e3bdd4e494 (bug 1552435)
Backed out changeset 7fad44e18739 (bug 1552435)
Backed out changeset 8acef5541a11 (bug 1552435)
Backed out changeset 3a42d8bda7d0 (bug 1552435)
Backed out changeset 53a13d1d4f6e (bug 1552435)
Backed out changeset b79f0c113d3e (bug 1552435)
Backed out changeset 7f8c607be8f8 (bug 1552435)
Backed out changeset 5d0670db54ef (bug 1552435)
Backed out changeset 368e2dd6ec38 (bug 1552435)
Backed out changeset 0db441d1c2d8 (bug 1552435)
Backed out changeset 4897449d8397 (bug 1552435)
Backed out changeset 4cd2018dbd8b (bug 1552435)
Backed out changeset fd7f9aa70324 (bug 1552435)
Backed out changeset 36ceb8f15cb9 (bug 1552435)
2019-06-12 04:39:49 +03:00
David Teller
641d20716d Bug 1552435 - Propagating upstream changes;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D34483

--HG--
extra : moz-landing-system : lando
2019-06-11 16:12:12 +00:00
David Teller
6c8df2fc11 Bug 1552435 - Connecting the HuffmanPreludeReader;r=arai
Depends on D33951

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:38:42 +00:00
David Teller
79c90d1ce9 Bug 1552435 - Attempting to silence spurious warnings;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D33951

--HG--
extra : moz-landing-system : lando
2019-06-11 16:11:20 +00:00
David Teller
dc632cc43d Bug 1552435 - Reading Huffman tables of string enums;r=arai
Depends on D33937

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:10:49 +00:00
David Teller
b4447cf54b Bug 1552435 - Reading Huffman tables of strings, optional strings;r=arai
Depends on D33634

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:10:26 +00:00
David Teller
bf4c5736b3 Bug 1552435 - Reading Huffman tables of lists;r=arai
Depends on D33633

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:09:54 +00:00
David Teller
59a9d2beb2 Bug 1552435 - More data on lists;r=arai
Depends on D33632

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:09:27 +00:00
David Teller
fa6c071597 Bug 1552435 - Adapting to brotli reading API;r=arai
Depends on D33483

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:08:58 +00:00
David Teller
b2bde88539 Bug 1552435 - Reading Huffman tables of optional sums;r=arai
Depends on D33482

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:08:31 +00:00
David Teller
d9360baea0 Bug 1552435 - Reading Huffman tables of sums;r=arai
Depends on D33021

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:08:03 +00:00
David Teller
90b1f665ad Bug 1552435 - Overhauling indexed symbols;r=arai
Depends on D32807

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:07:39 +00:00
David Teller
063d63dc55 Bug 1552435 - Reading Huffman tables of interfaces, optional interfaces;r=arai
Depends on D32725

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:07:37 +00:00
David Teller
a88c4dd096 Bug 1552435 - Reading Huffman tables of booleans (the missing bits);r=arai
Depends on D31592

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:07:35 +00:00
David Teller
d8a28be649 Bug 1552435 - Reading Huffman tables of booleans (general structure);r=arai
Differential Revision: https://phabricator.services.mozilla.com/D31592

--HG--
extra : moz-landing-system : lando
2019-06-11 16:06:19 +00:00
Andreea Pavel
9eda2afac1 Backed out 7 changesets (bug 1401624) for build bustages at MacroAssembler-inl.h on a CLOSED TREE
Backed out changeset 46030572ffde (bug 1401624)
Backed out changeset bccc5a509ebe (bug 1401624)
Backed out changeset 1a488ead5ac5 (bug 1401624)
Backed out changeset caac1da9ae80 (bug 1401624)
Backed out changeset 8f02092ab0b4 (bug 1401624)
Backed out changeset 90a104231405 (bug 1401624)
Backed out changeset d5d97222de6f (bug 1401624)
2019-06-12 20:47:42 +03:00
Masatoshi Kimura
55094bccfc Bug 1557254 - Enable char range check on Nightly/DevEdition and make warnings more dire. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D34287

--HG--
extra : moz-landing-system : lando
2019-06-11 13:27:16 +00:00
Jon Coppeard
e282bc8b5c Bug 1395509 - Track malloc memory used by shapes r=jandem
Use memory tracking APIs to track malloc memory associated with Shapes.  I had to thread FreeOp and BaseShape through in various places so there's enough context.

Differential Revision: https://phabricator.services.mozilla.com/D34377
2019-06-10 16:11:26 +01:00
Jon Coppeard
938d268746 Bug 1395509 - Track malloc memory associated with WeakMap objects r=pbone
Use memory tracking APIs to track malloc memory associated with weak maps.

Differential Revision: https://phabricator.services.mozilla.com/D34376
2019-06-10 16:11:25 +01:00
Jon Coppeard
94009e206b Bug 1395509 - Track malloc memory associated with ctypes objects r=jandem
Use memory tracking APIs to track malloc memory associated with the different ctypes objects.

I ended up creating new public APIs because ctypes currently mostly uses our public APIs, but I actaully don't know why.  I don't think it can be built standalone.  Maybe this should use the internal APIs instead.

Differential Revision: https://phabricator.services.mozilla.com/D34375
2019-06-10 16:11:25 +01:00