Commit Graph

52029 Commits

Author SHA1 Message Date
Lars T Hansen
bc9c6e0192 Bug 1228259 - jitspew is #ifdef JS_JITSPEW not DEBUG. r=h4writer
--HG--
extra : rebase_source : 6ac8a0e1095c4a318af15fee745467e5163503e5
extra : amend_source : 9ba9d3d0c9b15a8e3550ace0b88d4068cc945e3b
2015-11-26 12:55:06 +01:00
Sebastian Hengst
d155747cfa 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
f1064cd317 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
00ace3547e 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
44189adf88 Merge mozilla-central to mozilla-inbound 2015-11-26 16:56:09 +01:00
Carsten "Tomcat" Book
358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Jan de Mooij
4059a6e5ee Bug 1227263 part 3 - Remove this-slot from non-function frames. r=efaust 2015-11-26 12:00:05 +01:00
Jan de Mooij
12923393cf Bug 1227263 part 2 - Remove this-slot from generators. r=efaust 2015-11-26 12:00:04 +01:00
Jan de Mooij
3f89ce8294 Bug 1227263 part 1 - Rename frame thisValue methods to thisArgument. r=shu 2015-11-26 12:00:04 +01:00
Jon Coppeard
23a1008811 Bug 1227555 - Force specialization of JSObject::is() for ProxyObject subclasses r=shu 2015-11-26 11:49:54 +00:00
Jon Coppeard
bf29dccb1c Bug 1227533 - Factor out dummy module resolve hook from tests r=shu 2015-11-26 11:49:54 +00:00
Carsten "Tomcat" Book
4478aaa8da Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Wei Wu
657db80539 Bug 1228238 - "TraceLogger: don't enable tracelogger unless TLOPTIONS is set". r=hv1989 2015-11-25 23:12:00 +01:00
Yoshi Huang
4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Wes Kocher
e617ebdf10 Backed out changeset d4af58f0f1e0 (bug 1226188) for MacroAssembler bustage on Windows CLOSED TREE
--HG--
extra : commitid : 66bECBf7LtE
2015-11-24 09:49:49 -08:00
Wes Kocher
b40b9c497b Backed out changeset eb9e244e3834 (bug 1227535) for static build bustage in ModuleObject.h CLOSED TREE
--HG--
extra : commitid : 27dFKkZdEs4
2015-11-24 09:42:40 -08:00
Jon Coppeard
e379214094 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
ac26a189d6 Bug 1011786 - Reset GC zeal in reftest before returning to the browser r=terrence 2015-11-24 17:27:35 +00:00
Jon Coppeard
1abd844269 Bug 1226896 - Fix OOM handling related to script counts r=nbp 2015-11-24 17:27:35 +00:00
Terrence Cole
593a471c03 Backout c2c730d6bd73 (Bug 1227144) for build bustage on a CLOSED TREE. 2015-11-24 08:48:57 -08:00
Nicolas B. Pierron
bba1586666 Bug 1226188 - Use __VA_ARGS__ to avoid warnings with empty argument list. r=h4writer 2015-11-24 16:41:16 +00:00
Terrence Cole
75b58e896c Bug 1226888 - Remove an incorrect assertion about store buffer state; r=jandem
--HG--
extra : rebase_source : 5bc10e6ce92aea1aed51b7bd0e38bd7d27317ee5
2015-11-24 08:04:08 -08:00
Terrence Cole
1a3c815cc3 Bug 1227144 - Use Rooted instead of AutoRegExpStaticsBuffer; r=jonco
--HG--
extra : rebase_source : 424f2fd357e795e94f89c2bb11c19ad824a396cb
2015-11-19 15:42:18 -08:00
Phil Ringnalda
04870269d3 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
1badb94490 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.

