Граф коммитов

65012 Коммитов

Автор SHA1 Сообщение Дата
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
Tooru Fujisawa 4f2c6fa86b Bug 1462341 - Properly report OOM inside BytecodeEmitter::emitSwitch. r=anba 2018-05-22 18:10:28 +09:00
Tooru Fujisawa dfdda3967b Bug 1454285 - Part 2: Disallow using innermostEmitterScope while the value does not match the bytecode environment. r=jwalden 2018-05-22 18:10:28 +09:00
Tooru Fujisawa d09f43f12f Bug 1454285 - Part 1: Specify the current scope when emitting await and .generator. r=jwalden 2018-05-22 18:10:28 +09:00
Kris Maglione 8134b33e89 Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz
MozReview-Commit-ID: 2HIlaSrvfBe

--HG--
extra : rebase_source : 944a6244dbfe1f0a37dd34a041d1329624a86f93
extra : histedit_source : d7859be664fed00f8504e40969480d3af3d674e7%2C4456b502db338bd06823654306e47c2583101396
2018-05-21 17:32:44 -07:00
Tom Ritter c59f8dd7b8 Bug 1456552 Make Optimized MinGW builds use -O# instead of falling through and collecting a -O r=ted
We use -O2 for js (because we can) and we use -O1 for the root because there is an x86 compiler bug
that is not immediately bypassable

MozReview-Commit-ID: CnDk2ko3jfo

--HG--
extra : rebase_source : bf889ab143bbf9480a261b06000d62cf0e1af8cc
2018-05-16 16:32:47 -05:00
Tom Ritter a56f337b8c Bug 1457162 Remove -TC from CFLAGS r=ted
-TC specifies 'treat all inputs at C files' which breaks things when you
specify a @list file of inputs.

During configure, -TP is required for C++ configure checks (although we
could probably make it smart and not need it at all), but -TC does not seem
to be required.

MozReview-Commit-ID: DNA8vUMdIXb

