Commit Graph

52124 Commits

Author SHA1 Message Date
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
Jakob Olesen
137875511b 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
Jakob Olesen
c6a6ebb4a0 Bug 1210554 - Add enum ImmBranchRangeType. r=sstangl
We already have an ARM64 ImmBranchType which classifies the branch
instructions in the ISA. The /range/ classification is required because
we need unique small integers to pass to
AssemblerBufferWithConstantPool::registerBranchDeadline(). The b.cond
and cbz instructions have the same range, but different branch types.

Classify the 32 KB and 1 MB range branches as 'short-range'. Request
these branch ranges to be tracked by the new
AssemblerBufferWithConstantPools::NumShortBranchRanges faclity.

Also add two functions for computing the maximum forward and backward
reach of branches given their range enumerator.
2015-11-23 15:28:46 -08:00
Jakob Olesen
7f1734b658 Bug 1210554 - Add PatchShortRangeBranchToVeneer(). r=nbp
This is the second part of the short branch handling in
AssemblerBufferWithConstantPools. The PatchShortRangeBranchToVeneer()
callback is called from finishPool() to patch short-range branches that
are about to expire.

Implement no-op versions of the callback for ARM and ARM64. These
versions will never be called as long as no short-line branches are
registered. They only exist to prevent linker errors in unoptimized
builds. In an optimized build, the unused function calls will be
optimized out because DeadlineSet<0>::empty() is hardwired to return
true.
2015-11-23 15:28:46 -08:00
Jakob Olesen
1369a4294b Bug 1210554 - Implement constant pool test. r=nbp
Test the existing functionality of AssemblerBufferWithConstantPools
using a fake ISA that is much more constrained than ARM and ARM64.

Documant the Assembler callback that are required to use
AssemblerBufferWithConstantPools, and implement mock versions for the
unit test.
2015-11-23 15:28:46 -08:00
Jakob Stoklund Olesen
4fd935c057 Bug 1210554 - Wire up branchDeadlines_ partially. No Asm callbacks yet. r=nbp
AssemblerBufferWithConstantPools geta a branchDeadlines_ member which keeps
track of forward branch to unbound labels.

Add a hasSpaceForInsts() method which collects the logic for checking for
available space in one place. Insert a constant pool both when constant pool
loads are about to go out of range, and when short-range branch deadlines are
about to expire.

Add registerBranchDeadline() and unregisterBranchDeadline() methods that the
assembler will use to add and remove branches to be tracked.
2015-11-23 15:28:46 -08:00
Jakob Olesen
0d7845c409 Bug 1210554 - Implement BranchDeadlineSet. r=nbp
This is the data structure that will be used to keep track of
unresolved forward short-range branches.
2015-11-23 15:28:46 -08:00
Jakob Olesen
79b20824a5 Bug 1210554 - Add testAssemblerBuffer to jsapi-tests. r=sstangl
Also minor fixes to the AssemblerBuffer class:

