platform/upstream/v8.git
10 years agoAlways compile functions in the snapshot with deoptimization support.
jkummerow@chromium.org [Tue, 14 Oct 2014 09:59:24 +0000 (09:59 +0000)]
Always compile functions in the snapshot with deoptimization support.

This prevents an unnecessary deopt-reopt cycle due to type feedback
having been thrown away as part of recompiling with deopt support.
(For non-snapshotted functions this is not an issue.)

Bonus: Add missing space in --trace-ic output, and provide names for
PropertyDescriptor's methods, because passing anonymous functions to
SetUpLockedPrototype frightens and confuses our FuncNameInferrer.

R=hpayer@chromium.org, yangguo@chromium.org

Review URL: https://codereview.chromium.org/648243002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24592 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Add support for shifted and rotated operands on ARM64.
baptiste.afsa@arm.com [Tue, 14 Oct 2014 09:28:53 +0000 (09:28 +0000)]
[turbofan] Add support for shifted and rotated operands on ARM64.

R=bmeurer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/642923003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24591 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agobuild fix
dcarney@chromium.org [Tue, 14 Oct 2014 09:22:21 +0000 (09:22 +0000)]
build fix

TBR=bmeurer@chromium.org

BUG=

Review URL: https://codereview.chromium.org/652163002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24590 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSwitch chromium roll script to git.
machenbach@chromium.org [Tue, 14 Oct 2014 09:00:16 +0000 (09:00 +0000)]
Switch chromium roll script to git.

BUG=chromium:418923,chromium:410721
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org

Review URL: https://codereview.chromium.org/657483002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd control input to LoadField.
sigurds@chromium.org [Tue, 14 Oct 2014 08:59:27 +0000 (08:59 +0000)]
Add control input to LoadField.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/649183003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24588 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] remove some of the dependency of Instruction on Schedule
dcarney@chromium.org [Tue, 14 Oct 2014 08:51:22 +0000 (08:51 +0000)]
[turbofan] remove some of the dependency of Instruction on Schedule

R=bmeurer@chromium.org

BUG=

Review URL: https://codereview.chromium.org/646393002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24584 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Output schedule, instructions and register allocator in C1 visualizer...
jarin@chromium.org [Tue, 14 Oct 2014 08:43:33 +0000 (08:43 +0000)]
[turbofan] Output schedule, instructions and register allocator in C1 visualizer format when --turbo-trace is specified.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/637313002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24583 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Use register for instruction operands when SameAsFirst is specified.
jarin@chromium.org [Tue, 14 Oct 2014 08:34:20 +0000 (08:34 +0000)]
[turbofan] Use register for instruction operands when SameAsFirst is specified.

As the register allocator cannot reuse spill slots, SameAsFirst
constraint means that we would have to do an expensive move to a
differen spill slot if we choose to spill. Forcing the operand
to a register is cheaper.

In zlib, we get >10% speed-up for ia32, >25% for x64.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/650083003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24580 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoIncrease final idle time in idle notifcation of test test-api/Regress2107.
hpayer@chromium.org [Tue, 14 Oct 2014 08:10:41 +0000 (08:10 +0000)]
Increase final idle time in idle notifcation of test test-api/Regress2107.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/653863002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24579 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[arm] Drop SMMLS support.
bmeurer@chromium.org [Tue, 14 Oct 2014 07:47:27 +0000 (07:47 +0000)]
[arm] Drop SMMLS support.

Apparently

 SMMLS r, b, c, a

computes

 r = ((a << 32) - b * c) >> 32

while the documentation is kinda misleading and states that it should
compute

 r = a - ((b * c) >> 32)

The actual behavior is kinda useless, so we drop the instruction again.

TEST=cctest,unittests
TBR=dcarney@chromium.org

Review URL: https://codereview.chromium.org/654653004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24577 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[arm] Add support for SMMLA, SMMLS and SMMUL.
bmeurer@chromium.org [Tue, 14 Oct 2014 05:03:04 +0000 (05:03 +0000)]
[arm] Add support for SMMLA, SMMLS and SMMUL.

TEST=cctest,unittests
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/648283002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24575 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Add OWNERS file for compiler unittests.
bmeurer@chromium.org [Tue, 14 Oct 2014 03:55:43 +0000 (03:55 +0000)]
MIPS: Add OWNERS file for compiler unittests.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/648413003

Patch from Paul Lind <paul.lind@imgtec.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24574 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix non-TF targets after r24546.
bmeurer@chromium.org [Tue, 14 Oct 2014 03:46:37 +0000 (03:46 +0000)]
Fix non-TF targets after r24546.

