Commit Graph

71055 Commits

Author SHA1 Message Date
Tom Ritter
03b41fa512 Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.

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

--HG--
rename : browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
extra : moz-landing-system : lando
2019-05-28 14:19:11 +00:00
Valentin Gosu
d0eb46c5d5 Bug 1536744 - Fix test_import.js by calling nsIIOService.newURI instead of nsIResProtocolHandler.newURI r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30710

--HG--
extra : moz-landing-system : lando
2019-05-28 13:51:18 +00:00
Tooru Fujisawa
3fbbb8f7f2 Bug 1551473 - Provide utility methods to read brotli stream in BinASTTokenReaderContext. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D31212

--HG--
extra : moz-landing-system : lando
2019-05-21 16:33:05 +00:00
Tooru Fujisawa
5e98e8f08d Bug 1549954 - Link in-tree brotli library if BinAST is enabled. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D30476

--HG--
extra : moz-landing-system : lando
2019-05-21 20:35:25 +00:00
Bogdan Tara
5114c83873 Backed out changeset fdf579877df4 (bug 1554056) for causing build bustages CLOSED TREE 2019-05-28 04:04:01 +03:00
Mike Hommey
e9e6152ed8 Bug 1554056 - Don't allow --enable-shared-js outside of standalone spidermonkey builds. r=dmajor
The option has presumably not worked for at least a year, and was seldom
used.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 00:43:35 +00:00
Bogdan Tara
5cf3542fa0 Backed out changeset aa0c152930e2 (bug 1554056) for StructuredClone.h related build bustages CLOSED TREE 2019-05-28 03:38:08 +03:00
Mike Hommey
0c0c3b8e3e Bug 1554056 - Don't allow --enable-shared-js outside of standalone spidermonkey builds. r=dmajor
The option has presumably not worked for at least a year, and was seldom
used.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 00:15:07 +00:00
Mike Hommey
95cce3be01 Bug 1554086 - Apply old-configure.in parts of bug 1259382 to js/src/old-configure.in. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D32432

--HG--
extra : moz-landing-system : lando
2019-05-24 11:39:57 +00:00
Gurzau Raul
d568f187db Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-28 00:57:10 +03:00
Yoshi Cheng-Hao Huang
196d61246b Bug 1376646 - Part 2: remove redudant IsInsideNursery() check. r=sfink
TenuringTracer::traverse(JSObject**) and
TenuringTracer::traverse(JSString**) will check IsInsideNursery(),
and also these two functions will be called by other callers,
so removing the check in CellPtrEdge::traceTyped

