yangguo@chromium.org [Wed, 27 Aug 2014 09:51:51 +0000 (09:51 +0000)]
fix and update debug-debugger.js
added `switch` statement is missing `break`s
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
494303004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23441
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 27 Aug 2014 09:49:38 +0000 (09:49 +0000)]
Slightly simplify Math.sign and Math.trunc.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
504343005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23440
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
m.m.capewell@googlemail.com [Wed, 27 Aug 2014 09:47:16 +0000 (09:47 +0000)]
[turbofan] ARM64 FP instruction selection tests
Add some tests for floating pointer instruction selection, and change conversion
tests to be parameterised.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
500503002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23439
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 27 Aug 2014 09:38:55 +0000 (09:38 +0000)]
Keep chromium checkout up to date in auto roller.
R=hinoka@google.com
Review URL: https://codereview.chromium.org/
504443005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23438
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 27 Aug 2014 09:18:24 +0000 (09:18 +0000)]
Whitespace change to check MSVS 2013.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23437
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Wed, 27 Aug 2014 08:45:39 +0000 (08:45 +0000)]
Tweaks to generate XP-compatible .exes
BUG=407517
LOG=y
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
504793004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23436
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 27 Aug 2014 08:29:22 +0000 (08:29 +0000)]
Sync our homegrown SysInfo replacement with the one in Chrome base.
Also fix several inconsistencies/bugs on the way.
TEST=base-unittests
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
510693003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23435
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 27 Aug 2014 08:15:14 +0000 (08:15 +0000)]
X87: Minor-key-ify new LoadICTrampolineStub.
port r23409.
original commit message:
Minor-key-ify new LoadICTrampolineStub.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
513613003
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23434
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 27 Aug 2014 07:58:51 +0000 (07:58 +0000)]
X87: Added vector-based loadic hydrogen stubs. Not yet callable.
port r23405.
original commit message:
Added vector-based loadic hydrogen stubs. Not yet callable.
The next step is to integrate the use of vector[slot] into the IC
infrastructure so it can do the right thing for a vector-based ic.
Then these stubs can be installed. For now, they immediately bail
out to the miss handler.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
507993002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23433
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 27 Aug 2014 07:34:34 +0000 (07:34 +0000)]
[Auto-roll] Bump up version to 3.29.21.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
514523004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23432
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 27 Aug 2014 07:33:29 +0000 (07:33 +0000)]
X87: Minor-key-ify CallICStub and CallIC_ArrayStub.
port r23403.
original commit message:
Minor-key-ify CallICStub and CallIC_ArrayStub.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
508883002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23431
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 27 Aug 2014 06:33:40 +0000 (06:33 +0000)]
X87: Change more PlatformCodeStubs to encode properties in the minor key.
port r23394.
original commit message:
Change more PlatformCodeStubs to encode properties in the minor key.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
507973002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23430
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 27 Aug 2014 06:25:02 +0000 (06:25 +0000)]
[turbofan] Refactor code generation for calls.
R=jarin@chromium.org
TEST=cctest
Review URL: https://codereview.chromium.org/
508863002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23429
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 27 Aug 2014 04:49:41 +0000 (04:49 +0000)]
X87: Move register conventions out of the IC classes.
port r23391.
original commit message:
Move register conventions out of the IC classes.
A change to a convention shouldn't require recompilation of ic.h/.cc.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
513533003
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23428
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 26 Aug 2014 22:34:12 +0000 (22:34 +0000)]
[Auto-roll] Bump up version to 3.29.19.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
511633002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23424
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Tue, 26 Aug 2014 19:35:48 +0000 (19:35 +0000)]
MIPS: Minor-key-ify new LoadICTrampolineStub.
Port r23409 (
31a0d5ae)
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
503393002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23423
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Tue, 26 Aug 2014 19:34:15 +0000 (19:34 +0000)]
MIPS: Added vector-based loadic hydrogen stubs. Not yet callable.
Port r23405 (
12573f34)
Original commit message:
The next step is to integrate the use of vector[slot] into the IC
infrastructure so it can do the right thing for a vector-based ic.
Then these stubs can be installed. For now, they immediately bail out
to the miss handler.
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
505303002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23422
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vogelheim@chromium.org [Tue, 26 Aug 2014 18:30:01 +0000 (18:30 +0000)]
Partial revert of r23415. Original message:
> Enable more tests that no longer fail with TF.
It looks like "V8 Win32 - 1" still has issues. Try to revert only the affected test.
BUG=
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
486543004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23421
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Tue, 26 Aug 2014 17:57:18 +0000 (17:57 +0000)]
MIPS: Move register conventions out of the IC classes.
Port r23391 (c3bf1dc)
Original commit message:
A change to a convention shouldn't require recompilation of ic.h/.cc.
BUG=
R=paul.lind@imgtec.com, vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
508673002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23420
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Tue, 26 Aug 2014 17:43:13 +0000 (17:43 +0000)]
MIPS: Minor-key-ify CallICStub and CallIC_ArrayStub.
Port r23403 (553b376)
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
503373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23419
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Tue, 26 Aug 2014 17:38:41 +0000 (17:38 +0000)]
MIPS: Change more PlatformCodeStubs to encode properties in the minor key.
Port r23394 (6366610)
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
511463002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23418
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 26 Aug 2014 17:04:34 +0000 (17:04 +0000)]
Make filter for optimized code sharing finer.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
506793003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23417
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rmcilroy@chromium.org [Tue, 26 Aug 2014 16:56:49 +0000 (16:56 +0000)]
Fix external snapshot reading by removing an assumption that strings in the snapshot file are null-terminated.
R=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
496253003
Patch from André Baixo <baixo@google.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23416
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 26 Aug 2014 16:42:09 +0000 (16:42 +0000)]
Enable more tests that no longer fail with TF.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
505203004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23415
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 26 Aug 2014 16:32:51 +0000 (16:32 +0000)]
Remove dead code from LookupResult
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
504183002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23414
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 26 Aug 2014 16:23:37 +0000 (16:23 +0000)]
Try again to fix Win32.
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
505193002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23413
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 26 Aug 2014 15:35:26 +0000 (15:35 +0000)]
Fix win32.
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
508653002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23412
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 26 Aug 2014 15:25:07 +0000 (15:25 +0000)]
Schedule floating control.
This CL makes several changes to the scheduling algorithm to handle control
flow that is not connected to End. Such control nodes constitute "floating
control islands" that must be linearized by the schedule. This is done
by considering such nodes to be schedulable, and then editing the control
dependencies after a first pass of scheduling. Then a subsequent pass of
scheduling will place all nodes correctly into the fully connected graph.
R=mstarzinger@chromium.org, rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
499363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23411
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 26 Aug 2014 15:17:57 +0000 (15:17 +0000)]
Move context specialization flag into CompilationInfo.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
507603003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23410
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Tue, 26 Aug 2014 14:56:35 +0000 (14:56 +0000)]
Minor-key-ify new LoadICTrampolineStub.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
500423002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23409
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 26 Aug 2014 14:41:58 +0000 (14:41 +0000)]
Use an enum of Flags internally in CompilationInfo.
This is a first step in cleaning up CompilationInfo; a subsequent logical step
would be to inline most is_* and Set* and Mark* calls so that most callers
can use call info.SetFlag(CompilationInfo::kMyFlag), or at the very least,
rename them all to be consistent with their enum flag names.
R=yangguo@chromium.org, bmeuer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
504163002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23408
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Tue, 26 Aug 2014 14:35:54 +0000 (14:35 +0000)]
Fix ASAN after r23404.
TBR=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
501403002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23407
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Tue, 26 Aug 2014 14:26:10 +0000 (14:26 +0000)]
Compilation fix.
Unnecessary assert irritated builder.
TBR=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
501393002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23406
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Tue, 26 Aug 2014 14:12:47 +0000 (14:12 +0000)]
Added vector-based loadic hydrogen stubs. Not yet callable.
The next step is to integrate the use of vector[slot] into the IC
infrastructure so it can do the right thing for a vector-based ic.
Then these stubs can be installed. For now, they immediately bail out
to the miss handler.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
499343002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23405
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Tue, 26 Aug 2014 13:14:46 +0000 (13:14 +0000)]
Handle empty allocation list in CodeRange properly.
BUG= 407566,v8:3540
LOG=Y
TEST=cctest/test-spaces/Regress3540
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
496433004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23404
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 26 Aug 2014 13:10:01 +0000 (13:10 +0000)]
Minor-key-ify CallICStub and CallIC_ArrayStub.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
491143003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23403
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 26 Aug 2014 13:09:08 +0000 (13:09 +0000)]
Introduce subclass wrappers for STL containers that make them a lot easier
to use with Zone. For example, subclasses add constructors that wrap a Zone
in a zone_allocator to save clients this verbosity.
R=bmeurer@chromium.org, mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
505133003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23402
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 26 Aug 2014 13:07:18 +0000 (13:07 +0000)]
Fix and re-enable test-api/InitializeAndDispose.
R=svenpanne@chromium.org
TEST=cctest/test-api/InitializeAndDispose
Review URL: https://codereview.chromium.org/
504093002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23401
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
loislo@chromium.org [Tue, 26 Aug 2014 13:05:54 +0000 (13:05 +0000)]
HeapProfiler: remove obsolete AddImplicitReferences
it hasn't been used since r149579. More than one year ago.
BUG=
R=marja@chromium.org, yurys@chromium.org
Review URL: https://codereview.chromium.org/
505983002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23400
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 26 Aug 2014 13:01:55 +0000 (13:01 +0000)]
Delete unused DescriptorArray::Append with whitenesswitness
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
501363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23399
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 26 Aug 2014 11:34:25 +0000 (11:34 +0000)]
Fixed inlining of constant values
Use CopyToRepresentation to elide HForceRepresentation of HConstant
BUG=v8:3529
LOG=y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
507613002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23397
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 26 Aug 2014 11:04:37 +0000 (11:04 +0000)]
[Auto-roll] Bump up version to 3.29.18.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
502973006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23396
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vogelheim@chromium.org [Tue, 26 Aug 2014 11:00:57 +0000 (11:00 +0000)]
Fix memory leak. Make "V8 Linux - memcheck" build bot happy.
Flags::SetFlagsFromCommandLine allocates memory to hold copies of string
arguments when calling Flag::set_string_value(..., true) and presently
noone deallocates this. Resetting the flags will clear this memory.
Since Flags can be used throughout the entire V8 lifetime,
Dispose/Teardown seems like the right location to free this
memory.
This is rarely a problem in practice, but the memcheck buildbot (rightly)
complains.
BUG=
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
505103003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23395
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 26 Aug 2014 10:39:20 +0000 (10:39 +0000)]
Change more PlatformCodeStubs to encode properties in the minor key.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
498283002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23394
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 26 Aug 2014 10:29:51 +0000 (10:29 +0000)]
Next attempt to fix NaCl build.
TBR=yangguo@chromium.org
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23393
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 26 Aug 2014 09:56:23 +0000 (09:56 +0000)]
Enable mjsunit/deserialize-reference for turbofan.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
503273003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23392
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Tue, 26 Aug 2014 09:50:09 +0000 (09:50 +0000)]
Move register conventions out of the IC classes.
A change to a convention shouldn't require recompilation of ic.h/.cc.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
486213003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23391
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 26 Aug 2014 09:48:46 +0000 (09:48 +0000)]
Fix build with ancient NaCl toolchain.
TBR=yanggou@chromium.org
Review URL: https://codereview.chromium.org/
504083002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23390
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 26 Aug 2014 09:19:24 +0000 (09:19 +0000)]
Replace our homegrown ARRAY_SIZE() with Chrome's arraysize().
Our own ARRAY_SIZE() was pretty bad at error checking. If you use
arrasize() in a wrong way, the compiler will issue an error instead of
silently doing the wrong thing. The previous ARRAY_SIZE() macro is still
available as ARRAYSIZE_UNSAFE() similar to Chrome.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
501323002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23389
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 26 Aug 2014 08:44:25 +0000 (08:44 +0000)]
Enable test cases that no longer timeout.
R=bmeurer@chromium.org
BUG=v8:3522,v8:3526
LOG=N
Review URL: https://codereview.chromium.org/
505113002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23388
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 26 Aug 2014 08:30:18 +0000 (08:30 +0000)]
[turbofan] Get rid of DefineAsDoubleRegister() and friends.
TEST=compiler-unittests,cctest,mjsunit
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
470623010
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23387
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 26 Aug 2014 08:29:12 +0000 (08:29 +0000)]
[turbofan] Add backend support for load/store float32 values.
This is the bare minimum required to support typed arrays. Support for
working with float32 values will be added based on this.
TEST=compiler-unittests,cctest
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
500343002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23386
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 26 Aug 2014 08:24:27 +0000 (08:24 +0000)]
Revert "Enable C++11 tests on windows."
This reverts commit 23383 because XP bots time out.
TBR=svenpanne@chromium.org
BUG=400033
LOG=n
Review URL: https://codereview.chromium.org/
497413004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23385
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 26 Aug 2014 07:22:46 +0000 (07:22 +0000)]
Whitespace change to verify MSVS2013 transition.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23384
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 26 Aug 2014 07:00:44 +0000 (07:00 +0000)]
Enable C++11 tests on windows.
TBR=svenpanne@chromium.org
BUG=400033
LOG=n
Review URL: https://codereview.chromium.org/
500353002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23383
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Tue, 26 Aug 2014 06:16:14 +0000 (06:16 +0000)]
X87: Eliminate code duplication in lithium calls to vector-based LoadICs
port r23359.
original commit message:
Eliminate code duplication in lithium calls to vector-based LoadICs
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
505103002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23382
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Tue, 26 Aug 2014 05:25:36 +0000 (05:25 +0000)]
X87: Move "slow handler" compiler code to handler-compiler
port r23347.
original commit message:
Move "slow handler" compiler code to handler-compiler
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
504043003
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23381
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Tue, 26 Aug 2014 03:56:24 +0000 (03:56 +0000)]
X87: Move handler compilers to handler-compiler
port r23346.
original commit message:
Move handler compilers to handler-compiler
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
504043002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23380
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 25 Aug 2014 20:04:23 +0000 (20:04 +0000)]
Teach chromium_roll script to roll v8 git hashes.
TEST=script_test.py
R=hinoka@google.com
Review URL: https://codereview.chromium.org/
504793002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23379
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 18:25:58 +0000 (18:25 +0000)]
MIPS: Eliminate code duplication in lithium calls to vector-based LoadICs.
Port r23359 (2e682e9)
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
503103002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23372
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 18:07:09 +0000 (18:07 +0000)]
MIPS: Encode CEntryStub properties in the minor key.
Port r23355 (1be1443)
Original commit message:
Eventually, all stubs should encode its properties in the minor key
so that stubs can be restored directly from the stub key.
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
505823003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23371
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 25 Aug 2014 16:39:25 +0000 (16:39 +0000)]
Enable TurboFan deopts for test-heap/NextCodeLinkIsWeak.
R=jarin@chromium.org
TEST=cctest/test-heap/NextCodeLinkIsWeak
Review URL: https://codereview.chromium.org/
500973002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23370
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 25 Aug 2014 16:32:35 +0000 (16:32 +0000)]
Fix continue statements within for-in loops.
R=titzer@chromium.org
TEST=cctest/test-run-jsbranches/ForInContinueStatement
BUG=v8:3522
LOG=N
Review URL: https://codereview.chromium.org/
502043002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23369
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 25 Aug 2014 16:22:04 +0000 (16:22 +0000)]
Fix GN build after r23364.
TBR=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
481333004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23368
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 16:15:50 +0000 (16:15 +0000)]
MIPS: Move "slow handler" compiler code to handler-compiler.
Port r23347 (e4cba22)
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
488103004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23367
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
vegorov@chromium.org [Mon, 25 Aug 2014 15:41:09 +0000 (15:41 +0000)]
Move kGroupCount out of DependencyGroup enum.
BUG=
R=svenpanne@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
488993004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23366
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Mon, 25 Aug 2014 15:17:06 +0000 (15:17 +0000)]
Introduce two new symbols for vector based ICs.
Vector based load ics need a premonomorphic and generic symbol.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
505763002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23365
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 15:15:26 +0000 (15:15 +0000)]
MIPS: Move handler compilers to handler-compiler.
Port r23346 (fd75a28)
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
501023002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23364
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Mon, 25 Aug 2014 15:00:35 +0000 (15:00 +0000)]
Fix int comparison with vector::size.
TBR=titzer@chromium.org
Review URL: https://codereview.chromium.org/
503023002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23363
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 25 Aug 2014 14:44:06 +0000 (14:44 +0000)]
Use correct BitField arguments in CEntryStub.
R=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
494543003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23362
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Mon, 25 Aug 2014 14:31:24 +0000 (14:31 +0000)]
Activate --harmony switch on test262-es6
R=dslomov@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
474423003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23361
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Mon, 25 Aug 2014 14:28:15 +0000 (14:28 +0000)]
Revert a mistake in Node::CollectProjections.
Fix for a bug I introduced in r23270.
BUG=
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
500023004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23360
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Mon, 25 Aug 2014 14:12:12 +0000 (14:12 +0000)]
Eliminate code duplication in lithium calls to vector-based LoadICs
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
500073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23359
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 25 Aug 2014 13:47:14 +0000 (13:47 +0000)]
Correctly return value. Fix for r23355.
TBR=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
500993002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23358
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 25 Aug 2014 13:39:43 +0000 (13:39 +0000)]
Teach v8rel script to read git hashes from DEPS.
The chromium DEPS file can refer to v8 git hashes now. These
are converted back into svn revision numbers for the v8
releases spreadsheet.
The DEPS file's quotation mark policy changed which affects
the regexp for retrieving the v8 revision ("->').
TEST=script_test.py
TEST=tools/push-to-trunk/releases.py -c /path/to/chromium/src --branch recent
R=hinoka@google.com
Review URL: https://codereview.chromium.org/
500023003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23357
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 25 Aug 2014 13:38:10 +0000 (13:38 +0000)]
Fix borked tests after r23354.
TBR=vogelheim@chromium.org
TEST=cctest/test-run-inlining
Review URL: https://codereview.chromium.org/
505753002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23356
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 25 Aug 2014 13:09:02 +0000 (13:09 +0000)]
Encode CEntryStub properties in the minor key.
Eventually, all stubs should encode its properties in the minor key
so that stubs can be restored directly from the stub key.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
502713003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23355
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 25 Aug 2014 13:07:09 +0000 (13:07 +0000)]
Bring back test coverage for baseline TurboFan.
R=sigurds@chromium.org
Review URL: https://codereview.chromium.org/
498243002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23354
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Mon, 25 Aug 2014 12:40:11 +0000 (12:40 +0000)]
X87: Move PropertyAccessCompiler and CallOptimization to their own files
port r23320.
orginal commit message:
Move PropertyAccessCompiler and CallOptimization to their own files
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
498183002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23353
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
paul.lind@imgtec.com [Mon, 25 Aug 2014 12:26:44 +0000 (12:26 +0000)]
MIPS: Add owners files to src/ic/mips*
Also remove old addresses from owners files.
BUG=
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
498093002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23352
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 25 Aug 2014 11:47:31 +0000 (11:47 +0000)]
Remove HolderIsNonGlobalHiddenPrototype since OWN* now also checks globals
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
502903002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23351
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 11:35:22 +0000 (11:35 +0000)]
MIPS: Move PropertyAccessCompiler and CallOptimization to their own files.
Port r23320 (ae06749)
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
498203002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23350
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 25 Aug 2014 11:34:43 +0000 (11:34 +0000)]
Clean up LookupIterator::Configuration naming
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
503663003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23349
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 25 Aug 2014 11:31:38 +0000 (11:31 +0000)]
Minor LookupIterator cleanups
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
480283003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23348
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 25 Aug 2014 11:20:43 +0000 (11:20 +0000)]
Move "slow handler" compiler code to handler-compiler
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
496283004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23347
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 25 Aug 2014 11:17:37 +0000 (11:17 +0000)]
Move handler compilers to handler-compiler
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
497083002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23346
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 25 Aug 2014 10:35:38 +0000 (10:35 +0000)]
[turbofan] Add backend support for signed loads.
Also rename the arch opcodes to match their native counterparts.
TEST=compiler-unittests,cctest
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
505713002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23345
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Mon, 25 Aug 2014 09:57:11 +0000 (09:57 +0000)]
X87: Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to the PropertyICCompiler
port r23311.
original commit message:
Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to the PropertyICCompiler
x
BUG=
R=verwaest@chromium.org, weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
503733002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23344
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 09:55:41 +0000 (09:55 +0000)]
MIPS: Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to the PropertyICCompiler.
Port r23311 (654ca86)
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
504743002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23343
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Mon, 25 Aug 2014 09:52:21 +0000 (09:52 +0000)]
X87: Add owners files to src/ic/x87/
BUG=
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
499563007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23342
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Mon, 25 Aug 2014 09:12:22 +0000 (09:12 +0000)]
Arguments object has @@iterator
R=arv@chromium.org, verwaest@chromium.org, rossberg@chromium.org
BUG=v8:3391
LOG=N
TEST=mjsunit/harmony/arguments-iterator.js
Review URL: https://codereview.chromium.org/
342453002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23341
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 09:09:25 +0000 (09:09 +0000)]
MIPS: Move IC code into a subdir and move ic-compilation related code from stub-cache into ic-compiler.
Port r23306 (b95f295)
BUG=
R=paul.lind@imgtec.com, verwaest@chromium.org
Review URL: https://codereview.chromium.org/
496393002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23340
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Mon, 25 Aug 2014 09:00:04 +0000 (09:00 +0000)]
x87: Move IC code into a subdir and move ic-compilation related code from stub-cache into ic-compiler
port r23306.
original commit message:
Move IC code into a subdir and move ic-compilation related code from stub-cache into ic-compiler.
BUG=
R=verwaest@chromium.org, weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
500923002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23339
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
aandrey@chromium.org [Mon, 25 Aug 2014 08:56:31 +0000 (08:56 +0000)]
Expose Value::IsMap, IsSet, IsWeakMap, IsWeakSet in V8 API.
These checks will be needed for DevTools.
R=yangguo@chromium.org, svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
464413002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23338
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 25 Aug 2014 07:48:58 +0000 (07:48 +0000)]
Remove mention of `RegExp.$input`
R=yangguo@chromium.org, arv@chromium.org
BUG=v8:3486
LOG=N
Review URL: https://codereview.chromium.org/
503703002
Patch from Mathias Bynens <mathias@qiwi.be>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23337
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 25 Aug 2014 07:32:29 +0000 (07:32 +0000)]
Add LTO support for Android Chromium.
This is to add support for a Link-Time Optimizations experiment in Android Chromium. As it is disabled by default, it won't change anything for most configurations.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
497713002
Patch from Fabrice de Gans <fdegans@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23336
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 25 Aug 2014 07:04:21 +0000 (07:04 +0000)]
Fix GC mole warning.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
506513002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23335
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Mon, 25 Aug 2014 07:02:19 +0000 (07:02 +0000)]
Fix deoptimization address patching in Turbofan to use safepoints.
Since the deopt patch address needs to be available during GC to
resolve safepoints, we need to move it to the code object (instead of
the deoptimization input data) - accessing a separate fixed array
is not safe during GC. This CL adds a deoptimization_pc field to
each safepoint. The fields points to the deoptimization block.
The CL also fixes wrong register allocator constraints for
frame states on calls. These should always live on the stack
because registers are not preserved during a call.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
504493002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23334
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 25 Aug 2014 06:57:13 +0000 (06:57 +0000)]
Correctly forward-declare inline function headers in generic-node.h
R=bmeurer@chromium.org, jarin@chromium.org
Review URL: https://codereview.chromium.org/
488363003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23331
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 25 Aug 2014 04:24:39 +0000 (04:24 +0000)]
Rename CountSetBits32 to CountPopulation32 for consistency.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
502803002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23330
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00