Commit Graph

53827 Commits

Author SHA1 Message Date
Jon Coppeard
67dfdde2d4 Bug 1257903 - Fix spurious GC hazard on a CLOSED TREE r=me 2016-03-22 17:44:03 +00:00
Benjamin Bouvier
c908b0daa2 Bug 1258346: Check for success in calls to append() in WasmBinaryToText: r=jorendorff
MozReview-Commit-ID: 8SRN9CEf275

--HG--
extra : rebase_source : 6fb02f83e4a617cc889d1049b20fd8f9d0484f56
2016-03-21 15:09:08 +01:00
Jon Coppeard
1583dc9934 Bug 1257903 - Compact arenas containing shapes r=terrence 2016-03-22 13:23:49 +00:00
Geoff Brown
3c73a0f0ec Bug 1257948 - More Android test manifest cleanup; r=jmaher 2016-03-22 07:22:43 -06:00
Nicolas B. Pierron
a4d6e6d62a Bug 1257089 - Weaken the assertions to account for unreachable annotation added by Range Analysis. r=sunfish 2016-03-22 12:39:07 +00:00
Carsten "Tomcat" Book
53f935b036 Merge mozilla-central to mozilla-inbound 2016-03-22 12:31:09 +01:00
Carsten "Tomcat" Book
5d83e31d04 merge mozilla-inbound to mozilla-central a=merge 2016-03-22 12:14:15 +01:00
Nick Fitzgerald
771a7148d1 Bug 1257019 - Add move construction to js::Mutex<T>. r=terrence 2016-03-21 16:39:00 -04:00
Mike Hommey
b93503b5e7 Bug 1257468 - Move JS_STANDALONE to moz.configure. r=nalexander 2016-03-22 11:09:43 +09:00
Mike Hommey
cec6eb6fbb Bug 1257468 - Replace tests on BUILDING_JS with tests on MOZ_BUILD_APP==js. r=nalexander
Now that MOZ_BUILD_APP is set to js when building js/src, we can
distinguish those builds with MOZ_BUILD_APP==js instead of BUILDING_JS.
Consequently, remove BUILDING_JS.
2016-03-22 11:09:42 +09:00
Mike Hommey
31d2c022bd Followup for bug 1257445 - Remove the AutoStopwatch::getCPU implementation using sched_getcpu. r=jimb
It was always preprocessed out because the XP_LINUX condition it was using
originally was never satisfied, and when turning that condition to __GLIBC__,
which is more realistic, enabling that code path, web-platform-tests crash on
Linux64 debug.
2016-03-22 10:38:41 +09:00
Jim Blandy
0a2e45670b Bug 1258555: Fix return type of js::GCPointerPolicy::needsSweep. r=terrence
--HG--
extra : rebase_source : 987a12c8e8d32eb13aabd057e7ffa8a77ca84be0
2016-03-21 15:23:08 -07:00
Jim Blandy
7fd97d95b1 Bug 1258578: Improve documentation for js::RelocatablePtr. DONTBUILD r=terrence
--HG--
extra : rebase_source : 9f053ef5360f9723f69f613a88246f35452632b0
extra : amend_source : dc97b52f1f39457c2c68f06f51020bfd7b961f87
2016-03-21 16:49:33 -07:00
Mike Hommey
d8e5f51dde Bug 1257445 - Move some platform-specific defines to moz.configure. r=gps 2016-03-22 09:25:48 +09:00
Mike Hommey
a08d9ac38e Bug 1257445 - #ifdef on __GLIBC__ for sched_getcpu, which is a glibc feature. r=jimb
XP_LINUX means the kernel is Linux, which can mean glibc, bionic
(Android), etc. Only the former supports sched_getcpu.

