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

64410 Коммитов

Автор SHA1 Сообщение Дата
Tom Schuster 53e5c09b5d Bug 1453006 - Convert FunctionSyntaxKind to an enum class. r=jandem
--HG--
extra : rebase_source : f467d26137e21c9b586abea4d2c6bc26ef1f8368
2018-04-06 20:56:30 +02:00
Jon Coppeard a590d52193 Bug 1452898 - Make count of helper thread zones atomic as this can be read without locking by helper threads r=jandem 2018-04-11 10:56:38 +01:00
Jon Coppeard d42c88460a Bug 1452924 - Remove duplicate condition variable notification after running parallel GC task r=jandem 2018-04-11 10:55:18 +01:00
Bob Clary cc77040a96 Bug 1440714 - make sure to use root=True with chmod /sdcard/tests/, r=gbrown. 2018-04-10 23:12:28 -07:00
Jeff Walden fab5754933 Bug 1452818 - Make tokenstream positions be created by constructor-call so that their members don't have to be default-constructible. r=arai
--HG--
extra : rebase_source : 9e75b0e05536e07cb18d2b1d0d6dfc44f40e83ec
2018-04-09 16:10:25 -07:00
Jeff Walden d9a177cdb7 Bug 1452818 - Move BytecodeCompiler::startPosition into more locally-scoped stack-frame variables. r=arai
--HG--
extra : rebase_source : 2dd98d0d6940e9890d150e97fa8b13188aca5460
2018-04-09 12:58:02 -07:00
Jeff Walden be8ccd5a6b Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj
--HG--
extra : rebase_source : fd1e3284d293edad0bd96cc378eeeeb1bc2c8829
2018-04-09 12:02:43 -07:00
Jeff Walden a675e51266 Remove unused JS::Value::get{Int32,Double}Ref member functions. No bug, r=me as trivial
--HG--
extra : rebase_source : 3c32ceef0657739f07994929d3cdd3c32df7cf55
2018-04-05 20:45:57 -07:00
Nicholas Nethercote fe6068a327 Bug 1451658 - Remove JS_STATIC_CLASS in favour of MOZ_STATIC_CLASS. r=mystor
MozReview-Commit-ID: B2fynvjOSG7

--HG--
extra : rebase_source : 8f2ca40231561e5c7a140bad4f7fe79c89aeef04
2018-04-10 17:31:55 +10:00
Nika Layzell 0c3ba13e4c Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
Matthew Gaudet a7ca95c9c6 Bug 1451976 - Temporary fix for --enable-more-deterministic when doing DoubleNot IC. r=tcampbell 2018-04-09 18:23:49 -04:00
Jan de Mooij 840915945f Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke,bbouvier 2018-04-10 15:00:49 +02:00
Csoregi Natalia af2c31f32b Backed out changeset de33fb39fa48 (bug 1451976) for spidermonkey failures on cacheir/bug1451984.js:7. CLOSED TREE 2018-04-10 15:17:18 +03:00
Matthew Gaudet a7339ba012 Bug 1451976: Temporary fix for --enable-more-deterministic when doing DoubleNot IC r=tcampbell
--HG--
extra : rebase_source : 8707974f966b748c214e9d0534e25c623839ca07
2018-04-09 18:23:49 -04:00
Lars T Hansen 73071c84a9 Bug 1452592 - Check mutability when importing globals. r=bbouvier
The mutability of the imported value must match the mutability of the
import declaration.

If an imported value is provided as a number constant and not a
WebAssembly.Global, then it is implicitly immutable.

Drive-by fix: We test for non-number imports before testing for i64.