Fix mips64 and x87 builds.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/644463005

Patch from Paul Lind <paul.lind@imgtec.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24573 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Support for super assignments in for..in.
weiliang.lin@intel.com [Tue, 14 Oct 2014 02:55:29 +0000 (02:55 +0000)]
X87: Support for super assignments in for..in.

port r24560.

original commit message:
  Support for super assignments in for..in.

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/653823002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24572 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: [turbofan] Make VisitBranch and friends to backend specific.
paul.lind@imgtec.com [Mon, 13 Oct 2014 23:31:59 +0000 (23:31 +0000)]
MIPS: [turbofan] Make VisitBranch and friends to backend specific.

Port r24546 (c3443cd)

Original commit message:
This is required to fix a tricky branch fusion bug on ARM, which was
caused by the interaction between the architecture-independent and
architecture-specific parts of the InstructionSelector. In the end it
wasn't worth sharing a few common lines of code for the additional
complexity, especially if we also want to properly support architectures
without any dedicated flags register (i.e. MIPS).

TEST=mjsunit,unittests
BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/644973003

Patch from Balazs Kilvady <balazs.kilvady@imgtec.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24571 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Support for super assignments in for..in.
balazs.kilvady@imgtec.com [Mon, 13 Oct 2014 19:28:25 +0000 (19:28 +0000)]
MIPS: Support for super assignments in for..in.

Port r24560 (ef1070b)

BUG=v8:3330
LOG=N
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/641803003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24570 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix IdleNotificationFinishMarking test on slow devices.
hpayer@chromium.org [Mon, 13 Oct 2014 18:54:20 +0000 (18:54 +0000)]
Fix IdleNotificationFinishMarking test on slow devices.

BUG=
TBR=ulan@chromium.org

Review URL: https://codereview.chromium.org/641533004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24569 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSwitch schedule early phase to basic blocks.
mstarzinger@chromium.org [Mon, 13 Oct 2014 16:32:12 +0000 (16:32 +0000)]
Switch schedule early phase to basic blocks.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/649203002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24568 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoCheck if there is still time before finalizing an incremental collection.
hpayer@chromium.org [Mon, 13 Oct 2014 16:27:55 +0000 (16:27 +0000)]
Check if there is still time before finalizing an incremental collection.

BUG=
R=erik.corry@gmail.com, ulan@chromium.org

Review URL: https://codereview.chromium.org/629903003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24567 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Fix scheduler to correctly schedule nested diamonds."
sigurds@chromium.org [Mon, 13 Oct 2014 16:08:29 +0000 (16:08 +0000)]
Revert "Fix scheduler to correctly schedule nested diamonds."

This reverts commit 0ab306041a6eba99fe5e2ef78251de137321f559.

"Fix" make scheduler run out of memory.

TBR=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/656473002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24566 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRefactor FrameAndConstantPoolScope and ConstantPoolUnavailableScope to be architectur...
rmcilroy@chromium.org [Mon, 13 Oct 2014 14:41:33 +0000 (14:41 +0000)]
Refactor FrameAndConstantPoolScope and ConstantPoolUnavailableScope to be architecture independent

Move the FrameAndConstantPoolScope and ConstantPoolUnavailableScope out of the arm architecture directory to enable them to be used on all architectures.

R=rmcilroy@chromium.org

Review URL: https://codereview.chromium.org/609843002

Patch from André Baixo <baixo@google.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24565 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Unbreak gn build, missing source files for MIPS tf.
dusan.milosavljevic@imgtec.com [Mon, 13 Oct 2014 14:18:10 +0000 (14:18 +0000)]
MIPS: Unbreak gn build, missing source files for MIPS tf.

TEST=
BUG=
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/654583002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24564 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix scheduler to correctly schedule nested diamonds.
sigurds@chromium.org [Mon, 13 Oct 2014 13:07:49 +0000 (13:07 +0000)]
Fix scheduler to correctly schedule nested diamonds.

The scheduler rewires control based on the last *control*
node that appears in the schedule of a block. This is not
sufficient to account for dependencies.

This patch adds additional dependencies to floating control
nodes. Given a floating control node A, every non-control
dependency of every node B that depends on A is introduces
as an additional dependency of A.

This allows the scheduler to correctly schedule two
diamonds A, B, if their only correct schedule is to
schedule B into the ifTrue successor in A.

TEST=cctest/test-scheduler/NestedFloatingDiamonds
R=mstarzinger@chromium.org, titzer@chromium.org