"Fortunately", XP_LINUX was never set for js/src, so this wasn't a
problem... until we do set it, which we do in this bug.
2016-03-22 09:25:43 +09:00
Mike Hommey
9a0f2f15ea Backout changeset 136f541c4406 (bug 1257445) for Android bustage on a CLOSED TREE 2016-03-22 08:40:37 +09:00
Mike Hommey
0ea268dc18 Backout changesets f5090987b7c6, 48a94777837d and a63437a74f7a (bug 1257468) for SM bustage on a CLOSED TREE 2016-03-22 08:27:28 +09:00
Mike Hommey
a74a4e5dde Bug 1257468 - Move JS_STANDALONE to moz.configure. r=nalexander 2016-03-22 08:05:00 +09:00
Mike Hommey
37d7b30422 Bug 1257468 - Replace tests on BUILDING_JS with tests on MOZ_BUILD_APP==js. r=nalexander
Now that MOZ_BUILD_APP is set to js when building js/src, we can
distinguish those builds with MOZ_BUILD_APP==js instead of BUILDING_JS.
Consequently, remove BUILDING_JS.
2016-03-22 08:05:00 +09:00
Mike Hommey
9116f85e0e Bug 1257445 - Move some platform-specific defines to moz.configure. r=gps 2016-03-22 08:05:00 +09:00
Benjamin Bouvier
7674573171 Bug 1255691: Implement Select; r=sunfish
MozReview-Commit-ID: 4Pb2z4fTyYG