- Tighten encapsulation / data hiding.
- Use consistent types size_t + void* for raw byte data.
2015-11-23 15:28:46 -08:00
Jakob Olesen
8d5ec0ea2d Bug 1210554 - Fix unified build breakage. r=sfink 2015-11-23 15:28:46 -08:00
Sean Stangl
9aa813dcdc Bug 1219050 - Update VIXL helper code to v1.10. r=jolesen 2015-10-16 13:49:19 -07:00
Till Schneidereit
237e8f6cf9 Bug 1208464 - Implement proposed ES7 functions Object.values and Object.entries. r=evilpie
--HG--
extra : rebase_source : 0597d5e9e4aa6b29b599afc61246347313d1a8d2
2015-09-25 17:05:26 +02:00
Lars T Hansen
e8058f2a5e Bug 1108290 - introduce machine-independent definitions of sub32. r=nbp
--HG--
extra : rebase_source : e3834ac9a112b359c6b92757ddd80c28abcd38c2
2015-11-24 12:57:14 +01:00
Lars T Hansen
2f96e54286 Bug 1108290 - remove machine-specific definitions of sub32. r=nbp
--HG--
extra : rebase_source : cd0d59fd718eb82c15561f583ae289821583a1cd
2015-11-24 12:56:37 +01:00
Lars T Hansen
086b3ba3e9 Bug 1108290 - optimize apply with Array. r=nbp
--HG--
extra : rebase_source : b64fc074fcdafbfa68e1e0c1a1eb7ddce57bb171
2015-11-24 14:56:03 +01:00
Jon Coppeard
ea3999a329 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
Benjamin Bouvier
42a3b82777 Bug 1181612: Add MIR generation and code generation to off-thread compilation; r=luke
--HG--
extra : rebase_source : b4d0de64e7bc610f9971d4f38a0c41cbcd2597c8
2015-11-24 19:47:30 +01:00
Benjamin Bouvier
fda1f19d95 Bug 1181612: Merge macro assemblers; r=luke
--HG--
extra : rebase_source : 30c7bb060c694d2378131e38da70c82f4b9269cb
2015-11-24 21:26:07 +01:00
Benjamin Bouvier
175cc535b7 Bug 1181612: Make CompileInfo a const class; r=luke
--HG--
extra : rebase_source : 6c1a5dd4cc15e9045930e4dcb73f1fc0e543615f
2015-11-12 15:31:15 +01:00
Tooru Fujisawa
61a51b2b78 Bug 1226936 - Remove PreserveRegExpStatics and telemetry for it. r=till
--HG--
extra : rebase_source : 5d74966072564ce60f971afde6de351a72550b0e
2015-09-22 18:57:28 +09:00
Nicholas Nethercote
4dd2a30a0f Bug 1187146 - Replace nsBaseHashtable::Enumerate() calls in js/xpconnect/ with iterators. r=mrbkap.
--HG--
extra : rebase_source : 28dc3c5614ee36e6e6955b9cc380e85ccc618a0d
2015-11-22 18:52:40 -08:00
Mike Hommey
259b73a779 Backout changeset 29c31b5cdc19 (bug 1227385) for Linux, Android and B2G bustage on a CLOSED TREE. 2015-11-25 09:33:48 +09:00
Mike Hommey
70a5b9589d Bug 1227388 - Finish removing dehydra support. r=mshal
Dehydra/Treehydra is unmaintained, broken (iirc), and obsoleted by clang
static analysis. We've removed parts of the build system support for it, but
not all. This is meant to remove the remains.
2015-11-25 08:23:25 +09:00
Mike Hommey
1044711983 Bug 1227385 - Avoid make variable references in VISIBILITY_FLAGS and STL_FLAGS. r=mshal 2015-11-25 08:23:23 +09:00
Mike Hommey
ac46182165 Bug 1227384 - Move LOCAL_INCLUDES and DEFINES to moz.build in js/src/. r=mshal 2015-11-25 08:23:22 +09:00
Terrence Cole
f1d99d6f28 Bug 1225631 - Handle options relating to task spawning in spawn_task; r=sfink
--HG--
extra : rebase_source : e7f9b12934dcc04296a3f7be9ed455e5c6410191
2015-11-23 09:52:28 -08:00
Steve Fink
5072610789 Bug 1225594 - Make jit-test's --show-cmd work again; r=terrence
--HG--
extra : rebase_source : b3000697892d20c724d35e15cd46ccf46816ba1d
2015-10-20 13:26:49 -07:00
Jan de Mooij
897269aa50 Bug 1132183 followup - Bump inlineMaxCalleeInlinedBytecodeLength to 3350. r=h4writer on IRC
--HG--
extra : rebase_source : db17fbda89f35303505dfe1d3393cec639dc9e07
2015-11-23 16:21:47 +01:00
Jon Coppeard
9e992d63eb Bug 1221747 - Fix OOM handling in IonScriptCounts r=nbp 2015-11-06 13:09:01 +00:00
Jon Coppeard
88733ff278 Bug 1221747 - Make JS_vsnprintf() return a value that indicates failure if we reach the buffer limit r=nbp 2015-11-23 14:10:28 +00:00
Benjamin Bouvier
4380807e8f Bug 1225605: Simplify SimdTypeDescr::size()/alignment() and remove a macro; r=jolesen
--HG--
extra : rebase_source : cca8ce6d0433bbbfeb09a21afb36af652d97ce76
2015-11-20 10:56:19 +01:00
Benjamin Bouvier
fb5678ed2a Bug 1225605: Store SIMD type descriptors on the global SIMD object rather than on the global; r=jolesen
--HG--
extra : rebase_source : ea5e9ace0782e01695ee266efdffad1c5769e26b
2015-11-20 10:52:33 +01:00
Benjamin Bouvier
a34c95e14b Bug 1225605: Describe the SIMD type descriptors in terms of a concept; r=jolesen
--HG--
extra : rebase_source : a72625ddeae2d0004fccdda264e824eaf89cd81a
2015-11-19 17:25:36 +01:00
Jan de Mooij
3cdb312aae Bug 1132183 followup - Bump smallFunctionMaxBytecodeLength to 120. r=h4writer 2015-11-23 12:49:50 +01:00
Jon Coppeard
e92c43692b Bug 1224710 - Fix OOM handling bugs revealed by new testcase r=bbouvier 2015-11-23 10:53:33 +00:00
Jon Coppeard
1ed75b91b7 Bug 1224710 - Add test for fuzz bug fixed by bug 1223355 r=bbouvier 2015-11-18 16:07:18 +00:00
Jon Coppeard
c0fb4d57d9 Bug 1218968 - Reduce running time of oomInArrayProtoTest.js r=lth 2015-11-23 10:52:17 +00:00
Jon Coppeard
4ebccb4bfd Bug 1207571 r=jandem a=abillings 2015-11-23 10:48:21 +00:00
Jan de Mooij
042014efdb Bug 1205707 part 2 - Add test. r=Waldo 2015-11-21 20:53:28 +01:00
Jan de Mooij
64e522d49c Bug 1222917 - Fix register allocation in GenerateCallSetter. r=bhackett 2015-11-21 20:52:08 +01:00
Jan de Mooij
8f55c26a1c Bug 1132183 - Make |this| a real binding, remove lazy this computation. r=efaust,shu 2015-11-21 14:33:13 +01:00
Heiher
4e3be28022 Bug 1226152 - IonMonkey: MIPS64: Make sure the frame pushed are set correctly for ion vmcalls. r=h4writer
---
 js/src/jit/mips64/SharedICHelpers-mips64.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