Review URL: https://codereview.chromium.org/602083003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24561 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSupport for super assignments in for..in.
dslomov@chromium.org [Mon, 13 Oct 2014 12:46:46 +0000 (12:46 +0000)]
Support for super assignments in for..in.

R=ishell@chromium.org, arv@chromium.org
BUG=v8:3330
LOG=N

Review URL: https://codereview.chromium.org/639243003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24560 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMake releases script ready for the new git workflow.
machenbach@chromium.org [Mon, 13 Oct 2014 12:34:53 +0000 (12:34 +0000)]
Make releases script ready for the new git workflow.

BUG=chromium:410721
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org

Review URL: https://codereview.chromium.org/646383002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24558 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMark some test262 cases as known failures after r24495.
mstarzinger@chromium.org [Mon, 13 Oct 2014 11:11:15 +0000 (11:11 +0000)]
Mark some test262 cases as known failures after r24495.

R=dslomov@chromium.org

Review URL: https://codereview.chromium.org/650863002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24555 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Optimize Int32Mod by power-of-two.
bmeurer@chromium.org [Mon, 13 Oct 2014 11:09:32 +0000 (11:09 +0000)]
[turbofan] Optimize Int32Mod by power-of-two.

TEST=mjsunit/asm/int32-tmod,unittests
R=dcarney@chromium.org

Review URL: https://codereview.chromium.org/649083005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24554 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Refine expression typing, esp. by propagating range information."
neis@chromium.org [Mon, 13 Oct 2014 10:48:01 +0000 (10:48 +0000)]
Revert "Refine expression typing, esp. by propagating range information."

This reverts commit 24552.

TBR=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/648163002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24553 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRefine expression typing, esp. by propagating range information.
neis@chromium.org [Mon, 13 Oct 2014 10:40:29 +0000 (10:40 +0000)]
Refine expression typing, esp. by propagating range information.

R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/618803003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix typedarray tests.
dslomov@chromium.org [Mon, 13 Oct 2014 09:48:50 +0000 (09:48 +0000)]
Fix typedarray tests.

1. Fixed typo. lenght -> length. Arbitary -> Arbitrary.
2. TypedArray DataView property getters should throw TypeError when called on
    incompatible types.
3. Should not use integers as keys in the arbitrary-properties test.

R=dslomov@chromium.org, yangguo@chromium.org

Review URL: https://codereview.chromium.org/652603002

Patch from Xueqiao Xu <xuq@google.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24551 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agov8_external_snapshot target visible only when using v8_use_external_startup_data
rmcilroy@chromium.org [Mon, 13 Oct 2014 09:36:12 +0000 (09:36 +0000)]
v8_external_snapshot target visible only when using v8_use_external_startup_data

Prevent snapshot_blob.bin from being unnecessarily generated when building all targets.
When such file exists, chrome_tests assumes we will load V8's initial snapshot from
external files, even when such feature is turned off, which prevents the tests from
being successfully compiled.

BUG=421063
LOG=N
R=rmcilroy@chromium.org

Review URL: https://codereview.chromium.org/643163002

Patch from André Baixo <baixo@google.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24550 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRun benchmarks tests with --turbo-asm flag.
bmeurer@chromium.org [Mon, 13 Oct 2014 09:30:27 +0000 (09:30 +0000)]
Run benchmarks tests with --turbo-asm flag.

R=machenbach@chromium.org, mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/646373002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24549 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Embed the actual backing store address for typed loads/stores.
bmeurer@chromium.org [Mon, 13 Oct 2014 09:17:33 +0000 (09:17 +0000)]
[turbofan] Embed the actual backing store address for typed loads/stores.

TEST=unittests
R=dcarney@chromium.org

Review URL: https://codereview.chromium.org/650843002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24548 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoScript streaming: UTF-8 handling fix.
marja@chromium.org [Mon, 13 Oct 2014 09:01:54 +0000 (09:01 +0000)]
Script streaming: UTF-8 handling fix.

The problem was that there can be several multi-byte UTF-8 characters near the
splitting point of the data chunks, and the code didn't handle it properly.

This was also the source of crbug.com/417891 - I thought the crash can only
happen when V8 is passed invalid UTF-8 data, but it can also happen in the
abovementioned case. After the fix, we handle the valid UTF-8 case and also
guard against invalid UTF-8 data.

R=yangguo@chromium.org
BUG=chromium:417891
LOG=N

Review URL: https://codereview.chromium.org/654503002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24547 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Make VisitBranch and friends to backend specific.
bmeurer@chromium.org [Mon, 13 Oct 2014 08:15:03 +0000 (08:15 +0000)]
[turbofan] Make VisitBranch and friends to backend specific.

