Masatoshi Kimura
fdc5da32ef
Bug 1451931 - Enable C++14 for SpiderMonkey Rust Bindings. r=glandium
...
MozReview-Commit-ID: K2vKiC9aAJx
--HG--
extra : rebase_source : a69671e6a0f776544d20300871dd52560ae177ab
2018-04-13 07:17:45 +09:00
Gurzau Raul
f620cf509e
Merge inbound to mozilla-central. a=merge
2018-04-13 02:08:51 +03:00
Sebastian Hengst
c12ee0bc10
merge mozilla-central to mozilla-inbound. CLOSED TREE
2018-04-12 22:22:51 +03:00
Sebastian Hengst
0eb9d87997
merge mozilla-inbound to mozilla-central. a=merge
2018-04-12 22:20:13 +03:00
Sebastian Hengst
4f3725a9b9
merge autoland to mozilla-central. a=merge
2018-04-12 22:17:41 +03:00
Sebastian Hengst
ec371d68d4
Bug 525063 - Backing out js/public/ for violation of committing guidelines. a=backout
2018-04-12 22:15:26 +03:00
Jan de Mooij
5431bd4e97
Bug 1452982 part 5 - Refactor JitRuntime::isOptimizationTrackingEnabled to take a JSRuntime* instead of ZoneGroup*. r=jonco
2018-04-12 16:35:27 +02:00
Jan de Mooij
1b0f7474cb
Bug 1452982 part 4 - Move jit-related fields from ZoneGroup to JitRuntime. r=jonco
2018-04-12 16:35:27 +02:00
Jan de Mooij
84ec03bf15
Bug 1452982 part 3 - Remove ZoneGroup nursery/storeBuffer methods. r=jonco
2018-04-12 16:35:26 +02:00
Boris Zbarsky
a730b3a9ad
Bug 1453053 part 1. Remove useless QIs to nsIDOMNode. r=qdot
...
MozReview-Commit-ID: GokPD2buxzN
2018-04-12 00:06:25 -04:00
Boris Zbarsky
ed3406b369
Bug 1452786 part 2. Stop using a generated chromeonly isInstance method. r=qdot
...
This changes semantics in all sorts of ways (e.g. now we get the right proto
from our |this| value instead of it being baked into the function). But if all
our chrome callers are well-behaved this should be ok.
We _could_ bake the proto id and depth into the function itself by using
js::NewFunctionWithReserved if it were not for Xrays. Those already need the
reserved slots on functions we Xray.
MozReview-Commit-ID: 1bYrKWWIc1P
2018-04-12 00:06:07 -04:00
Tristan Bourvon
da60164132
Bug 525063 - Backing out js/src/ for violation of committing guideliens. CLOSED TREE
2018-04-11 23:19:53 +02:00
Ryan VanderMeulen
6af8d937a0
Bug 1453317 - Update VS2017 used in automation to version 15.6.6. r=froydnj
...
CLOSED TREE
2018-04-11 09:24:02 -04:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Margareta Eliza Balazs
1c0306e497
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-12 12:45:41 +03:00
Karl Tomlinson
3481a11d87
bug 1328964 add CycleCollectedJSContext::IsSystemCaller() to make ThreadsafeIsSystemCaller() safe for worklets r=baku
...
MozReview-Commit-ID: Cg4OBbm5CwA
--HG--
extra : rebase_source : 9a113cf0f945bd48207e81f9fa08bcba1f35303c
2018-04-06 18:53:25 +12:00
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
Dragan Mladjenovic
f77598ac54
Bug 1453278 : [MIPS32] Add simulator single step profiling support; r=bbouvier
...
--HG--
extra : source : bcfee006ebaa56c3f0e36871f29f121efdaa5692
2018-04-10 09:42:50 +02:00
Margareta Eliza Balazs
d4e35cf8f7
Backed out 2 changesets (bug 1449364, bug 1453278) for rc4 and 42 perma failures in layout/base/tests/test_bug332655-2.html and testInputConnection on a CLOSED TREE
...
Backed out changeset 7149139c60d9 (bug 1449364)
Backed out changeset bcfee006ebaa (bug 1453278)
2018-04-12 15:30:20 +03:00
Jan de Mooij
06a1fef6c9
Bug 1452982 part 2 - Move debuggerList from ZoneGroup to JSRuntime. r=jonco
2018-04-12 13:04:35 +02:00
Jan de Mooij
040949a5a7
Bug 1452982 part 1 - Use rt->mainContextFromOwnThread() instead of TlsContext.get() in some places. r=jonco
2018-04-12 13:04:13 +02:00
Dragan Mladjenovic
5054e2ed0f
Bug 1453278 : [MIPS32] Add simulator single step profiling support; r=bbouvier
2018-04-10 09:42:50 +02: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
Henrik Skupin
3846d5fb06
Bug 1453647 - [xpcshell] Enforce utf-8 for evaluating injected script via -e argument. r=bz
...
MozReview-Commit-ID: 2sLmBHqbFSx
--HG--
extra : rebase_source : 50949fadd321a1fc4f6591bd55cb8002587b3959
2018-04-12 15:49:19 +02:00
Karl Tomlinson
2405fe930c
bug 1328964 use nsContentUtils::GetCurrentJSContext() on all threads r=smaug
...
nsContentUtils::GetCurrentJSContextForThread() originally needed to use
workers::GetCurrentThreadJSContext() in
https://hg.mozilla.org/mozilla-central/rev/366a45b41539#l2.18
because CycleCollectedJS*()->Context() did not exist until
https://hg.mozilla.org/mozilla-central/rev/1a0cd542e1e9#l7.12
nsContentUtils::GetCurrentJSContext() is thread-safe since these changes:
https://hg.mozilla.org/mozilla-central/rev/e636c7186286#l3.12
https://hg.mozilla.org/mozilla-central/rev/c8029c072776#l2.12
MozReview-Commit-ID: 2f1eGS9uBBO
--HG--
extra : rebase_source : dad1d2084a63413c3975f9e7c66c6b06857c9f23
2018-04-09 12:11:18 +12: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