--HG--
extra : rebase_source : f07deedaa9cddfcea4e71a6d9272314a364bf9c0
2015-11-25 11:39:40 -08:00
Terrence Cole
020b367913 Bug 1226732 - Use stable hashing and builtin sweeping for ipc::ObjectIdMap; r=billm
--HG--
extra : rebase_source : 9dc40a8f2573fd190d9c86a5a88b57dcb41e0771
2015-11-25 11:59:09 -08:00
Terrence Cole
9c36f99a19 Bug 1226801 - None of the GCHashMap users require movable keys; r=fitzgen
--HG--
extra : rebase_source : d24e3f8c5cdfa050b166f224d76967b3f02287c2
2015-11-25 11:58:50 -08:00
Terrence Cole
e918579721 Bug 1227774 - Encapsulate markCompartments logic; r=jonco
--HG--
extra : rebase_source : 994a0bafa6e88cff6a29d01d50cd5a29f54ed7ec
2015-11-25 11:41:30 -08:00
Nicolas B. Pierron
f538e44852 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
d9c04b91c1 bug 1224165 - Remove some Makefiles in js/xpconnect/tests/. r=glandium
--HG--
extra : commitid : CdYDnLGN2Yf
extra : rebase_source : 1dee19c8064f1afb53cc646e4659c12577ba6a94
2015-11-12 06:39:01 -05:00
Ted Mielczarek
8b765abfbe bug 1224308 - Remove some Makefile cruft. r=gps
--HG--
extra : commitid : JdDnpW7zfHf
extra : rebase_source : 9eca8f978c43eb6f26c8d14d5d13fee5ea556a02
2015-11-12 06:39:11 -05:00
Nicolas B. Pierron
e56bcb2332 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
f14fd6c5cc Bug 1219166 - SM LCov: Prevent reporting empty compartments, and empty runtimes. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
ba81d44fff 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
95b6d67041 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
f6a0e76d3d Bug 1213732 part 1 - SM LCov: Report both side of the branches. r=bhackett 2015-11-25 16:56:13 +00:00
Benjamin Bouvier
9cb6c17ff5 Bug 1227642: Make data a ScopedJSFreePtr in js::detail::CopyScript to ensure it doesn't leak; r=jonco
--HG--
extra : rebase_source : ccf4034cc9a0770f9af9391be72ef211a6d71edd
extra : amend_source : 08542020a95717fcc1552755ddeba46ecc79b702
2015-11-24 19:35:19 +01:00
Till Schneidereit
7f6e232d5a Backout of bug 1224722 from a CLOSED TREE. r=bustage
--HG--
extra : amend_source : 2e05abb4de7042d33d50659f0497861a4b7fee06
2015-11-25 15:37:41 +01:00
Till Schneidereit
de3be65932 Backout of bug 1226551. r=bustage 2015-11-25 15:36:57 +01:00
Till Schneidereit
8a04abb7cc Bug 1226551 - Add support for installing self-hosting intrinsics via JSAPI. r=efaust, f=bz,mwu
--HG--
extra : rebase_source : a3b179f3f33c3157387fd8170cb657b585131bf4
2015-11-25 14:10:25 +01:00
Till Schneidereit
5bf848f39b Bug 1224722 - Enable executing multiple inputs as self-hosted JS during runtime startup. r=efaust, f=bz,mwu
--HG--
extra : rebase_source : 09dddf7f37d1a7abae24c3ce9189ec77b740ee25
2015-11-25 14:05:05 +01:00
Till Schneidereit
291b0d30f0 Bug 1226799 - De-duplicate the 11 Is[BuiltinName] self-hosting intrinsics with templates. r=arai
--HG--
extra : rebase_source : 0208de7d4f19a7a4611c4309b9a482788a668077
2015-11-21 19:02:24 +01:00
Jon Coppeard
29cc7aba9f Bug 1225565 - Fix module import cycle detection r=shu 2015-11-24 09:57:33 +00:00
Jon Coppeard
e73c37e649 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
cfb82dc28e Bug 1225558 - Improve module error messages r=shu 2015-11-24 09:57:25 +00:00
Hannes Verschore
c219ee8308 Bug 1226445: SharedStubs - Keep track of the pushed frames correctly in GetPropCallNative, r=jandem 2015-11-24 08:02:03 +01:00
Hannes Verschore
77ccc3fbae 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
394d50aba5 Bug 1226119 - Clear pending exception from script cache writing failure. r=bholley 2015-11-24 11:29:14 +09:00
Jakob Olesen
072dbcf1f7 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
2257ab0488 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