Commit Graph

53767 Commits

Author SHA1 Message Date
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
Mike Hommey
89cb71ad55 Bug 1257434 - Move --enable-instruments to moz.configure. r=ted 2016-03-18 09:05:53 +09:00
Mike Hommey
58397bd671 Bug 1257434 - Move --enable-jprof to moz.configure. r=ted 2016-03-18 09:05:53 +09:00
Mike Hommey
31f294ed62 Bug 1257418 - Remove USE_DEPENDENT_LIBS. r=gps
Its value is always 1, and never used. Even when there were different
possible values back before bug 627277 (5 years ago), it was not used.
In fact, it hasn't been used since bug 298044 (more than 10 years ago).
2016-03-18 09:05:53 +09:00
Wes Kocher
dd288c5851 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 8OPSNnf1LiA
2016-03-17 14:46:24 -07:00
Carsten "Tomcat" Book
03c0241391 Backed out changeset 4b3b0c66d132 (bug 1257418) 2016-03-17 16:03:31 +01:00
Mike Hommey
032b04800b Bug 1257418 - Remove USE_DEPENDENT_LIBS. r=gps
Its value is always 1, and never used. Even when there were different
possible values back before bug 627277 (5 years ago), it was not used.
In fact, it hasn't been used since bug 298044 (more than 10 years ago).
2016-03-17 14:08:19 +09:00
Makoto Kato
ca18e9df71 Bug 552533 - Support thiscall Win32 ABI for js-ctypes. Original patch is dwitte. r=jorendorff
MozReview-Commit-ID: 5gatJC2xRek
2016-03-17 12:00:35 +09:00
Jason Orendorff
b82c949ced Bug 1256956 - Silence some GCC warnings. r=luke.
--HG--
extra : commitid : DSvLpEoSinI
extra : rebase_source : 2a801a7f74212d9cec100deb23de899f0c3d50e3
2016-03-15 10:26:26 -05:00
Steve Fink
07ed9e0dde Bug 1257223 - Fix os.file.redirect(null), r=jonco
--HG--
extra : rebase_source : 47f402c85b7df994db56d69559dfcb528e7b95d4
extra : amend_source : bea76dd9db5c5f48f59819daf2184bafd303b492
2016-03-16 11:04:22 -07:00
Till Schneidereit
4ecef93ff0 Bug 911216 - Part 4: Add self-hosting intrinsic for creating arrays in other compartments. r=efaust 2016-02-10 23:09:13 +01:00
Till Schneidereit
51e16e717a Bug 911216 - Part 3: Allow wrapped self-hosted functions and intrinsics in the callFunction debug check. r=efaust 2016-02-10 23:09:13 +01:00
Jon Coppeard
b3d77f00f5 Bug 1244412 - Fix suprious GC hazard r=me 2016-03-17 12:47:54 +00:00
Jon Coppeard
b6a1dd10ad Bug 1244412 - Remove ZoneCellIterUnderGC now it's no longer needed and refactor r=terrence 2016-03-17 10:05:55 +00:00
Jon Coppeard
ded0bc1da4 Bug 1244412 - Make ZoneCellIter work correctly whether called under GC or not r=terrence 2016-03-17 10:05:55 +00:00
Jon Coppeard
0b5afe375a Bug 1252653 - Fix intermittent failures in incremental-state.js jittest r=terrence 2016-03-17 10:05:54 +00:00
Jan de Mooij
e8f258d984 Bug 1255352 - Use initial CacheIR infrastructure and use it for some simple Baseline stubs. r=efaust
--HG--
extra : rebase_source : 0d4f5bceeac2dd409b9a65a78a30571ace4a0ede
2016-03-17 10:28:00 +01:00
Makoto Kato
13e6b287dc Bug 1257055 - Use jit/arm64/Architecture-arm64.h on non-JIT aarch64. r=lth
MozReview-Commit-ID: EmzEDleNc7E
2016-03-17 15:26:09 +09:00
Jason Orendorff
06e68fbd5a Bug 1054759 - Part 2: ES6 Symbol.unscopables. r=shu.
--HG--
extra : commitid : 6tJ71m09YRE
extra : rebase_source : fc29ab93512744a82097c17abf32dc59f94105b9
extra : amend_source : e4ee1645fa47ed24948a98ef10066ef89b03b887
2015-12-09 10:42:40 -05:00
Jason Orendorff
09e9e76a4d Bug 1054759 - Part 1: Reinstate JS_FOR_EACH_WELL_KNOWN_SYMBOL. r=shu.
--HG--
extra : commitid : GLjJKPqPZJa
extra : rebase_source : 7825b82482fa082fc99a4a24d304182db8de96cb
extra : amend_source : 62934b9ef564b82dbac1c5d3e73f72d2e753c2ab
2016-03-15 09:52:46 -05:00
Mike Hommey
747e8cd9f5 Bug 1256988 - Remove NO_X11. r=chmanchester
It hasn't done anything since bug 191447, 13 years ago
2016-03-17 06:49:44 +09:00
Mike Hommey
13cf8281d0 Bug 1256988 - Remove useless Gtk/accessibility check in js/src/old-configure.in. r=chmanchester 2016-03-17 06:49:44 +09:00
Mike Hommey
b6f701b9e1 Bug 1256988 - Move MOZ_WIDGET_TOOLKIT to moz.configure. r=chmanchester 2016-03-17 06:49:44 +09:00
Mike Hommey
0366070f0d Bug 1256988 - Move --with-gonk to moz.configure. r=chmanchester 2016-03-17 06:49:44 +09:00
Jakob Stoklund Olesen
7cb51cc5e3 Bug 1256945 - Coerce SIMD lane indexes with ToNumber(). r=bbouvier
The SIMDToLane() function in the SIMD.js specification uses ToNumber() to
coerce lane index arguments to a number before checking the the index is an
integer in range.

