65045 Commits

Author SHA1 Message Date
Nathan Froyd
726e50b352 Bug 1463847 - make some ARM64 assembler constructors explicit; r=jandem
This change fixes some static analysis errors on Android.
2018-05-24 10:59:20 -04:00
Nathan Froyd
387a0a4cf7 Bug 1463847 - use SprintfLiteral in the ARM assembler; r=jandem
This change fixes some Android static analysis warnings.
2018-05-24 10:59:20 -04:00
Jan de Mooij
814de94fef Bug 1461938 part 34 - Move IteratorCache from JSCompartment to ObjectRealm. r=jonco 2018-05-24 12:02:54 +02:00
Jan de Mooij
98ab8b6b91 Bug 1461938 part 33 - Introduce ObjectRealm and use it for some fields. r=jonco 2018-05-24 12:02:53 +02:00
Jan de Mooij
6c800ba481 Bug 1461938 part 32 - Rename JitCompartment to JitRealm and move to JS::Realm. r=luke
--HG--
rename : js/src/jit/JitCompartment.h => js/src/jit/JitRealm.h
2018-05-24 12:02:53 +02:00
Jan de Mooij
94b5cf539f Bug 1461938 part 31 - Move detachedTypedObjects flag to JS::Zone. r=jwalden 2018-05-24 12:02:53 +02:00
Jon Coppeard
02d634159d Bug 1463723 - Remove ubi::Census' pointer to the atoms zone r=fitzgen 2018-05-24 09:40:46 +01:00
Jon Coppeard
19daeee9b3 Bug 1463717 - Move all finsished builders to lazy link list to avoid possible quadratic behaviour r=jandem 2018-05-24 09:40:30 +01:00
bobslept
7048fa39ef Bug 1420894 - Optimize a check in float-to-int conversion. r=lth 2018-05-16 16:35:42 +02:00
Jeff Walden
81add2f298 Bug 1462939. r=jandem
--HG--
extra : rebase_source : b7686c55d4604bafc38c6164e0a762d7f1a9d6ac
2018-05-23 10:14:05 -07:00
Matthew Gaudet
3769c55534 Bug 1438556: [Part 3] Assert same compartment in a number of CacheIR helpers r=tcampbell 2018-05-23 14:27:43 -04:00
Matthew Gaudet
42f718290d Bug 1438556: [Part 2] Verify global wrapper not nuked r=tcampbell 2018-05-23 14:27:12 -04:00
Matthew Gaudet
2f7b5c763f Bug 1438556: [Part 1] Use shape guards on the prototype chain for cross-compartment ICs r=tcampbell
This patch unshares some of the property access code between regular and
cross-compartment cases, allowing us to use a series of shape-guards on the
protochain instead of the previous shape-teleporting checks, that would
end up baking in a cross-compartment pointer.

This also attempts to clarify the compartment membership situation while
doing the cross-compartment IC.
2018-05-23 14:26:44 -04:00
Jan de Mooij
d3a2977a32 Bug 1461938 part 30 - Move globalWriteBarriered to JS::Realm. r=jonco 2018-05-23 19:45:43 +02:00
Jan de Mooij
0b680b70ff Bug 1461938 part 29 - Move validAccessPtr to JS::Realm. r=evilpie 2018-05-23 19:45:03 +02:00
Jan de Mooij
f6e2bba281 Bug 1461938 part 28 - Rename LCovCompartment to LCovRealm and move to JS::Realm. r=luke 2018-05-23 19:44:33 +02:00
Jan de Mooij
62970f8ac6 Bug 1461938 part 27 - Use UniquePtr for various compartment pointers. r=jonco 2018-05-23 19:43:36 +02:00
Jan de Mooij
e98e8c8cef Bug 1461938 part 26 - Move performanceMonitoring from JSCompartment to JS::Realm. r=luke 2018-05-23 15:27:36 +02:00
Jan de Mooij
e9f0432b1a Bug 1461938 part 25 - Move randomKeyGenerator_ from JSCompartment to JS::Realm. r=evilpie 2018-05-23 15:27:04 +02:00
Jan de Mooij
1c6e8b72c0 Bug 1461938 part 24 - Move randomNumberGenerator from JSCompartment to JS::Realm. r=evilpie 2018-05-23 15:26:33 +02:00
Jan de Mooij
4975a53b6d Bug 1461938 part 23 - Move debugModeBits from JSCompartment to JS::Realm. r=luke 2018-05-23 15:26:00 +02:00
Jan de Mooij
eea98b6d64 Bug 1461938 part 22 - Move template objects from JSCompartment to JS::Realm. r=anba 2018-05-23 15:25:20 +02:00
Julian Seward
b47ba3757e Bug 1457059 - WebAssembly.Global takes init value as separate argument, not as part of the descriptor. r=lth.
This also has effect of changing the default value from NaN to 0 (as required).
2018-05-23 13:46:23 +02:00
Jan de Mooij
b0a1778c10 Bug 1461938 part 21 - Move isSelfHosting and selfHostingScriptSource from JSCompartment to JS::Realm. r=evilpie 2018-05-23 11:05:15 +02:00
Jan de Mooij
e8626c8f07 Bug 1461938 part 20 - Move principals and isSystem from JSCompartment to JS::Realm. r=luke 2018-05-23 11:04:27 +02:00
Jan de Mooij
126fa176e1 Bug 1461938 part 19 - Use UniquePtr for script maps. r=luke 2018-05-23 11:03:53 +02:00
Jan de Mooij
f11a89d4bf Bug 1461938 part 18 - Move objectMetadataState_ from JSCompartment to JS::Realm. r=luke 2018-05-23 11:03:25 +02:00
Jan de Mooij
8cf14a4dc0 Bug 1461938 part 17 - Move ArraySpeciesLookup from JSCompartment to JS::Realm. r=anba 2018-05-23 11:02:38 +02:00
Jan de Mooij
f8a5dcdebc Bug 1461938 part 16 - Move marked flag from JSCompartment to JS::Realm. r=jonco 2018-05-23 11:01:57 +02:00
Jon Coppeard
5e77cd6fcb Bug 1427610 - Support import.meta in the JITs r=jandem 2018-05-23 08:47:28 +01:00
Jon Coppeard
8bdb5cccf0 Bug 1427610 - Implement import.meta in the JS shell r=anba 2018-05-23 08:47:28 +01:00
Jon Coppeard
a2f88658e9 Bug 1427610 - Implement import.meta in the JS frontent r=jorendorff 2018-05-23 08:47:28 +01:00
Steve Fink
4bb8f4f750 Bug 1456512 - Test for rogue read barrier. r=test
--HG--
extra : rebase_source : cfdf4259238220d2ca9c12200444365d7be61c2a
extra : source : fde80b4fb96d5252857b637379248182e965c02f
2018-05-22 17:38:34 -07:00
Kris Maglione
ed0d691f13 Bug 1461012: Add CC optimizations for PrecompiledScript objects. r=mccr8
Tracing the script members held alive by PrecompiledScript objects can be
expensive, especially for large scripts. It would be nice if we could avoid
tracing them when possible.