This is required to fix a tricky branch fusion bug on ARM, which was
caused by the interaction between the architecture-independent and
architecture-specific parts of the InstructionSelector. In the end it
wasn't worth sharing a few common lines of code for the additional
complexity, especially if we also want to properly support architectures
without any dedicated flags register (i.e. MIPS).

TEST=mjsunit,unittests
R=dcarney@chromium.org

Review URL: https://codereview.chromium.org/651783003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24546 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] remove graph from InstructionSequence
dcarney@chromium.org [Mon, 13 Oct 2014 08:09:27 +0000 (08:09 +0000)]
[turbofan] remove graph from InstructionSequence

R=bmeurer@chromium.org

BUG=

Review URL: https://codereview.chromium.org/652643002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24545 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix build failure.
yangguo@chromium.org [Mon, 13 Oct 2014 07:57:40 +0000 (07:57 +0000)]
Fix build failure.

TBR=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/650823002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24544 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAlways include full reloc info to stubs for serialization.
yangguo@chromium.org [Mon, 13 Oct 2014 07:50:21 +0000 (07:50 +0000)]
Always include full reloc info to stubs for serialization.

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/641643006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24543 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan]IA: ChangeFloat32ToFloat64 supports mem operand
dcarney@chromium.org [Mon, 13 Oct 2014 07:42:35 +0000 (07:42 +0000)]
[turbofan]IA: ChangeFloat32ToFloat64 supports mem operand

BUG=
R=titzer@chromium.org

Review URL: https://codereview.chromium.org/641153003

Patch from Jing Bao <jing.bao@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24542 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] IA: TruncateFloat64ToFloat32 supports mem operand
dcarney@chromium.org [Mon, 13 Oct 2014 07:12:57 +0000 (07:12 +0000)]
[turbofan] IA: TruncateFloat64ToFloat32 supports mem operand

BUG=
R=dcarney@chromium.org

Review URL: https://codereview.chromium.org/639283003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24541 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Introduce FeedbackVectorSlot type - better than int.
weiliang.lin@intel.com [Mon, 13 Oct 2014 01:54:44 +0000 (01:54 +0000)]
X87: Introduce FeedbackVectorSlot type - better than int.

port r24528.

original commit message:

  Introduce FeedbackVectorSlot type - better than int.

  It's good to have typing around this value.

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/645323002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24540 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Teach TurboFan to call vector-based ICs.
weiliang.lin@intel.com [Sat, 11 Oct 2014 06:00:44 +0000 (06:00 +0000)]
X87: Teach TurboFan to call vector-based ICs.

port r24519.

original commit message:

  Teach TurboFan to call vector-based ICs.

  Additional static information needs to be passed to Load and KeyedLoad calls if
  --vector-ics is turned on

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/645273002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24537 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Fix loading Float64 constants in turbofan.
dusan.milosavljevic@imgtec.com [Fri, 10 Oct 2014 18:00:58 +0000 (18:00 +0000)]
MIPS: Fix loading Float64 constants in turbofan.

TEST=ctest/test-run-machops/RunFloat64SubImm1,
     RunFloat64SubImm2, RunFloat64MulImm, RunFloat64Compare

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/646923003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24536 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd test case for SparseJoin misbehavior with getters
adamk@chromium.org [Fri, 10 Oct 2014 17:17:00 +0000 (17:17 +0000)]
Add test case for SparseJoin misbehavior with getters

BUG=v8:3621
LOG=N
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/645703003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24535 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Introduce FeedbackVectorSlot type - better than int.
balazs.kilvady@imgtec.com [Fri, 10 Oct 2014 16:17:10 +0000 (16:17 +0000)]
MIPS: Introduce FeedbackVectorSlot type - better than int.

Port r24528 (f7b7e5a)

Original commit message:
It's good to have typing around this value.

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/644583004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24534 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSplit off remaining runtime functions in runtime.cc.
yangguo@chromium.org [Fri, 10 Oct 2014 14:59:53 +0000 (14:59 +0000)]
Split off remaining runtime functions in runtime.cc.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/638423003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24533 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Teach TurboFan to call vector-based ICs.
balazs.kilvady@imgtec.com [Fri, 10 Oct 2014 13:56:34 +0000 (13:56 +0000)]
MIPS: Teach TurboFan to call vector-based ICs.

Port r24519 (842debf)

Original commit message:
Additional static information needs to be passed to Load and KeyedLoad calls if
--vector-ics is turned on.

BUG=
R=dusan.milosavljevic@imgtec.com