Add an ArgumentToLaneIndex() function to SIMD.cpp that implements the same
semantics. This function throws a RangeError if the coerced argument is not
integral or out of range.

Update tests to match the new semantics. The differences are:

- More values are accepted as lane indexes (null, true, false, "5.0", ...).
- A TypeError is only thrown if ToNumber fails. If the argument can be coerced
  to a number, a RangeError is thrown if other checks fail.

Fix the testShuffleForType() test in ests/ecma_7/SIMD/swizzle-shuffle.js which
should have been calling `shuffle` but was calling `swizzle`.

MozReview-Commit-ID: 7w5KhWwKmeF

--HG--
extra : rebase_source : 1bedc9df4c157080be53b356c7f31f7588c3bceb
2016-03-16 10:15:35 -07:00
Gregory Szorc
c45a901dcb Bug 1257040 - Disable C4577 to unblock compilation on VS2015; r=jorendorff
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warnings this patch masks are
in an included ICU header, which is a 3rd party project. So our hands
appear tied.

MozReview-Commit-ID: FHzp6v5yUKG

--HG--
extra : rebase_source : cd22e81394ce7e537fb8cd93a3ae62dcb99b8567
2016-03-14 23:23:34 -07:00
Steve Fink
19538f46e4 Bug 1250709 - Clobber builds, r=terrence
--HG--
extra : rebase_source : 70e1fd311c814ffff0e14e7c18fc8450e2306d2a
extra : source : 68e3c64301214d4a656f9aadea250f13ec768480
extra : histedit_source : 62c67cd4aba93b3fda3f4d142f1d2f69b52887ec
2016-02-24 15:14:17 -08:00
Steve Fink
102d2256d2 Address review comments from bug 1246804
--HG--
extra : rebase_source : 7e31c9f90e7fdf7d8973445772fed10828c1808c
2016-03-15 14:22:13 -07:00
Nicolas B. Pierron
3cca9ceb73 Bug 1256702 - Skip the operand of MAssertRecoveredOnBailout encoded in the snapshot. r=h4writer 2016-03-16 12:48:31 +00:00
Jon Coppeard
f0d2a7676e Bug 1256672 - Make OOM alloc counters 64 bit. r=terrence 2016-03-15 11:46:00 +01:00
Carsten "Tomcat" Book
41c5d93a8a Backed out changeset 5e4e30fff99b (bug 1235677) for landing with wrong bugnumber 2016-03-16 10:59:41 +01:00
Benjamin Bouvier
03908696a0 Bug 1256637: Set definition before returning early in EmitBrTable; r=luke
MozReview-Commit-ID: CJXMIMT22vA

--HG--
extra : rebase_source : cd4a995abdf740a83699eb5221ded1f61d4fae84
2016-03-15 17:39:45 +01:00
Benjamin Bouvier
9d8ec528dd Bug 1256480: Allow passing Float32 arguments to FFI on the stack; r=luke
And forbid SIMD arguments for the moment, as FFI SIMD arguments should be
either objects (interpreter) or unboxed registers (ion).

MozReview-Commit-ID: HWXYiFfmK51

--HG--
extra : rebase_source : f3e278048a2901a734e4c7592615a0801eb2cb15
2016-03-15 16:00:45 +01:00
Jon Coppeard
95bb5373a4 Bug 1256699 - Fix jittests --repeat option r=sfink 2016-03-16 09:41:57 +00:00
Jon Coppeard
93d786cfd8 Bug 1235677 - Refactor OOM simulation and make counters 64 bit r=terrence 2016-03-16 09:41:57 +00:00
Jon Coppeard
566118d25e Bug 1235677 - Wait for helper threads before resetting OOM simulation r=terrence 2016-03-16 09:41:56 +00:00
Jan de Mooij
804a9eea98 Bug 1256306 - Bump the Windows stack limit. r=bholley
--HG--
extra : rebase_source : 56e9c5e72d471ba0de010ac1f49a0f1f94baa5d7
2016-03-16 09:35:16 +01:00
Jan de Mooij
8ba4ef4a51 Bug 1256633 - Reject wasm i64 ops on platforms that don't support them yet. r=bbouvier
--HG--
extra : rebase_source : c01709907020861dd69186b4142afbaea568962a
2016-03-16 09:32:25 +01:00
Nicholas Nethercote
a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00