Commit Graph

53805 Commits

Author SHA1 Message Date
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
Jakob Stoklund Olesen
e907bb867e Bug 1238815 - Limit baseline script size on ARM. r=jandem
ARM branch instructions have a limited range of 32 MB, and our ARM
macroassembler doesn't mitigate that except by crashing when a branch goes out
of range.

Limit the size of scripts that baseline will attempt to compile on ARM so that
we are much less likely to hit the hard crash.

MozReview-Commit-ID: E4JOt9fEB2

--HG--
extra : rebase_source : 33c7e1b3770074156bb307221464fe7daa42135a
2016-03-17 10:07:24 -07:00
Benjamin Bouvier
63ca5b9eff Bug 1215834: Add debug log in case of OverflowError in tasks_unix; r=sfink
MozReview-Commit-ID: 8Obc2stM7oM

--HG--
extra : rebase_source : 51b1a72dafc194b1d408b0497ac3c9ae9d981fa6
2016-03-21 18:26:58 +01:00
Boris Zbarsky
4f77ae4813 Bug 1257892. Fix XPCConvert::JSValToXPCException to correctly detect Web IDL binding exceptions (i.e. all of them now!) when trying to check whether the value is already an XPCException. r=bholley 2016-03-21 11:01:43 -04:00
Heiher
779b72284e Bug 1258293 - IonMonkey: MIPS: Refactor float-point Not by conditional move. r=arai
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)
2016-03-21 21:01:58 +08:00
Jan de Mooij
2e624c18be Bug 1249193 part 2 - Fix DebugScopeProxy to return correct this-value if we're still in the prologue. r=shu
--HG--
extra : rebase_source : 79dfa73d045360bf951ac63874642f81081f3b7b
2016-03-21 13:18:35 +01:00
Tooru Fujisawa
121ba5db33 Bug 1258320 - Fix jump target in CodeGenerator::visitGetNextMapEntryForIterator. r=jandem 2016-03-21 21:04:18 +09:00
Heiher
c20d56eea7 Bug 1258253 - IonMonkey: MIPS64: Fix MacroAssembler::branchValueIsNurseryObject. r=arai
---
 js/src/jit/mips64/MacroAssembler-mips64.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-03-21 13:49:04 +08:00
Heiher
3aebdfcdef Bug 1258253 - IonMonkey: MIPS64: Fix MacroAssembler::branchTestMagic. r=arai
---
 js/src/jit/mips64/MacroAssembler-mips64-inl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-03-21 13:49:03 +08:00
Heiher
e60b68c3ad Bug 1254500 - IonMonkey: MIPS: Implement CodeGeneratorMIPSShared::visitPopcntI. r=arai
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 27 ++++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 2 files changed, 28 insertions(+)
2016-03-21 13:49:02 +08:00
Heiher
efebcd7841 Bug 1254500 - IonMonkey: MIPS: Implement CodeGeneratorMIPSShared::visitCtzI. r=arai
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 9 +++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h   | 1 +
 2 files changed, 10 insertions(+)
2016-03-21 13:49:01 +08:00
Heiher
ede2938094 Bug 1254500 - IonMonkey: MIPS: Implement ma_ctz. r=arai
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 11 +++++++++++
 js/src/jit/mips-shared/MacroAssembler-mips-shared.h   |  2 ++
 2 files changed, 13 insertions(+)
2016-03-21 13:49:00 +08:00
Phil Ringnalda
522eeca20c Back out dbf70d71fe29 (bug 1198701) for breaking test_document.all_iteration.html 2016-03-20 22:35:54 -07:00
Phil Ringnalda
6705425981 Back out changeset 1364b664788a (bug 1257019) for check_spidermonkey_style.py failures
CLOSED TREE
2016-03-20 21:29:29 -07:00
Greg Weng
5001f89b5f Bug 1198701 - ArrayIterator gets length property after iteration has finished. r=till 2016-03-18 00:43:00 -04:00
Nick Fitzgerald
8de9fb7cf2 Bug 1257019 - Add move construction to js::Mutex<T>. r=terrence 2016-03-17 14:53:00 -04: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