2015-11-21 15:28:52 +08:00
Heiher
96c782733c Bug 1225859 - IonMonkey: MIPS64: Fix branchTestBoolean(Address) missing. r=jandem
---
 js/src/jit/mips64/MacroAssembler-mips64.cpp | 8 ++++++++
 js/src/jit/mips64/MacroAssembler-mips64.h   | 1 +
 2 files changed, 9 insertions(+)
2015-11-21 15:28:46 +08:00
Terrence Cole
79de7574c1 Bug 1226687 - Part 2: Use stable hashing and builtin sweep for JSObject2JSObjectMap; r=mccr8
--HG--
extra : rebase_source : e3c5c05bead56da0dab01a3fdfb16a1f02fe862d
2015-11-20 13:54:35 -08:00
Terrence Cole
2f587b2fc3 Bug 1226687 - Part 1: Export a GCPolicy usable by JS::Heap; r=fitzgen
--HG--
extra : rebase_source : 7ac38143297ef92265faefe6ce800b6c55dcaa64
2015-11-20 13:53:19 -08:00
Boris Zbarsky
fb747879e0 Bug 1224007 part 3. Push down WouldReportJSException into MaybeSetPendingException, since anyone calling the latter will propagate the JS exception as needed. r=peterv 2015-11-20 16:29:41 -05:00
Boris Zbarsky
c19412a7ac Bug 1224007 part 1. Rename ThrowMethodFailed to MaybeSetPendingException and make it an ErrorResult instance method. r=peterv 2015-11-20 16:29:40 -05:00
Jeff Walden
03a1ee233b Bug 1220693 - Put the needs-update status of the ICU default time zone behind a spinlock, as the simplest/stupidest possible thing that works. r=sfink
--HG--
extra : rebase_source : 33e4dad372c155ffdc9bd9fd8c1cf26d82f848e3
2015-11-19 14:30:37 -08:00
Nick Fitzgerald
11e1dd10a1 Bug 1226176 - Compute retained sizes in dominator trees and expose them to JavaScript; r=bz,sfink 2015-11-20 09:08:15 -08:00
Jesper Kristensen
ba4bee60ea Bug 1094057 - Violations of "use strict"; should generate errors, not warnings, r=jorendorff
Make the use of JSREPORT_STRICT consistent across all places where it is used.
I.e. never add JSREPORT_STRICT when reporting JSREPORT_ERROR in strict mode,
but only when reporting JSREPORT_WARNING in non-strict mode.
This happens to make the errors appear as errors instead of warnings in the console.