Review URL: https://codereview.chromium.org/645883002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24532 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUse phase-local zone in the graph builder.
mstarzinger@chromium.org [Fri, 10 Oct 2014 13:40:08 +0000 (13:40 +0000)]
Use phase-local zone in the graph builder.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/640423005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24531 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDisable webkit/array-iterate-backwards test in --gc-stress mode for turbofan
ishell@chromium.org [Fri, 10 Oct 2014 13:36:54 +0000 (13:36 +0000)]
Disable webkit/array-iterate-backwards test in --gc-stress mode for turbofan

TBR=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/647743002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24530 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix type feedback for name-keyed stores
jkummerow@chromium.org [Fri, 10 Oct 2014 13:27:52 +0000 (13:27 +0000)]
Fix type feedback for name-keyed stores

BUG=chromium:422212
LOG=n
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/648703002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24529 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoIntroduce FeedbackVectorSlot type - better than int.
mvstanton@chromium.org [Fri, 10 Oct 2014 13:22:10 +0000 (13:22 +0000)]
Introduce FeedbackVectorSlot type - better than int.

It's good to have typing around this value.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/641373002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24528 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoBogus assert caused turbofan failure.
mvstanton@chromium.org [Fri, 10 Oct 2014 13:09:41 +0000 (13:09 +0000)]
Bogus assert caused turbofan failure.

TBR=ishell@chromium.org

Review URL: https://codereview.chromium.org/643913002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoImprove comments and readability of scheduler.
mstarzinger@chromium.org [Fri, 10 Oct 2014 11:57:55 +0000 (11:57 +0000)]
Improve comments and readability of scheduler.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/642803003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24526 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove fixpoint workaround from schedule early phase.
mstarzinger@chromium.org [Fri, 10 Oct 2014 11:49:53 +0000 (11:49 +0000)]
Remove fixpoint workaround from schedule early phase.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/646613002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24525 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAST nodes have at most one bailout/typefeedback ID now, saving lots of memory.
svenpanne@chromium.org [Fri, 10 Oct 2014 10:52:31 +0000 (10:52 +0000)]
AST nodes have at most one bailout/typefeedback ID now, saving lots of memory.

This is basically https://codereview.chromium.org/569573002/ done right:

During construction, each node type tells its parent how many IDs it
needs in addition to the parent's ones. This is done all the way up in
the class hierarchy until a node's parent doesn't need any ID. At that
point we know how many IDs in summary are needed, and we reserve the
whole range at once, saving only the base ID of that range. All IDs
are now calculated via simple offsets to that base ID. To all
performaniacs: The C++ compiler simplifies the constant calculation to
a simple load and the addition of a single constant.

Note that the actual code is much simpler than all that prose above. :-)
It's basically how compilers for OO languages figure out vtable entries.

We still have lots of holes due to padding in the AST nodes, but this
will be addressed in a separate CL.

BUG=chromium:417697
LOG=y
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/643633003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24524 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoReset code age when serializing code objects.
yangguo@chromium.org [Fri, 10 Oct 2014 10:51:34 +0000 (10:51 +0000)]
Reset code age when serializing code objects.

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/642283002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24523 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoKeyed loads from super with numeric keys.
dslomov@chromium.org [Fri, 10 Oct 2014 10:40:29 +0000 (10:40 +0000)]
Keyed loads from super with numeric keys.

R=ishell@chromium.org, arv@chromium.org
BUG=v8:3330
LOG=N

Review URL: https://codereview.chromium.org/638193004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24522 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSet output representation of HIsStringAndBranch to tagged.
ulan@chromium.org [Fri, 10 Oct 2014 10:35:30 +0000 (10:35 +0000)]
Set output representation of HIsStringAndBranch to tagged.

BUG=chromium:421877
LOG=N
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/641313003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Optimize Uint32LessThan with Word32Sar.
bmeurer@chromium.org [Fri, 10 Oct 2014 10:23:04 +0000 (10:23 +0000)]
[turbofan] Optimize Uint32LessThan with Word32Sar.

TEST=unittests
R=jarin@chromium.org

Review URL: https://codereview.chromium.org/648663002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24520 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoTeach TurboFan to call vector-based ICs.
mvstanton@chromium.org [Fri, 10 Oct 2014 09:49:43 +0000 (09:49 +0000)]
Teach TurboFan to call vector-based ICs.

Additional static information needs to be passed to Load and KeyedLoad calls if
--vector-ics is turned on.

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/633423002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24519 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Fix for r24501.
akos.palfi@imgtec.com [Fri, 10 Oct 2014 09:06:55 +0000 (09:06 +0000)]
MIPS: Fix for r24501.