--HG--
extra : rebase_source : 523c6d815adf55c834fd858b10010123f86b25f6
2018-05-19 01:26:33 -05:00
Steve Fink 1f09b3daf8 Bug 1462486 - Optimize copyCharsInternal for left-leaning ropes, r=jonco
--HG--
extra : topic : gray.crash
extra : rebase_source : fcc7b13abd76859ad814815fc10f35f5a4984b8e
2018-05-17 15:12:01 -07:00
Steve Fink 8b2be29d0a Bug 1456512 - Move JS::operator==(GCCellPtr,GCCellPtr) to the global scope to avoid shadowing, r=jonco
--HG--
extra : topic : gray.crash
extra : rebase_source : 0d6f29c45607b980072286cdc77b8b57c9336aa1
2018-05-18 13:43:14 -07:00
Steve Fink bf6189a53f Bug 1456518 - Shut down the gray mark observers on worker threads, r=jonco
--HG--
extra : topic : gray.crash
extra : rebase_source : 90a65d8f6c77357d8fef1bcae929179275bd0b5f
2018-05-17 16:20:54 -07:00
Steve Fink 208ab44321 Bug 1456512 - Do not unmark gray during minor collections, r=jonco
--HG--
extra : topic : gray.crash
extra : rebase_source : 7d78be4461da79769d3278be55fb05d206be82bc
2018-05-17 16:13:06 -07:00
Himanshu Teli 1e3e69bf76 Bug 1460883 - Remove flow sensitive alias analysis option r=tcampbell 2018-05-19 18:44:05 +05:30
Jon Coppeard c6d47cefa5 Bug 1462337 - Gray buffering failure can make zeal GCs non-incremental r=sfink 2018-05-21 10:06:40 +01:00
Jan de Mooij f300932410 Bug 1462280 - Remove an invalid assert. r=tcampbell 2018-05-21 09:14:05 +02:00
Jan de Mooij 77cdcf29a8 Bug 1462353 - Remove new.target slot from generators, clean up generator code a bit. r=arai 2018-05-21 09:13:05 +02:00
Tooru Fujisawa 3c8f09cb23 Bug 1461888 - Remove trueEnd offset from SRC_IF_ELSE and SRC_COND. r=jandem 2018-05-21 10:22:04 +09:00
Jan de Mooij f43c8ecf94 Bug 1461178 - Clear properties list when marking an object group as having unknown properties. r=jonco 2018-05-20 21:04:00 +02:00
André Bargull 633fa33ebd Bug 1462751 - Part 3: Update test262 exclusions. r=sfink
--HG--
extra : histedit_source : cf230bfa17a87e3c1486e9f25d8fa8c294190a09
2018-05-18 12:02:09 -07:00
André Bargull 9950039015 Bug 1462751 - Part 2: Update test262 - May 18 2018 edition. r=sfink
--HG--
rename : js/src/tests/test262/language/literals/regexp/u-invalid-quantifiable-assertion.js => js/src/tests/test262/language/literals/regexp/u-invalid-optional-lookahead.js
extra : histedit_source : e44dbb259df1448ad8c0283669e3eed81c34ff47
2018-05-18 12:01:41 -07:00
André Bargull 2f36264838 Bug 1462751 - Part 1: Update test262 importer to handle new flags. r=sfink
--HG--
extra : histedit_source : 48fdf50675cc60d761ecedb3e80de3f82c5aeb35
2018-05-18 12:00:54 -07:00
bobslept 803e173352 Bug 1461376 - Deduplicate LoadObject using emitLoadStubField. r=mgaudet 2018-05-18 19:57:02 +02:00
Jeff Walden 300564f701 Bug 1461556 - Don't PodZero ObjectGroupCompartment -- just add member initializers inside the class definition. r=jandem
--HG--
extra : rebase_source : 915094b5f3393087952deb579ea92e352544f74f
2018-05-18 11:45:40 -07:00
Jeff Walden 719310e29a Bug 1461556 - Don't PodZero ObjectGroup instances inside the ObjectGroup constructor -- set most fields using member-initializers in the constructor, and add initializers in the class body for the remaining two fields. r=jandem
--HG--
extra : rebase_source : 8549cfea05d0ab0cf0fb7c6eac5f349d2649d167
2018-05-18 11:45:26 -07:00
Jeff Walden 8031f784af Bug 1462544 - Use <algorithm> functions to fill and copy data in Bitmap.* rather than PodOperations.h functions. r=jandem
--HG--
extra : rebase_source : 3e96b8528ffe20339186c9c1363214fa2ddc7539
2018-05-18 11:44:44 -07:00
Jeff Walden 47bf188b58 Bug 1462544 - Various readability and IWYU fixes to ds/Bitmap.h. r=jandem
--HG--
extra : rebase_source : ea026e0f651cac7cfee6b0e2aa3291f548795152
2018-05-18 11:44:28 -07:00
Jeff Walden 561722cb1c Bug 1462540 - Initialize NativeIterator objects (and any associated property name strings and HeapReceiverGuards) all within a single constructor call, without using PodZero. r=jandem
--HG--
extra : rebase_source : 5b1634954f659b7c0b35fde2826b8f91e2d2db43
2018-05-16 23:55:40 -07:00
Jeff Walden 0b60c0f525 Bug 1462540 - Remove NativeIterator::guard_array: its numeric value is identical to NativeIterator::props_end. r=jandem
--HG--
extra : rebase_source : 4170734ae6b3f07adae1f753c60c8749f363de20
2018-05-16 23:24:28 -07:00
Jeff Walden 5c98c1d16e Bug 1462540 - Remove NativeIterator::props_array (it's trivial to recalculate it when it's needed), and add a bunch of alignment assertions verifying the delicate memory layout of NativeIterator followed by the (only dynamically known number of) properties it iterates followed by the (only dynamically known number of) ReceiverGuards it uses. r=jandem
--HG--
extra : rebase_source : de4e3ebde61634d75567b8d9edf91081e3828a35
2018-05-16 23:24:13 -07:00
Jeff Walden 1d684d9831 Bug 1461556 - Add a JSScript constructor to initialize JSScript inside JSScript::Create without using PodZero. r=jandem
--HG--
extra : rebase_source : 2710b604377040c1d6fd7df211556cfbceae75ac
2018-05-16 17:00:57 -07:00
Jeff Walden 041e57eb10 Bug 1461556 - Replace a PodZero of js::gcstats::Statistics::phaseTimes with a loop overwriting every element value with a default-initialized (i.e. zeroed) value. r=jandem
--HG--
extra : rebase_source : 5e28be4fbfc21b47e48f876b5b32a283052ef562
2018-05-16 21:00:59 -07:00
Jeff Walden 2b6f63de78 Bug 1461556 - Replace a PodZero of js::gcstats::Statistics::totalTimes_ with a loop asserting every element was default-initialized to zero. r=jandem
--HG--
extra : rebase_source : e05859608c689e3d9dac671292ad7ed2522fad66
2018-05-16 20:56:18 -07:00
Jeff Walden 890404de4b Bug 1461556 - Add member initializers to the function pointers in JS::AsmJSCacheOps so that JSRuntime::asmJSCacheOps, a js::UnprotectedData<JS::AsmJSCacheOps>, will have its members nulled out automatically when the JSRuntime field is initialized. r=jandem
--HG--
extra : rebase_source : affbfe4407abb456231e74633a6c0a10044a280f
2018-05-16 20:11:59 -07:00
Jeff Walden 37589d31cd Bug 1461556 - Rename TypeSet::clone to TypeSet::cloneIntoUninitialized to indicate that it freshly initializes the TemporaryTypeSet* provided to it. Also removes existing code that, quite unnecessarily, partly initialized that argument. r=jandem
--HG--
extra : rebase_source : 2dcc8becf0ecdf8ea41bae4ad55439ddcfc7be21
2018-05-16 19:29:57 -07:00
Jeff Walden b1287bc521 |this|-qualify a member-function call inside a MOZ_ASSERT that gcc will ICE on, depending on what code is #include'd, without the qualification. No bug, r=me as does-the-job-and-it's-not-fugly
--HG--
extra : rebase_source : e845db0d62d559073e574262f868aab7d5984455
2018-05-16 19:00:59 -07:00