Commit Graph

42883 Commits

Author SHA1 Message Date
Sebastian Hengst
f591fdb6a3 Backed out 2 changesets (bug 1224722, bug 1226551) for Linux x64 opt Valgrind failure. r=bustage
Backed out changeset 5966ace0c932 (bug 1226551)
Backed out changeset f477eb89443b (bug 1224722)
2015-11-27 00:45:05 +01:00
Till Schneidereit
86b25d9035 Bug 1226551 - Add support for installing self-hosting intrinsics via JSAPI. r=efaust, f=bz,mwu 2015-11-25 14:10:25 +01:00
Till Schneidereit
b549b4680e Bug 1224722 - Enable executing multiple inputs as self-hosted JS during runtime startup. r=efaust, f=bz,mwu 2015-11-25 14:05:05 +01:00
Carsten "Tomcat" Book
7677a80971 Merge mozilla-central to mozilla-inbound 2015-11-26 16:56:09 +01:00
Carsten "Tomcat" Book
29be97c8b5 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Jan de Mooij
980c73e927 Bug 1227263 part 3 - Remove this-slot from non-function frames. r=efaust 2015-11-26 12:00:05 +01:00
Jan de Mooij
78e54d2bfb Bug 1227263 part 2 - Remove this-slot from generators. r=efaust 2015-11-26 12:00:04 +01:00
Jan de Mooij
8987cbf642 Bug 1227263 part 1 - Rename frame thisValue methods to thisArgument. r=shu 2015-11-26 12:00:04 +01:00
Jon Coppeard
8c4404f9f6 Bug 1227555 - Force specialization of JSObject::is() for ProxyObject subclasses r=shu 2015-11-26 11:49:54 +00:00
Jon Coppeard
1ffc6b7a37 Bug 1227533 - Factor out dummy module resolve hook from tests r=shu 2015-11-26 11:49:54 +00:00
Carsten "Tomcat" Book
a5dcef39f3 Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Wei Wu
cf7cad800b Bug 1228238 - "TraceLogger: don't enable tracelogger unless TLOPTIONS is set". r=hv1989 2015-11-25 23:12:00 +01:00
Yoshi Huang
b657390188 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Wes Kocher
76dea99ea1 Backed out changeset d4af58f0f1e0 (bug 1226188) for MacroAssembler bustage on Windows CLOSED TREE 2015-11-24 09:49:49 -08:00
Wes Kocher
3df5eac3d2 Backed out changeset eb9e244e3834 (bug 1227535) for static build bustage in ModuleObject.h CLOSED TREE 2015-11-24 09:42:40 -08:00
Jon Coppeard
e43276cd4b Bug 1227535 - Add ZoneAllocPolicy and use it to attribute module memory usage to the zone r=terrence 2015-11-24 17:27:35 +00:00
Jon Coppeard
ee62309c31 Bug 1011786 - Reset GC zeal in reftest before returning to the browser r=terrence 2015-11-24 17:27:35 +00:00
Jon Coppeard
dce13c0405 Bug 1226896 - Fix OOM handling related to script counts r=nbp 2015-11-24 17:27:35 +00:00
Terrence Cole
b955b17621 Backout c2c730d6bd73 (Bug 1227144) for build bustage on a CLOSED TREE. 2015-11-24 08:48:57 -08:00
Nicolas B. Pierron
c348391acf Bug 1226188 - Use __VA_ARGS__ to avoid warnings with empty argument list. r=h4writer 2015-11-24 16:41:16 +00:00
Terrence Cole
1a60935090 Bug 1226888 - Remove an incorrect assertion about store buffer state; r=jandem 2015-11-24 08:04:08 -08:00
Terrence Cole
ea61593f48 Bug 1227144 - Use Rooted instead of AutoRegExpStaticsBuffer; r=jonco 2015-11-19 15:42:18 -08:00
Phil Ringnalda
268ba29aa0 Back out 91c196b60306 (bug 1226027) for build bustage in Assembler-x64.cpp
CLOSED TREE
2015-11-25 20:12:29 -08:00
Jakob Stoklund Olesen
d87868b210 Bug 1226027 - Use Simd128 register content type. r=bbouvier
In preparation for the addition of a new set of SIMD types, collapse all of the
128-bit SIMD types into a single content type for a FloatRegister.

This saves bits in TypedRegisterSet and prevents us from overflowing the
uint64_t bit mask currently used.