BUG=
R=akos.palfi@imgtec.com

Review URL: https://codereview.chromium.org/646863003

Patch from Paul Lind <paul.lind@imgtec.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24516 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUpdate .gitignore with test/test262-es6/data.
yangguo@chromium.org [Fri, 10 Oct 2014 08:48:39 +0000 (08:48 +0000)]
Update .gitignore with test/test262-es6/data.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/646933002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24515 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Fix typed lowering of typed array loads/stores.
bmeurer@chromium.org [Fri, 10 Oct 2014 08:10:29 +0000 (08:10 +0000)]
[turbofan] Fix typed lowering of typed array loads/stores.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/646483003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24514 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoConform to the unittest naming convention.
yangguo@chromium.org [Fri, 10 Oct 2014 08:06:21 +0000 (08:06 +0000)]
Conform to the unittest naming convention.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/644973002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24513 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix typo in Mac GetCurrentThreadId
jochen@chromium.org [Fri, 10 Oct 2014 07:27:33 +0000 (07:27 +0000)]
Fix typo in Mac GetCurrentThreadId

BUG=none
TBR=svenpanne@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/642223003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24512 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSync OS::GetCurrentThreadId with chromium's/blink's implementation
jochen@chromium.org [Fri, 10 Oct 2014 07:22:57 +0000 (07:22 +0000)]
Sync OS::GetCurrentThreadId with chromium's/blink's implementation

Compare third_party/WebKit/Source/wtf/ThreadingPthreads.cpp

BUG=v8:3620
R=svenpanne@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/649553002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24511 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAllow identifier code points from supplementary multilingual planes.
yangguo@chromium.org [Fri, 10 Oct 2014 07:13:46 +0000 (07:13 +0000)]
Allow identifier code points from supplementary multilingual planes.

ES5.1 section 6 ("Source Text"):
"Throughout the rest of this document, the phrase “code unit” and the
word “character” will be used to refer to a 16-bit unsigned value
used to represent a single 16-bit unit of text."

This changed in ES6 draft section 10.1 ("Source Text"):
"The ECMAScript code is expressed using Unicode, version 5.1 or later.
ECMAScript source text is a sequence of code points. All Unicode code
point values from U+0000 to U+10FFFF, including surrogate code points,
may occur in source text where permitted by the ECMAScript grammars."

This patch is to reflect this spec change.

BUG=v8:3617
LOG=Y
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/640193002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24510 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMake benchmark runner understand chromium perf output.
machenbach@chromium.org [Fri, 10 Oct 2014 07:12:38 +0000 (07:12 +0000)]
Make benchmark runner understand chromium perf output.

BUG=406405
LOG=n
TEST=python -m unittest run_benchmarks_test
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/498163002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24509 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Fix uninitialized FixedArray potentially being left behind by ElementsTransition...
weiliang.lin@intel.com [Fri, 10 Oct 2014 06:04:31 +0000 (06:04 +0000)]
X87: Fix uninitialized FixedArray potentially being left behind by ElementsTransitionGenerator::Generate.

port r24498.

original commit message:
  Fix uninitialized FixedArray potentially being left behind by ElementsTransitionGenerator::Generate.

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/643793002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24508 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Keyed stores to super where key is a name.
weiliang.lin@intel.com [Fri, 10 Oct 2014 05:44:13 +0000 (05:44 +0000)]
X87: Keyed stores to super where key is a name.

port r24490.

original commit message:
   Keyed stores to super where key is a name.

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/649533002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24507 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Add MEGAMORPHIC state support for KeyedStoreIC
weiliang.lin@intel.com [Fri, 10 Oct 2014 05:40:44 +0000 (05:40 +0000)]
X87: Add MEGAMORPHIC state support for KeyedStoreIC

port r24500.

original commit message:

  Add MEGAMORPHIC state support for KeyedStoreIC

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/642843004

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24506 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Add MEGAMORPHIC state support for KeyedStoreIC.
balazs.kilvady@imgtec.com [Thu, 9 Oct 2014 18:09:14 +0000 (18:09 +0000)]
MIPS: Add MEGAMORPHIC state support for KeyedStoreIC.

Port r24500 (e10f342)

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/645593006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24503 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Fix uninitialized FixedArray potentially being left behind by ElementsTransitio...
balazs.kilvady@imgtec.com [Thu, 9 Oct 2014 17:06:17 +0000 (17:06 +0000)]
MIPS: Fix uninitialized FixedArray potentially being left behind by ElementsTransitionGenerator::GenerateDoubleToObject.

Port r24498 (eeef8c0)