--HG--
extra : commitid : J0bmt40WGxH
extra : rebase_source : cf7f65d1aa4ca9f355204c5744898113e6f50a68
2015-11-10 18:18:25 +01:00
Jonathan Kew
de00809b72 Bug 1210165 - Update test Intl/DateTimeFormat/format.js to expect 24-hour time in Arabic/Morocco locale. rs=waldo 2015-11-20 11:38:15 +00:00
Jonathan Kew
08e1f4fc03 Bug 1210165 - Update normalization test data for ICU 56 (Unicode 8.0) release. rs=waldo 2015-11-20 11:38:15 +00:00
Benjamin Bouvier
ec06fb2c9c Bug 1225605: Make the dependency between SimdTypeDescr::Type and the SimdTypes/SimdLanes arrays clearer; r=jolesen
--HG--
extra : rebase_source : 151400fbeb32dceb47914e645b6d36df435af3bb
2015-11-17 21:40:02 +01:00
Benjamin Bouvier
f31a605002 Bug 1225605: Remove non standard SIMD.Int{32x4,16x8,8x16}.bool; r=jolesen
--HG--
extra : rebase_source : 4a6aceabf70bfcab77c0d7e9ec6a768dec18e935
2015-11-17 21:09:21 +01:00
Benjamin Bouvier
21140fe66b Bug 1225605: Rename SIMD descriptors toType -> Cast, setReturn -> ToValue, and remove one-argument toType; r=jolesen
--HG--
extra : rebase_source : 1f4be8d5c01586224152025cd8ca45b23363682c
2015-11-17 20:51:23 +01:00
Lars T Hansen
0db882cb7b Bug 1226277 - fix MSVC warning with a cast. r=bbouvier
--HG--
extra : amend_source : ca81e5183943fc92e6c82f35ab67e5c45142c587
2015-11-20 06:20:29 +01:00
Wei Wu
d7cec4a561 Bug 1224810 - "TraceLogger: Add the script information for the event created by BytecodeCompiler". r=hv1989
--HG--
extra : rebase_source : 2dd0433495c62e53763c01ecbcb75a00382d1dfd
2015-11-14 03:43:00 +01:00
Wei Wu
63d4dd88d0 Bug 1224809 - "TraceLogger: Document what are enabled in 'TLLOG=Default' and 'TLLOG=IonCompiler'". r=hv1989
--HG--
extra : rebase_source : e5656fcfe4163296005788bde9b3e9f11584508c
2015-11-18 22:17:00 +01:00
Phil Ringnalda
d005086d1a Backed out 20 changesets (bug 1055472) for Linux64 cgc failures and an apparent crash in the cpp test test_audio on OS X 10.6 debug
CLOSED TREE