For consistency, provide global variables ReturnSimd128Reg and
ScratchSimd128Reg, and rename ScratchSimdScope to ScratchSimd128Scope.
2015-11-25 11:39:40 -08:00
Terrence Cole
2e186a118f Bug 1226732 - Use stable hashing and builtin sweeping for ipc::ObjectIdMap; r=billm 2015-11-25 11:59:09 -08:00
Terrence Cole
a080bb079d Bug 1226801 - None of the GCHashMap users require movable keys; r=fitzgen 2015-11-25 11:58:50 -08:00
Terrence Cole
82adfcd883 Bug 1227774 - Encapsulate markCompartments logic; r=jonco 2015-11-25 11:41:30 -08:00
Nicolas B. Pierron
634df98028 Bug 1223023 - Ensure that we have enough ballast space for allocating MoveGroups in BacktrackingAllocator::resolveControlFlow. r=bhackett 2015-11-25 17:30:24 +00:00
Ted Mielczarek
fda3004309 bug 1224165 - Remove some Makefiles in js/xpconnect/tests/. r=glandium 2015-11-12 06:39:01 -05:00
Ted Mielczarek
55d8dcd2a9 bug 1224308 - Remove some Makefile cruft. r=gps 2015-11-12 06:39:11 -05:00
Nicolas B. Pierron
c1d3451d56 Bug 1213735 - LCov: Rely on the GC finalizers to visit all JSScripts. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
cd9c98c977 Bug 1219166 - SM LCov: Prevent reporting empty compartments, and empty runtimes. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
4f0ed9a4d9 Bug 1213732 part 3 - SM LCov: Add code coverage support for TableSwitch statements. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
3cd8152078 Bug 1213732 part 2 - SM LCov: Check that fallthrough branches are correctly counted. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
d93d627570 Bug 1213732 part 1 - SM LCov: Report both side of the branches. r=bhackett 2015-11-25 16:56:13 +00:00
Benjamin Bouvier
66dd2178e3 Bug 1227642: Make data a ScopedJSFreePtr in js::detail::CopyScript to ensure it doesn't leak; r=jonco 2015-11-24 19:35:19 +01:00
Till Schneidereit
cd21070ddf Backout of bug 1224722 from a CLOSED TREE. r=bustage 2015-11-25 15:37:41 +01:00
Till Schneidereit
26792d9b29 Backout of bug 1226551. r=bustage 2015-11-25 15:36:57 +01:00
Till Schneidereit
8bc932ddab Bug 1226551 - Add support for installing self-hosting intrinsics via JSAPI. r=efaust, f=bz,mwu 2015-11-25 14:10:25 +01:00
Till Schneidereit
2cfbf91dec Bug 1224722 - Enable executing multiple inputs as self-hosted JS during runtime startup. r=efaust, f=bz,mwu 2015-11-25 14:05:05 +01:00
Till Schneidereit
e41a868855 Bug 1226799 - De-duplicate the 11 Is[BuiltinName] self-hosting intrinsics with templates. r=arai 2015-11-21 19:02:24 +01:00
Jon Coppeard
ab938abdf9 Bug 1225565 - Fix module import cycle detection r=shu 2015-11-24 09:57:33 +00:00
Jon Coppeard
7d59b56c34 Bug 1225561 - Don't allow a module to export non-existent local bindings r=shu 2015-11-24 09:57:32 +00:00
Jon Coppeard
7223bdae96 Bug 1225558 - Improve module error messages r=shu 2015-11-24 09:57:25 +00:00
Hannes Verschore
a31f2d4b14 Bug 1226445: SharedStubs - Keep track of the pushed frames correctly in GetPropCallNative, r=jandem 2015-11-24 08:02:03 +01:00
Hannes Verschore
4f60efa53f Bug 1224883: Only lazy linking from jit code expects to have valid jit code afterwards, r=jandem 2015-11-24 07:59:55 +01:00
Mike Hommey
bad75c0288 Bug 1226119 - Clear pending exception from script cache writing failure. r=bholley 2015-11-24 11:29:14 +09:00
Jakob Olesen
f6d504087a Bug 1210554 - Handle toggled calls in CodeFromJump(). r=sstangl
When handed a call that had been disabled by ToggleCall(), this
function would crash.
2015-11-23 15:28:46 -08:00
Jakob Olesen
84bd668572 Bug 1210554 - Dynamically track short-range branches. r=sstangl
Add a branch range argument to LinkAndGetOffsetTo(): ARM64 branches
can't encode arbitrary ranges, so the linked list of unbound label uses
needs some consideration. We can't assume that a newly assembled branch
instruction will be able to point backwards to label->offset().

Change LinkAndGetOffsetTo() to a normal function instead of a template.
We don't need the code duplication just to apply different scale
factors. Throw the premature microoptimizers a bone by replacing the
element_size template argument with its logarithm.

Implement Assembler::PatchShortRangeBranchToVeneer() to insert the
veneer branch after the original short-range branch in the linked list
of uses of the unbound label.

Fix Assembler::bind() to understand that not all branches can reach the
label. Verify that these branches jump to a veneer instead.

Register short-range branches in LinkAndGetOffsetTo(), and unregister
them again in Assembler::bind().
2015-11-23 15:28:46 -08:00
Jakob Olesen
2f98ce7eb0 Bug 1210554 - Change representation of unbound Label linked lists. r=sstangl
Instead of storing byte offsets in the branch instructions using a
label, store instruction offsets, just like the finished branches do.
Use a 0 pc offset to terminate the linked list instead of -1.

This increases the maximum distance between linked branches to be the
same as the range of the branch instrructions. Previously, the
supported range was only 1/4 of what the branch instructions can
encode.

Provide protected functions for manipulating the linked list in
MozBaseAssembler, and rewrite Assembler::bind() and retarget() to use
them instead of decoding branches manually.

Move the LinkAndGet*OffsetTo functions into MozBaseAssembler. Our
version of these functions is completely different from the VIXL
versions.
2015-11-23 15:28:46 -08:00