Commit Graph

53819 Commits

Author SHA1 Message Date
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
Tooru Fujisawa
3569deb1b0 Bug 1153978 - Part 3: Use the build id instead of the XDR_BYTECODE_VERSION constant. r=jandem 2016-01-01 14:19:20 +09:00
Tooru Fujisawa
49dcc9b049 Bug 1153978 - Part 2: Clear pending exception thrown from XDR related APIs when ignoring ReadCachedScript failure. r=bz 2016-03-22 16:48:38 +09:00
Tooru Fujisawa
e2a8d2a6b4 Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Bob Owen
72e4566fa4 Bug 1256992: Initialize Windows sandbox BrokerServices before any child processes are created. r=aklotz, r=bholley 2016-03-22 07:40:03 +00:00
Heiher
99f8b5b2e3 Bug 1258593 - IonMonkey: JitTests: Fix Float32 Not tests. r=h4writer
---
 js/src/jit-test/tests/ion/testFloat32-correctness.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-03-22 15:27:32 +08:00
Heiher
016cef71ee Bug 1258599 - OdinMonkey: MIPS: Only reserving stack for argument registers on O32. r=huangwenjun06
---
 js/src/asmjs/WasmStubs.cpp | 4 ++++
 1 file changed, 4 insertions(+)
2016-03-22 14:04:20 +08:00
Heiher
bcb9e0a303 Bug 1258277 - OdinMonkey: MIPS: Leave ARCH_BITS for CPUID. r=huangwenjun06
---
 js/src/jit/mips-shared/Architecture-mips-shared.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-03-22 14:04:14 +08: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
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