Differential Revision: https://phabricator.services.mozilla.com/D32167
2019-05-27 10:03:46 +02:00
Yoshi Cheng-Hao Huang
505eee2e5b Bug 1376646 - Part 1: Separate buffer for storing JSString and JSObject cells. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D32097
2019-05-27 10:03:37 +02:00
Jean-Yves Avenard
022c57caf3 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Gurzau Raul
967bc2a754 Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422)
Backed out changeset a16295296035 (bug 1550422)
Backed out changeset 3b70307c0db5 (bug 1550422)
Backed out changeset 69df7818d4a3 (bug 1550422)
Backed out changeset d98dfc565927 (bug 1550422)
Backed out changeset 6f0997976944 (bug 1550422)
Backed out changeset 0edd264464c2 (bug 1550422)
Backed out changeset 9ea6da7a74ec (bug 1550422)
Backed out changeset f855f9309c8b (bug 1550422)
Backed out changeset 1033546224a7 (bug 1550422)
Backed out changeset ade7384c6186 (bug 1550422)
Backed out changeset 75b04de7e99c (bug 1550422)
Backed out changeset 91c3acdb2454 (bug 1550422)
Backed out changeset 77d2f80257d1 (bug 1550422)
Backed out changeset e0cd10d35327 (bug 1550422)
Backed out changeset 097091082423 (bug 1550422)
Backed out changeset 2f328853c1ab (bug 1550422)
Backed out changeset f92f2cc29cb1 (bug 1550422)
Backed out changeset 6dc82f88333d (bug 1550422)
Backed out changeset c20f66494d69 (bug 1550422)
Backed out changeset 2ba22cddeb6f (bug 1550422)
Backed out changeset 3aa72f89e295 (bug 1550422)
Backed out changeset ab4c4e806977 (bug 1550422)
Backed out changeset 72e5de040dda (bug 1550422)
Backed out changeset 7d3c2d486706 (bug 1550422)
Backed out changeset 132e0b8d8468 (bug 1550422)
Backed out changeset 54c85ac75dd0 (bug 1550422)
Backed out changeset d7ba4a18dd54 (bug 1550422)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard
074aea57fe Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-24 11:37:50 +00:00
Brindusan Cristian
5a5f5a78fb Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-25 00:54:26 +03:00
Brindusan Cristian
fd5a4a259a Merge inbound to mozilla-central. a=merge 2019-05-25 00:49:05 +03:00
Steve Fink
995829d42a No bug. Reformat js/** to fix accumulated divergences.
# ignore-this-changeset

--HG--
extra : amend_source : 7b51d539061710bf4939e687b4ca4b74af757cf3
2019-05-24 11:57:18 -07:00
David Teller
830a3e61ea Bug 1553482 - Use BinASTInterfaceAndField in Context;r=arai
Depends on D32295

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:57 +00:00
David Teller
336f642617 Bug 1553482 - Exposing some of the grammar as macros;r=arai
To extract Huffman tables (see bug 1552435), we need the ability to walk through the grammar.
This patch starts implementing grammar walking, as macros - at this stage, sufficiently to walk
through interfaces and start dealing with their fields.

Depends on D32291

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:29 +00:00
David Teller
d5dc0ee759 Bug 1553482 - Generating BinASTInterfaceAndField;r=arai
Depends on D32289

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:04 +00:00
David Teller
810bb6fa18 Bug 1553482 - Generating BINAST_TOTAL_NUMBER_OF_FIELDS, BINAST_NUMBER_OF_LIST_TYPES;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D32289

--HG--
extra : moz-landing-system : lando
2019-05-24 18:47:34 +00:00
Noemi Erli
dde2e3cd9f Backed out 4 changesets (bug 1553482) for build bustages in BinASTTokenReaderBase.h CLOSED TREE
Backed out changeset 49278023aa7d (bug 1553482)
Backed out changeset 57a5c8689ed3 (bug 1553482)
Backed out changeset c50879a48ff8 (bug 1553482)
Backed out changeset 5570e3e6c5e5 (bug 1553482)
2019-05-24 16:49:30 +03:00
David Teller
4eddbb64f5 Bug 1553482 - Use BinASTInterfaceAndField in Context;r=arai
Depends on D32295

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:11:02 +00:00
David Teller
b39f990648 Bug 1553482 - Exposing some of the grammar as macros;r=arai
To extract Huffman tables (see bug 1552435), we need the ability to walk through the grammar.
This patch starts implementing grammar walking, as macros - at this stage, sufficiently to walk
through interfaces and start dealing with their fields.

Depends on D32291

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:10:29 +00:00
David Teller
a0811ecf81 Bug 1553482 - Generating BinASTInterfaceAndField;r=arai
Depends on D32289

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:10:06 +00:00
David Teller
4ea2b0c00a Bug 1553482 - Generating BINAST_TOTAL_NUMBER_OF_FIELDS, BINAST_NUMBER_OF_LIST_TYPES;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D32289

--HG--
extra : moz-landing-system : lando
2019-05-24 12:09:38 +00:00
Julian Seward
95920f18b6 Bug 1554053 - Wasm via Cranelift: size of interrupt check comparison is incorrect. r=bbouvier
This patch changes Wasm-via-CL to always use a 32-bit comparison for interrupt checks.

Wasm-via-Cranelift generates code to do interrupt checks by doing a
machine-word sized comparison. However, the compared-against value,
TlsData::interrupt, is an Atomic<uint32_t, mozilla::Relaxed>, and so the
comparison is incorrect on all 64 bit targets: it also compares the 4 bytes
following TlsData::interrupt, which look to me as if they are an alignment
hole (iow, junk).

This is obviously incorrect, and it's observably inconsistent with what the
-via-Ion and -baseline routes do, which is to always generate a 32-bit
comparison.

It also holds a potential danger of a store-forwarding stall (big read after
small write), although, based on the struct layout and detailed reading of the
Intel opt guide, I think it's probably harmless for the Intel Core
architecture family.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:46:24 +00:00
Jan de Mooij
182c086abf Bug 1551796 part 11 - Move more JitScript code into JitScript.cpp. r=tcampbell
JitScript::initICEntriesAndBytecodeTypeMap is still in BaselineIC.cpp because
it depends on things defined there (like FallbackStubAllocator) and I think it's
not unreasonable to keep it there.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:03:13 +00:00
Jan de Mooij
32ffc2b901 Bug 1551796 part 10 - Move JitScript to js::jit namespace. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D32299

--HG--
extra : moz-landing-system : lando
2019-05-24 12:02:51 +00:00
Jan de Mooij
a6837b96fa Bug 1551796 part 9 - Merge FillBytecodeTypeMap into JitScript::initICEntries. r=tcampbell
We now do a single pass over the bytecode instead of two.

Register pressure of the combined code might be a bit worse but it also
eliminates some duplication so I think it's worth it.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:02:38 +00:00
arthur.iakab
af8e458c5f Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
Noemi Erli
2f444f16fe Backed out 4 changesets (bug 1553482) for causing build bustages in BinASTTokenReaderBase.h CLOSED TREE
Backed out changeset dea9d20a1162 (bug 1553482)
Backed out changeset f6e6533c5db2 (bug 1553482)
Backed out changeset 82f5e463bcb5 (bug 1553482)
Backed out changeset 9db8b5eba797 (bug 1553482)
2019-05-24 13:05:09 +03:00
Sylvestre Ledru
c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
David Teller
2ace306416 Bug 1553482 - Use BinASTInterfaceAndField in Context;r=arai
Depends on D32295

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:12:22 +00:00
David Teller
1d88f87df3 Bug 1553482 - Exposing some of the grammar as macros;r=arai
To extract Huffman tables (see bug 1552435), we need the ability to walk through the grammar.
This patch starts implementing grammar walking, as macros - at this stage, sufficiently to walk
through interfaces and start dealing with their fields.

Depends on D32291

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:09:06 +00:00
David Teller
78bb4af250 Bug 1553482 - Generating BinASTInterfaceAndField;r=arai
Depends on D32289

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:08:58 +00:00
David Teller
14632329cc Bug 1553482 - Generating BINAST_TOTAL_NUMBER_OF_FIELDS, BINAST_NUMBER_OF_LIST_TYPES;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D32289

--HG--
extra : moz-landing-system : lando
2019-05-24 09:08:54 +00:00
Jan de Mooij
8a0554624b Bug 1551796 part 8 - Rename ShouldReleaseTypes to ShouldDiscardJitScripts. r=tcampbell
"Discard" instead of "Release" for consistency with ShouldDiscardBaselineCode.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:34:04 +00:00
Jan de Mooij
2f3fb6a047 Bug 1551796 part 7 - Improve the JitScript comment a bit. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D32293

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:47 +00:00
Jan de Mooij
dcec7d8e19 Bug 1551796 part 6 - Use DefaultInitializeElements to initialize JitScript's StackTypeSet array. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D32292

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:27 +00:00
Jan de Mooij
44a53da96b Bug 1551796 part 5 - Make JitScript::destroy static. r=tcampbell
The destroy() call in JSScript::finalize was moved into DestroyJitScripts for
consistency with BaselineScript and IonScript.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:12 +00:00
Paul Bone
81489feef4 Bug 1553710 - Sort the available chunks pool r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D32276

--HG--
extra : moz-landing-system : lando
2019-05-24 01:40:35 +00:00
Ashley Hauck
236992ad66 Bug 1552875 - Set anonymous function name in field initializer. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D32070

--HG--
extra : moz-landing-system : lando
2019-05-23 21:54:34 +00:00
Sean Stangl
4c8b6930df Bug 1551339 - Update VIXL to recent Utils and Globals files. r=nbp
This is preliminary work to allowing encoding of JSCVTFP, the instruction that exists on new AArch64 devices that greatly speeds up websites that use floating-point math.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 20:26:52 +00:00
Kannan Vijayan
7a94de539b Bug 1368266 - Set overridePc to firstPc instead of lastPc when unwinding frames. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D32186

--HG--
extra : moz-landing-system : lando
2019-05-23 11:18:50 +00:00
Denis Palmeiro
58fb29188c Bug 1552528 - Enable & disable the structured spewer when the gecko profiler starts and stops r=mgaudet
The structured spewer does not exit gracefully when the browser is closed.  This leads to incomplete JSON since we never end up emitting the closing ']' on destruction.  Another approach that lets us do this gracefully is to have the structured spewer start and stop alongside the gecko profiler.  This also lets us focus spewing on the specific area of interest such as a page load, or some janky behaviour on a website.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:41:29 +00:00
Daniel Varga
af42676c4a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-05-23 18:59:21 +03:00
Daniel Varga
4cbc287f63 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-23 18:54:21 +03:00
Jan de Mooij
eaf82d1a04 Bug 1552470 part 6 - Remove TypeScript::MonitorBytecodeType overload that doesn't take script/pc. r=tcampbell
This method was a bit of a footgun because cx->currentScript is quite slow.
It seems better to make this very explicit in the callers.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 07:11:38 +00:00