BUG=chromium:421843
LOG=n
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/645633002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24502 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Keyed stores to super where key is a name.
balazs.kilvady@imgtec.com [Thu, 9 Oct 2014 15:33:10 +0000 (15:33 +0000)]
MIPS: Keyed stores to super where key is a name.

Port r24490 (839f44c)

BUG=v:3330
LOG=N
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/641093002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24501 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd MEGAMORPHIC state support for KeyedStoreIC
jkummerow@chromium.org [Thu, 9 Oct 2014 14:30:44 +0000 (14:30 +0000)]
Add MEGAMORPHIC state support for KeyedStoreIC

R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/584043002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24500 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix computation of UTC time from local time at DST change points.
ulan@chromium.org [Thu, 9 Oct 2014 14:17:33 +0000 (14:17 +0000)]
Fix computation of UTC time from local time at DST change points.

This also reverts r23606, which was an incorrect fix.

BUG=v8:3116,chromium:417640,chromium:415424
LOG=Y
TEST=mjsunit/regress/regress-3116.js
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/639383002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24499 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix uninitialized FixedArray potentially being left behind by ElementsTransitionGener...
jkummerow@chromium.org [Thu, 9 Oct 2014 14:12:05 +0000 (14:12 +0000)]
Fix uninitialized FixedArray potentially being left behind by ElementsTransitionGenerator::GenerateDoubleToObject

BUG=chromium:421843
LOG=n
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/636313003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24498 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove deprecated verification for context separation.
mstarzinger@chromium.org [Thu, 9 Oct 2014 14:01:59 +0000 (14:01 +0000)]
Remove deprecated verification for context separation.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/636173002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24497 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove perf tests that are moved to another location.
machenbach@chromium.org [Thu, 9 Oct 2014 13:25:42 +0000 (13:25 +0000)]
Remove perf tests that are moved to another location.

TBR=dslomov@chromium.org, bmeurer@chromium.org

Review URL: https://codereview.chromium.org/645583002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24496 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoConvert `obj` ToObject in Object.keys()
dslomov@chromium.org [Thu, 9 Oct 2014 13:19:02 +0000 (13:19 +0000)]
Convert `obj` ToObject in Object.keys()

BUG=v8:3587
LOG=Y
R=arv@chromium.org, dslomov@chromium.org

Review URL: https://codereview.chromium.org/585373003

Patch from Caitlin Potter <caitpotter88@gmail.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24495 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[ia32] Use more efficient encoding when loading integer constants.
bmeurer@chromium.org [Thu, 9 Oct 2014 12:50:13 +0000 (12:50 +0000)]
[ia32] Use more efficient encoding when loading integer constants.

R=titzer@chromium.org

Review URL: https://codereview.chromium.org/642053002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24494 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMove js perf test to another directory.
machenbach@chromium.org [Thu, 9 Oct 2014 12:41:36 +0000 (12:41 +0000)]
Move js perf test to another directory.

TBR=dslomov@chromium.org, bmeurer@chromium.org

Review URL: https://codereview.chromium.org/641033003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24493 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Eliminate redundant masking operations for word8/word16 stores.
bmeurer@chromium.org [Thu, 9 Oct 2014 12:20:45 +0000 (12:20 +0000)]
[turbofan] Eliminate redundant masking operations for word8/word16 stores.

There's no need to apply 0xff when storing 8-bit values or 0xffff when
storing 16-bit values.

TEST=unittests
R=titzer@chromium.org

Review URL: https://codereview.chromium.org/642033002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24492 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[ia32] Fix for no SSE4.1.
bmeurer@chromium.org [Thu, 9 Oct 2014 12:16:27 +0000 (12:16 +0000)]
[ia32] Fix for no SSE4.1.

TBR=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/645553002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24491 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoKeyed stores to super where key is a name.
dslomov@chromium.org [Thu, 9 Oct 2014 11:36:22 +0000 (11:36 +0000)]
Keyed stores to super where key is a name.

R=arv@chromium.org, ishell@chromium.org
BUG=v:3330
LOG=N

Review URL: https://codereview.chromium.org/638623002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24490 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove default NOP implementation of MonotonicallyIncreasingTime.
rmcilroy@chromium.org [Thu, 9 Oct 2014 10:44:30 +0000 (10:44 +0000)]
Remove default NOP implementation of MonotonicallyIncreasingTime.

BUG=417668
LOG=N
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/641653002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24489 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSimplify Scope and ScopePtr conversions.
dslomov@chromium.org [Thu, 9 Oct 2014 10:40:18 +0000 (10:40 +0000)]
Simplify Scope and ScopePtr conversions.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/643603002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24488 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd link to tsan bug to suppression
jochen@chromium.org [Thu, 9 Oct 2014 09:51:21 +0000 (09:51 +0000)]
Add link to tsan bug to suppression