--HG--
extra : rebase_source : 3be6f3ee4b1602bf35c987146f5c35c4e0f69c2d
2016-03-14 11:27:42 +01:00
Carsten "Tomcat" Book
417d5d9533 Backed out changeset 0fedfd441a06 (bug 1256992) for gtest failures 2016-03-22 09:54:55 +01:00
Nick Alexander
e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Shu-yu Guo
b4a736d2a2 Backed out changesets b61921a307e9 and e9e74f6bd12a (bug 1054759) for breaking web compat by implementing Symbol.unscopables without Array.prototype[@@unscopables]. 2016-03-19 19:18:12 -07:00
Morgan Phillips
bfae7eddf8 Bug 1257053 - Only make use of error stashing (via PossibleError) when it is necessary; r=jorendorff
By un-necessarily stashing errors we make it difficult to reason about what's happening in the code,
introducing situations where it's possible for errors to "pile up" and attempt to clobber one another.
2016-03-18 14:47:45 -07:00
Ryan VanderMeulen
71d53d758e Bug 1252707. r=terrence 2016-03-19 15:16:30 -04:00
Jan de Mooij
bafee28b4b Bug 1257408 - Fix VS2015 C4312 warnings in js/src. r=nbp 2016-03-19 11:04:33 +01:00
Jan de Mooij
40674d62ed Bug 1240502 - Fix debug-only dense elements check in SpreadCallOperation to not fail after a TI OOM. r=arai 2016-03-19 11:02:21 +01:00
Tom Schuster
83a06ac06d Bug 1256688 - Continue using getPropertyDescriptor for has in Sandbox. r=peterv 2016-03-19 01:30:03 +01:00
Tom Schuster
6961cb0fa4 Bug 1256688 - Continue using getPropertyDescriptor for has in XrayWrapper. r=peterv 2016-03-19 01:30:03 +01:00
Tom Schuster
ed7a4103c8 Bug 1256688 - Change BPH::has to follow [[HasProperty]] for ordinary objects. r=jorendorff 2016-03-19 01:30:03 +01:00
Shu-yu Guo
e6b741350f Bug 1254164 - Make aliasedBodyLevelLexicalBegin a uint32. (r=Waldo) 2016-03-18 15:07:27 -07:00
Shu-yu Guo
0982c58ddb Bug 1257045 - Give Debugger wrappers of wasm code their own CCW key kinds. (r=jimb) 2016-03-18 15:07:26 -07:00
Shu-yu Guo
640a45c5b3 Bug 1238555 - Always update the LazyScript's static scope chain when emitting functions. (r=till) 2016-03-18 15:07:26 -07:00
Shu-yu Guo
23adc21e58 Bug 1254185 - Deal with missing arguments assigned to block bindings. (r=jimb) 2016-03-18 15:07:26 -07:00
Chris Manchester
d91718bd8c Bug 1256966 - Move NIGHTLY_BUILD and RELEASE_BUILD to Python configure. r=glandium
MozReview-Commit-ID: 2Z3XMO2n681
2016-03-18 11:24:11 -07:00
Tooru Fujisawa
1acf9bbc23 Bug 1248289 - Part 1: Inline _GetNextMapEntryForIterator intrinsic. r=jandem 2016-03-19 02:42:08 +09:00
Tooru Fujisawa
916265ed4f Bug 1248289 - Part 0: Change OrderedHashTable::Range::ht member from a reference to a pointer to use offsetof. r=sfink 2016-03-19 02:41:44 +09:00
Jon Coppeard
7ed132a5e3 Bug 1254376 - Add a read barrier to the global's debugger vector r=jimb 2016-03-18 10:14:30 +00:00
Jon Coppeard
e8da73b559 Bug 1257186 - Refactor the way compacting GC passes lists of arenas to background tasks to avoid possible race r=terrence 2016-03-18 10:14:30 +00:00
Jon Coppeard
01807e3860 Bug 1257496 - Add information about cycle count and GC state to our GC stats r=sfink 2016-03-18 10:14:29 +00:00
Jan de Mooij
bf89b25bca Bug 1257234 - Detect main thread's stack size at runtime, on Windows. r=ted 2016-03-18 09:38:57 +01:00
Ryan VanderMeulen
7f33dece32 Backed out changeset 962dbeaf5c5d (bug 1238555) for opt-only jit-test failures. 2016-03-18 00:01:02 -04:00
Ryan VanderMeulen
87f79e1213 Backed out changeset fbc336fb47f9 (bug 1257045) for jit-test failures. 2016-03-17 23:59:31 -04:00
Shu-yu Guo
ecec854b11 Bug 1257045 - Give Debugger wrappers of wasm code their own CCW key kinds. (r=jimb) 2016-03-17 18:53:04 -07:00
Shu-yu Guo
0f91ae27d6 Bug 1238555 - Always update the LazyScript's static scope chain when emitting functions. (r=till) 2016-03-17 18:53:04 -07:00
Shu-yu Guo
3490838493 Bug 1250192 - Do not synthesize a var binding for Annex B.3.5 if there is an arg binding of the same name. (r=jorendorff) 2016-03-17 18:53:03 -07:00
Mike Hommey
f9fef6c7cd Bug 1257434 - Remove MOZ_DEMANGLE_SYMBOLS and MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS from js/src/old-configure.in. r=ted
While not directly related to the others from this bug, I stumbled upon
this while looking why there were references to MOZ_DMD in
js/src/old-configure.in while it was never set there.

MOZ_DEMANGLE_SYMBOLS is tied to MOZ_STACKWALKING, which is not set in
js/src/old-configure.in.

MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS is specific to building XPCOM
binary components, which there are none of under js/src.
2016-03-18 09:05:53 +09:00
Mike Hommey
03219400f6 Bug 1257434 - Move --enable-vtune and --enable-profiling to moz.configure. r=ted
old-configure and js/src/old-configure interestingly didn't handle both
the same way. But vtune support is only actually implemented in js/src,
so only the rules from js/src/old-configure matter (nothing was
enforcing the decistion from old-configure to js/src/old-configure), and
this is what is implemented here.
2016-03-18 09:05:53 +09:00
Mike Hommey
8e033edefa Bug 1257434 - Move --enable-callgrind to moz.configure. r=ted
Remove the unused DEFINES set in js/xpconnect/shell/moz.build,
subsequently making the MOZ_CALLGRIND subst unused, so don't add a
set_config for it.
2016-03-18 09:05:53 +09:00