--HG--
extra : rebase_source : 0a8bfedf8208aca4219370ecdeb56c930d03d1c6
2018-04-09 17:09:28 +02:00
Jan de Mooij 701489643b Bug 1452581 - Fix assert in IonScript::invalidate to account for already-invalidated scripts. r=nbp 2018-04-10 10:00:35 +02:00
Andreea Pavel 26f640b36b Backed out 4 changesets (bug 1366808) for Windows GPU leakchecks on a CLOSED TREE
Backed out changeset 23f60e5acaa2 (bug 1366808)
Backed out changeset bf2262b6aca8 (bug 1366808)
Backed out changeset 1fc82af3a155 (bug 1366808)
Backed out changeset 0649f0d9884b (bug 1366808)
2018-04-10 05:11:36 +03:00
Stephen A Pohl b40a23754c Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz 2018-04-09 20:16:31 -04:00
Boris Zbarsky 5171e626a4 Bug 1452235 part 3. Stop using nsIDOMSerializer from JS. r=qdot
MozReview-Commit-ID: JbWGcfbmM4b
2018-04-09 16:30:32 -04:00
Jan de Mooij ff02599c50 Bug 1450796 - Remove overzealous assert in spectreBoundsCheck32. r=luke 2018-04-09 20:20:56 +02:00
Jan de Mooij 2fa8f7862f Bug 1452406 - Support calling RecompileInfo::shouldSweep under CodeGenerator::link instead of asserting. r=tcampbell 2018-04-09 19:36:41 +02:00
Jan de Mooij 78177eb809 Bug 1452491 - Split uint64_t in IonCompilationId in two 32-bit integers to avoid 8-byte alignment. r=tcampbell 2018-04-09 19:35:12 +02:00
Nicolas B. Pierron 991daaa633 Bug 1437510 - ARM: Zero the payload if the Value tag does not match the expected tag. r=jandem
--HG--
extra : source : 18c36451a8750a46a51b531bc184f0ac290966c8
2018-04-05 15:15:13 +00:00
Margareta Eliza Balazs 9a0ca253c7 Backed out changeset 18c36451a875 (bug 1437510) for wpt failures in /fetch/api/request/request-idl.html on a CLOSED TREE 2018-04-09 19:52:20 +03:00
Nicolas B. Pierron 35a6c3e5b3 Bug 1437510 - ARM: Zero the payload if the Value tag does not match the expected tag. r=jandem 2018-04-09 16:04:12 +00:00
Jim Blandy 97f7fd3ca4 Bug 1445973: Part 4: Clear the hasCachedSavedFrame bit on a frame when we miss for a pc mismatch. r=jorendorff
We'd really like the LiveSavedFrameCache to be able to assert that, if a frame
has its hasCachedSavedFrame bit set, there is indeed a cache entry for it (if
the cache hasn't been cleared completely for a compartment mismatch). See the
explanation of LiveSavedFrameCache in Stack.h, and the comments in
LiveSavedFrameCache::find.

Sometimes we do find a cache entry for the frame, but execution in that frame
has progressed to a different source position since we cached it, so the
SavedFrame in that cache entry isn't useful. When this occurs, we used to simply
pop the cache entry, and report a miss: although this did create a situation
where a frame with its bit set had no cache entry, that was only temporary: we
would push a new entry for the frame as we build the new SavedFrame chain.

Unless, of course, SavedFrame construction encounters an OOM and the whole
process aborts early.

This patch clears a frame's hasCachedSavedFrame bit when we report a cache miss
due to a pc mismatch. Under normal circumstances, the frame will soon be cached
again and its bit re-set. If an OOM does occur, the absence of the cache entry
is accurately reported.

--HG--
extra : rebase_source : 5e980e5732b7fd5ff1dd6a68c1a49a1c538010c6
extra : source : 2ed6d9d910b0f3dd24e163f17e3a70d327286582
2018-03-29 19:51:18 -07:00
Jim Blandy 9c7842a01d Bug 1445973: Part 3: Add FramePtr::clearHasCachedSavedFrame method. r=jorendorff
This entails implementing corresponding methods on each variant of
FramePtr::Ptr.

--HG--
extra : rebase_source : 3b810cd4d3aa78d014f830acbf2d6e6794694415
extra : source : 014fdec944a9e82fd74e7ff4644cb4f9e96076c2
2018-03-29 19:35:22 -07:00
Jim Blandy 8490101998 Bug 1445973: Part 2: Add 'clearSavedFrames' testing function to JS shell. r=jorendorff
OOM tests often depend on invoking a function repeatedly, failing a different
allocation each time. Flushing the caches helps ensure consistent behavior from
one invocation to the next.

--HG--
extra : rebase_source : 0bf4a46c7c3e0bceb0fe77bbf96e422558a988c4
extra : source : 1a11067ab1e6b62602b79081e3208dcad31807bd
2018-04-06 11:33:57 -07:00
Jim Blandy 663b9d62d5 Bug 1445973: Part 1: Comment typo. r=jorendorff
--HG--
extra : rebase_source : 51e1b20582f4db2a0ebc1c5ef29ffdd1efdc74a1
extra : source : e427340ec24928486f9c6b256dacf7692c9a0132
2018-04-06 11:33:23 -07:00
Bogdan Tara 8ea0d72cfe Merge inbound to mozilla-central. a=merge 2018-04-09 00:43:58 +03:00
David Teller b7121e1a4d Bug 1452441 - Fix infinite recursion in testBinASTReader for Windows;r=Yoric
MozReview-Commit-ID: Fwv0VgPpv4v

--HG--
extra : rebase_source : e2dae7776ade6274cfc37b8fb9be99f2331110b9
2018-04-08 09:46:07 +02:00
Phil Ringnalda 6b613daaf8 Bug 1437004 followup, disable BinAST tests on Windows where they create an infinite path, a=bustage 2018-04-07 19:40:08 -07:00
Jan de Mooij 0529d2af62 Bug 1448887 - Remove async Ion loop interrupts. r=luke 2018-04-08 17:01:40 +02:00
Jan de Mooij 1743d92593 Bug 1451443 - Remove CompilerOutput and simplify Ion code invalidation. r=tcampbell 2018-04-06 10:55:49 +02:00
Brindusan Cristian 9adcf6af5a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-07 13:00:30 +03:00
Boris Zbarsky 9b3d37b936 Bug 1452010 part 1. Remove uses of nsIDOMDOMException. r=qdot
MozReview-Commit-ID: K5zUjh25WJG
2018-04-06 23:27:56 -04:00
Adrian Wielgosik 2837c659de Bug 1170771 - Remove now-empty nsDOMClassInfo. r=bz
MozReview-Commit-ID: 7XsiPD1kTt9

--HG--
extra : rebase_source : 2935c0fe1a51083f37e113c3e0599760f40829e2
2018-04-05 14:20:44 +02:00
Adrian Wielgosik 2bd02cd742 Bug 1170771 - Remove ThisTranslator and support code. r=bz
MozReview-Commit-ID: Fv0F4RLCnkL

--HG--
extra : rebase_source : 24c3746ebde37b2bf4ab383cee781dd3bceb93b2
2018-04-05 12:49:24 +02:00
Noemi Erli eb61878455 Merge inbound to mozilla-central. a=merge 2018-04-07 00:55:15 +03:00
Tom Schuster 2ec273bf6e Bug 1450574 - Remove DeprecatedLanguageExtension telemetry code. r=jandem
--HG--
extra : rebase_source : a5651c0aebdc0f6cc1128e11645b90069e7c6b92
extra : histedit_source : 4e2ec3872ef64a0d43b9379666ea274c008110f9
2018-04-04 20:41:07 +02:00
Benjamin Bouvier 80d19e8b44 Bug 1450795; r=luke
--HG--
extra : rebase_source : 923090f1b2812ca336deaf62e36706de19c74e66
2018-04-03 18:41:07 +02:00
Sebastian Hengst 0084a1b7f1 Bug 1450574 - Remove expressionClosureHandling from Parser: fix leftover merge conflict CLOSED TREE
--HG--
extra : amend_source : 5a347b78e7acc77ffae71f00c11486b60792bf84
2018-04-06 18:17:57 +03:00
Andreea Pavel eed7d2803f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-06 17:54:45 +03:00
Andreea Pavel 61e8fe34c0 Backed out changeset 67ff53988f4d (bug 1451443) for hazard failures on a CLOSED TREE 2018-04-06 14:00:48 +03:00
Andreea Pavel 7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
David Teller abfa5517f9 Bug 1437004 - Introducing BinSource parser generator;r=froydnj,jorendorff
This crate contains a parser generator as a Rust crate. The parser generator is used to generate
BinSource-auto.h, BinSource-auto.cpp, BinToken.h. As of this changeset, to limit yak shaving,
the parser generator is not part of the build system. Making it part of the build system
is delegated to bug 1439645.

MozReview-Commit-ID: 1lODDSIsz8W

--HG--
extra : rebase_source : 2b09675167c12e33f5951ea00dc6df54dad11832
2018-04-05 15:21:17 +02:00
David Teller c842c7ba7f Bug 1437004 - Updating tokenizer tests to ast v3;r=arai
MozReview-Commit-ID: BbP6n1CwHvs

--HG--
extra : rebase_source : b5ae6192f7cdde0dbc1eaa0d6284d79c661fe223
2018-02-21 16:24:03 +01:00
David Teller 14b9afe8c3 Bug 1437004 - Porting BinAST to AST v3;r=arai,jorendorff
This patch is a nearly complete reimplementation of BinASTReader, with the following changes:

- Files BinToken.h, BinSource-auto.h (new), BinSource-auto.cpp (new) are now autogenerated by the generator in js/src/frontend/binsouce from the webidl specifications of BinAST and a small
configuration file.
- Optional fields have been removed. Rather, some specific fields may, if so marked in the specifications, contain a Null constant.
- `hasDirectEval` is now checked for consistency (NOT completeness).
- `varDeclaredNames` is now checked for consistency (NOT completeness).
- `lexicallyDeclaredNames` is now checked for consistency (NOT completeness).
- `parameterNames` is now checked for consistency (NOT completeness).
- `capturedNames` is NOT checked.
- Atoms read are now properly expected to be UTF8.

This patch does not implement the entire specifications, but should implement most of ES5. In particular, it is sufficient to parse the source code of:
- Facebook;
- jQuery;
- mootools;
- Underscore;
- Backbone;
- Angular.

MozReview-Commit-ID: HwkVB5dliZv

--HG--
extra : rebase_source : fd7e068343e2af8926c5185e7199ea110a5149bc
2018-02-21 17:07:03 +01:00
David Teller f4523820b7 Bug 1437004 - Fixing null string behavior in BinAST tokenizer;r=arai,jorendorff
MozReview-Commit-ID: AH91BMcoZsB

--HG--
extra : rebase_source : 4ff060e0443d734ff2be8835a29e6d2716b20b4f
2018-02-21 16:27:22 +01:00
Jan de Mooij 1b69f3144f Bug 1451443 - Remove CompilerOutput and simplify Ion code invalidation. r=tcampbell 2018-04-06 10:55:49 +02:00