TBR=machenbach@chromium.org
LOG=n
BUG=none

Review URL: https://codereview.chromium.org/646493002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24487 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Improve runtime detection and compatibility wrt arch. revisions.
dusan.milosavljevic@imgtec.com [Thu, 9 Oct 2014 09:39:23 +0000 (09:39 +0000)]
MIPS: Improve runtime detection and compatibility wrt arch. revisions.

TEST=
BUG=
R=jkummerow@chromium.org, paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/618193005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24486 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[ia32] Better code generation for materialization of float/double constants.
bmeurer@chromium.org [Thu, 9 Oct 2014 09:32:59 +0000 (09:32 +0000)]
[ia32] Better code generation for materialization of float/double constants.

TEST=cctest,mjsunit
R=mstarzinger@chromium.org, jarin@chromium.org

Review URL: https://codereview.chromium.org/645493002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24485 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoIntroduce a tsan suppressions file
jochen@chromium.org [Thu, 9 Oct 2014 09:32:04 +0000 (09:32 +0000)]
Introduce a tsan suppressions file

Also suppress a deliberate lock cycle in test-lockers

BUG=none
R=glider@chromium.org, machenbach@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/642023002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24484 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoStore local copies of flags needed on the background thread
jochen@chromium.org [Thu, 9 Oct 2014 09:21:46 +0000 (09:21 +0000)]
Store local copies of flags needed on the background thread

BUG=none
R=yangguo@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/639353002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24483 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[turbofan] Add support for ARM64 Ubfx
bmeurer@chromium.org [Thu, 9 Oct 2014 09:18:31 +0000 (09:18 +0000)]
[turbofan] Add support for ARM64 Ubfx

Support selecting Ubfx for shift-mask and mask-shift operations. Also, rename
the shifts to match the instruction names.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/633123002

Patch from Martyn Capewell <m.m.capewell@googlemail.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24482 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSimplify AST ID generation.
svenpanne@chromium.org [Thu, 9 Oct 2014 08:16:13 +0000 (08:16 +0000)]
Simplify AST ID generation.

Every CompilationInfo has an ID generator now, and it is never
reset/copied/assigned. Simplified FunctionState.

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/633373003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24481 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMake Profiler::running_ atomic.
jochen@chromium.org [Thu, 9 Oct 2014 07:51:35 +0000 (07:51 +0000)]
Make Profiler::running_ atomic.

It's used from multiple threads

BUG=none
R=yangguo@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/640773002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24480 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Updates to maintain flag --vector-ics
weiliang.lin@intel.com [Thu, 9 Oct 2014 07:05:20 +0000 (07:05 +0000)]
X87: Updates to maintain flag --vector-ics

port r24548.

original commit message:

   Updates to maintain flag --vector-ics

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/642603004

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24479 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix tools/run-llprof.sh to work with newer perf.
bmeurer@chromium.org [Thu, 9 Oct 2014 06:01:41 +0000 (06:01 +0000)]
Fix tools/run-llprof.sh to work with newer perf.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/641973002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24478 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS64: Fix TruncatingDiv.
akos.palfi@imgtec.com [Wed, 8 Oct 2014 16:15:28 +0000 (16:15 +0000)]
MIPS64: Fix TruncatingDiv.

- Fix the Macroassembler::TruncatingDiv to compute
  the correct result even when the magic number is negative.
- Fix the MULT instruction in the simulator.

TEST=mjsunit/compiler/division-by-constant
BUG=
R=dusan.milosavljevic@imgtec.com

Review URL: https://codereview.chromium.org/637273002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24475 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSmarter representation selection for phis.
titzer@chromium.org [Wed, 8 Oct 2014 16:01:18 +0000 (16:01 +0000)]
Smarter representation selection for phis.

R=jarin@chromium.org
BUG=

Review URL: https://codereview.chromium.org/641713002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24474 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUpdate unicode to 7.0.0.
yangguo@chromium.org [Wed, 8 Oct 2014 14:55:03 +0000 (14:55 +0000)]
Update unicode to 7.0.0.

And do not use code points with PATTERN_* property for identifier start.
Maintain that \u180E is a white space character.

BUG=v8:2892
LOG=Y
R=dpino@igalia.com, mathias@qiwi.be

Review URL: https://codereview.chromium.org/638643002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24473 ce2b1a6d-e550-0410-aec6-3dcde31c8c00