Most of the time, when PrecompiledScripts are alive, they're held alive by
black roots, and have black JS wrappers. In those cases, there's no chance of
them creating garbage cycles, and we can just mark their script children
black.

MozReview-Commit-ID: KnkJfznJZBx

--HG--
extra : rebase_source : da0da30265c3f752c9aba177bf510937a743e49e
2018-05-11 15:57:31 -07:00
menantea
9f78fa285f Bug 1462566: Add signal handling registers for powerpc; r=bbouvier
--HG--
extra : rebase_source : 9391d18771a43d7237c872357cf2b95b7b3710e0
extra : histedit_source : 89e8c06a54c198f49e42863eb7b5b1816a05a9eb
2018-05-22 16:15:45 +02:00
Benjamin Bouvier
46d3c43952 Bug 1463378: Guard against sentinel values when creating AstRef; r=luke
--HG--
extra : rebase_source : 0320838569a167f56d914b830c66d2c1ee8e33d0
extra : histedit_source : ae4bb293d83b2e2e69889a02d23160fec3352f4f
2018-05-22 14:52:20 +02:00
Benjamin Bouvier
065969e147 Bug 1462333: Block testing function selectforgc when wasm gc is enabled; r=jonco
--HG--
extra : rebase_source : b2234eaca18e9609c8ea0703e095166980b25463
2018-05-21 17:19:57 +02:00
Benjamin Bouvier
363bec3f25 Bug 1462333: Disable VerifyPrebarriers when wasm gc is enabled; r=jonco
--HG--
extra : rebase_source : a52a7537569968873a8123e54484eda303d6f7df
2018-05-21 16:20:13 +02:00
Benjamin Bouvier
fd29fc55ad Bug 1462335: Prevents calling into Debugger.memory.takeCensus when wasm gc is enabled; r=jonco
--HG--
extra : rebase_source : af483f4184bec3e5469f10d7de55c254a85b7d62
2018-05-21 16:10:12 +02:00
Tom Schuster
937d9326cd Bug 1453916 - Allow canvas extraction from webextension content-script even with resistFingerprinting turned on. r=kmag,bz
--HG--
extra : rebase_source : d67c589e8819407bb5acc4378d029288dd9295be
2018-05-14 20:49:32 +02:00
Jan de Mooij
70cdb7fef8 Bug 1461938 part 15 - Move lastAnimationTime from JSCompartment to JS::Realm. r=jonco 2018-05-22 15:03:55 +02:00
Jan de Mooij
9e41173598 Bug 1461938 part 14 - Move warnedAboutStringGenericsMethods and firedOnNewGlobalObject from JSCompartment to JS::Realm. r=anba 2018-05-22 15:03:24 +02:00
Jan de Mooij
1da2a378bb Bug 1461938 part 13 - Move dtoaCache and newProxyCache from JSCompartment to JS::Realm. r=anba 2018-05-22 15:02:37 +02:00
Jan de Mooij
b4bf5c547f Bug 1461938 part 12 - Move script maps from JSCompartment to JS::Realm. r=luke 2018-05-22 15:02:01 +02:00
Jan de Mooij
59c2b6722c Bug 1461938 part 11 - Move RealmStats from JSCompartment to JS::Realm. r=luke 2018-05-22 15:01:24 +02:00
Jan de Mooij
dfa989c141 Bug 1461938 part 10 - Move {maps,sets}WithNurseryMemory from JSCompartment to Nursery. r=jonco 2018-05-22 15:00:53 +02:00
Jan de Mooij
578ee6fdf0 Bug 1461938 part 9 - Turn wasm::Compartment into wasm::Realm. r=luke
--HG--
rename : js/src/wasm/WasmCompartment.cpp => js/src/wasm/WasmRealm.cpp
rename : js/src/wasm/WasmCompartment.h => js/src/wasm/WasmRealm.h
2018-05-22 15:00:18 +02:00
Jan de Mooij
9932d946dd Bug 1461938 part 8 - Move some more fields from JSCompartment to JS::Realm. r=luke 2018-05-22 14:59:48 +02:00
Narcis Beleuzu
3fae2ab3f2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-22 14:24:39 +03:00
Narcis Beleuzu
7bfb685bb2 Merge inbound to mozilla-central. a=merge 2018-05-22 12:49:47 +03:00