Backed out changeset edd1c18b5a5b (bug 1055472)
Backed out changeset 41be086be0e8 (bug 1055472)
Backed out changeset 6ed32cadfc31 (bug 1055472)
Backed out changeset 2f0b0b246e25 (bug 1055472)
Backed out changeset 33d5c8ef947c (bug 1055472)
Backed out changeset 74dca890ec34 (bug 1055472)
Backed out changeset b4a4144b96fa (bug 1055472)
Backed out changeset 9dd0b1fff545 (bug 1055472)
Backed out changeset 31c41d6a16ab (bug 1055472)
Backed out changeset bf8f9604c34f (bug 1055472)
Backed out changeset 69bf1faa9d85 (bug 1055472)
Backed out changeset 284934443cd3 (bug 1055472)
Backed out changeset 65d962413c98 (bug 1055472)
Backed out changeset 94135702e1b5 (bug 1055472)
Backed out changeset 1509efcfa629 (bug 1055472)
Backed out changeset c7180ea9dfa4 (bug 1055472)
Backed out changeset a47a3ce6f35e (bug 1055472)
Backed out changeset 9b4f7a838a66 (bug 1055472)
Backed out changeset e5f593ea362c (bug 1055472)
Backed out changeset 8ec3005245c1 (bug 1055472)
2015-11-19 20:01:07 -08:00
Terrence Cole
2508e5037b No Bug - Remove two unused, orphan variables; r=sfink 2015-11-19 13:55:16 -08:00
Terrence Cole
feac54f0ce No Bug - Fix accumulated unified build bustage in the JS shell; r=sfink
--HG--
extra : rebase_source : d320816b8eb06ccf1baa93ec24c08539710dac8a
2015-11-19 13:54:29 -08:00
Eric Faust
5e8a66a98f Bug 1055472 - Part 18: Incorportate arai's test into the subclassing suite. (r=me) 2015-11-18 14:11:14 -08:00
Eric Faust
1807fe701b Bug 1055472 - Part 17: Make the Array constructor properly subclassable. (r=jorendorff, r=bhackett, r=terrence) 2015-11-13 18:22:22 -08:00
Eric Faust
9291922bb6 Bug 1055472 - Part 16: Make the String constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:22 -08:00
Eric Faust
a51a534d0e Bug 1055472 - Part 15: Make the DataView constructor properly subclassable. (r=jorendorff, r=bhackett) 2015-11-13 18:22:22 -08:00
Eric Faust
98f1fa22e2 Bug 1055472 - Part 14: Make the various TypedArray constructors properly subclassable. (r=Waldo, r=bhackett) 2015-11-13 18:22:22 -08:00
Eric Faust
3f478a674a Bug 1055472 - Part 13: Make the ArrayBuffer constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:22 -08:00
Eric Faust
d830569df2 Bug 1055472 - Part 12: Mae the WeakSet constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
89fb3dc021 Bug 1055472 - Part 11: Make the WeakMap constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
5745b31e40 Bug 1055472 - Part 10: Make the Set constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
7b1dd4f0df Bug 1055472 - Part 9: Make the Map constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
4ad1d16184 Bug 1055472 - Part 8: Make the RegExp constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
ea15c14015 Bug 1055472 - Part 8 prelim: Rename InitializeRegExp to RegExpObject::initFromAtom for readability. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
1c5fef9878 Bug 1055472 - Part 7: Make the Date constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
0d2df5920e Bug 1055472 - Part 6: Make the Number constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
3b4c151bcd Bug 1055472 - Part 5: Make the various Error constructors properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
28c1a0129d Bug 1055472 - Part 4: Make the Boolean constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
101dfdd010 Bug 1055472 - Part 3: Make the Object constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
f539b0620b Bug 1055472 - Part 2b: Make Function.prototype.bind play nicely with subclassed functions. (r=Waldo, shoutouts for good flyby by evilpie) 2015-11-13 18:22:21 -08:00
Eric Faust
80c1541a10 Bug 1055472 - Part 2: Make the Function constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
f506cb5501 Bug 1055472 - Part 1: Factor out GetPrototypeFromConstructor and use it in existing object creation paths. (r=Waldo) 2015-11-13 18:22:21 -08:00
Shu-yu Guo
1e82f57762 Bug 1224418 - Functions directly scoped under non-syntactic scopes should be considered cloneable. (r=billm) 2015-11-19 13:42:22 -08:00
Till Schneidereit
92b3a32812 Bug 1226241 - Use a #define instead of a magic number for self-hosted function name accesses. r=jandem
--HG--
extra : rebase_source : c42ee741f6fe5bb9c645e98fe213d28e8062ca20
2015-11-19 22:25:21 +01:00
Till Schneidereit
b8c9b934b6 Bug 1226235 - Print file and line info for failing assert in self-hosted code. r=efaust
--HG--
extra : rebase_source : df8651054c16b5ada46e4263d598e055ddc56a5c
2015-11-19 22:25:20 +01:00
Sean Stangl
8380f9330a Bug 1222640 - Fix truncated Simulator return values. r=jandem 2015-11-06 15:50:13 -08:00
Jakob Stoklund Olesen
fb81a891ff Bug 1225908 - AsmSimdTypeToLaneType. r=bbouvier
Rename AsmSimdTypeToScalarType to AsmSimdTypeToLaneType, hoping that the new
name will be clearer.
2015-11-19 10:37:19 -08:00
Jakob Stoklund Olesen
12062418b8 Bug 1225908 - SimdTypeToArrayElementType. r=bbouvier
This function returns the typed array element type that corresponds to the
lanes in a SIMD vector type. It is used to handle SIMD loads and stores from a
typed array.
2015-11-19 10:37:18 -08:00
Jakob Stoklund Olesen
a687ecc81e Bug 1225908 - SimdTypeToLaneType. r=bbouvier
Rename the function SimdTypeToScalarType to SimdTypeToLaneType. Since we also
have Scalar::Type, it is best to use the term 'lane' to refer to the parts of a
vector.
2015-11-19 10:37:18 -08:00
Hannes Verschore
a10da1c585 Bug 1223636: Tracelogger - Don't treat extraTextId as containing only extra ids, r=bbouvier 2015-11-19 18:49:16 +01:00
Steve Fink
696fbb25f1 Bug 1225298 - Use GC policy mechanism for sweeping hashtable-based collections. r=terrence
--HG--
rename : js/public/TraceableHashTable.h => js/public/GCHashTable.h
extra : rebase_source : b3451b355680e384bc7803a30c585fcc457c20c7
extra : amend_source : 441813b8991c13abad251d95b4f2c9867312c39e
2015-11-17 11:33:15 -08:00
Nick Fitzgerald
caf9b0fa0e Bug 1226024 - Expose the root of the dominator tree to JavaScript; r=bz,sfink 2015-11-19 08:10:13 -08:00
Nick Fitzgerald
fb0a5049fc Bug 1225941 - Add a method for getting the set of nodes immediately dominated by another node; r=sfink
This commit adds the `JS::ubi::DominatorTree::getDominatedSet` method. It
returns a range that can be used to safely iterate over all the nodes
immediately dominated by the node used to get the range. The dominated sets are
eagerly computed when creating a `JS::ubi::DominatorTree` and stored in one big
contiguous array, with a side-table that keeps track of the start indices of
each individual dominated set within that contiguous array.
2015-11-19 08:10:13 -08:00
Jan de Mooij
8bfe2fe03a Bug 1219883 - Fix Ion typed array stub to handle constant string index. r=efaust 2015-11-19 16:11:27 +01:00
Wei Wu
0f85b02fbb Bug 1224814 - "TraceLogger: Remove redundant checks in BaselineJIT". r=hv1989 2015-11-15 19:44:00 +01:00
Wei Wu
889cf73857 Bug 1224123 - "Tracelogger: fix the use of LastEntryId in tracelogger.h". r=hv1989 2015-11-18 01:36:00 +01:00
Wei Wu
dc8ec2aedd Bug 1221844 - Part 2: TraceLogger: Add some debug checks to logTimestamp. r=h4writer
commit cb4bb8a9f407e90dbf75d1919100ee1d94883ac2
Author: Wei Wu <lazyparser@gmail.com>
    Bug 1221844 - Part 2: TraceLogger: Add some debug checks to logTimestamp. r=h4writer

--HG--
extra : rebase_source : 6c690c269cf408a5aecdf36f680da0ed4ff65bfc
2015-11-17 23:54:00 +01:00
Wei Wu
61578d43ff Bug 1221844 - Part 1: TraceLogger: Move TraceLogger_Invalidation to LOG_ITEM. r=h4writer
commit 3bf6a220f3a605398a34a36ab7b7001ed8752c54
Author: Wei Wu <lazyparser@gmail.com>
    Bug 1221844 - Part 1: TraceLogger: Move TraceLogger_Invalidation to LOG_ITEM. r=h4writer

--HG--
extra : rebase_source : c6e14220612bc81d03a7a6b0370219e5d24ffd87
2015-11-17 23:53:00 +01:00
Jan de Mooij
2c74f213c1 Bug 1225821 - Add type write barrier to SetPropertyIC dense element stub. r=bhackett 2015-11-19 10:13:28 +01:00
Lars T Hansen
4afedfa2e9 Bug 1214152 - early check that shell is executable. r=terrence
--HG--
extra : rebase_source : ec49031bc7c0b5b67029d4c257300dc203cd4165
2015-10-14 20:22:28 +02:00
Phil Ringnalda
76ff406c1a Back out changeset 57593f27594a (bug 1225474) for Memory-allocationSamplingProbability-02.js jit-test failures
CLOSED TREE
2015-11-18 18:50:17 -08:00
Terrence Cole
2f08c5931f Bug 1225237 - Use stable hashing for DOMExpandoSet; r=jonco
--HG--
extra : rebase_source : 56667af18db264805536e8e559c5dd8d8b2750b3
2015-11-17 11:32:53 -08:00
Terrence Cole
5e7585b278 Bug 1223519 - Remove unused rekeying logic from WeakMap; r=sfink
--HG--
extra : rebase_source : 0c5a390d3cf9251d140d6fa4a6dadd0f083cd7e0
2015-11-17 11:32:43 -08:00
Wes Kocher
6fbcfcfcb6 Backed out 20 changesets (bug 1055472) for various bustages including m(jp) to get the CLOSED TREE back to a good state
Backed out changeset 0389acea3fc7 (bug 1055472)
Backed out changeset 6f4006cfea7a (bug 1055472)
Backed out changeset 740977ceab24 (bug 1055472)
Backed out changeset 2903bab1d3d5 (bug 1055472)
Backed out changeset bab58078551b (bug 1055472)
Backed out changeset 150c6494dc11 (bug 1055472)
Backed out changeset 2c24c5a4b85e (bug 1055472)
Backed out changeset 4f81eb5d97ab (bug 1055472)
Backed out changeset 6c2f4666560f (bug 1055472)
Backed out changeset ef23d40ed0d4 (bug 1055472)
Backed out changeset 16d85567a5ce (bug 1055472)
Backed out changeset 78d4a1ae22fd (bug 1055472)
Backed out changeset df80bd4dbb44 (bug 1055472)
Backed out changeset a3eee2d8c90e (bug 1055472)
Backed out changeset b5e04101582c (bug 1055472)
Backed out changeset 021a2bf010be (bug 1055472)
Backed out changeset 2f83ba89eb48 (bug 1055472)
Backed out changeset 3efaea09b45f (bug 1055472)
Backed out changeset 0ad5599d97bb (bug 1055472)
Backed out changeset 38cf9e26c832 (bug 1055472)

--HG--
extra : commitid : GqMSAxMc8OJ
2015-11-18 16:42:25 -08:00
Wes Kocher
558fe32faf Backed out changeset 70f41cd98857 (bug 1055472)
--HG--
extra : commitid : 9Duygo94NbX
2015-11-18 16:41:08 -08:00
Wes Kocher
86b3c39766 Backed out 2 changesets (bug 1055472)
Backed out changeset 74aaf5ce4f7b (bug 1055472)
Backed out changeset 191079ef76d2 (bug 1055472)

--HG--
extra : commitid : Gs2GZBnxjW9
2015-11-18 16:40:53 -08:00
Wes Kocher
c499f5e564 Backed out changeset 3c940e393031 (bug 1055472)
--HG--
extra : commitid : G5ppLjtIrTN
2015-11-18 16:40:18 -08:00
Eric Faust
10ce46d270 Bug 1055472 - Followup: Stop running shell-only test in browser. (r=orange) 2015-11-18 15:53:25 -08:00