platform/upstream/v8.git
10 years agoEnable ES6 Symbols by default
adamk@chromium.org [Mon, 4 Aug 2014 18:17:54 +0000 (18:17 +0000)]
Enable ES6 Symbols by default

In doing so also remove all references to the --harmony-symbols flag.
Due to the way context snapshotting works, it's not possible to simply enable
the flag by default.

BUG=v8:2158
LOG=Y
R=dslomov@chromium.org

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

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

10 years agoAlso mark as prototype when passing in while creating a function.
verwaest@chromium.org [Mon, 4 Aug 2014 15:23:29 +0000 (15:23 +0000)]
Also mark as prototype when passing in while creating a function.

BUG=
R=ishell@chromium.org

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

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

10 years agoARM64: fixed a couple of typos in TF
rodolph.perfetta@arm.com [Mon, 4 Aug 2014 15:17:19 +0000 (15:17 +0000)]
ARM64: fixed a couple of typos in TF

BUG=
R=bmeurer@chromium.org

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

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

10 years agoDon't insert transitions between maps for prototypes.
verwaest@chromium.org [Mon, 4 Aug 2014 15:12:01 +0000 (15:12 +0000)]
Don't insert transitions between maps for prototypes.

BUG=
R=ishell@chromium.org

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

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

10 years agoEnsure prototypes always stay fast by turning them fast again after an operation...
verwaest@chromium.org [Mon, 4 Aug 2014 15:06:28 +0000 (15:06 +0000)]
Ensure prototypes always stay fast by turning them fast again after an operation that turned them slow

BUG=
R=ishell@chromium.org

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

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

10 years agoKeep function.prototype fast.
verwaest@chromium.org [Mon, 4 Aug 2014 15:02:07 +0000 (15:02 +0000)]
Keep function.prototype fast.

BUG=
R=ishell@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.55.0
machenbach@chromium.org [Mon, 4 Aug 2014 14:34:14 +0000 (14:34 +0000)]
[Auto-roll] Bump up version to 3.28.55.0

TBR=machenbach@chromium.org

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

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

10 years agoMIPS: Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.
akos.palfi@imgtec.com [Mon, 4 Aug 2014 14:30:01 +0000 (14:30 +0000)]
MIPS: Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.

Port r22805 (d6b2885f)

BUG=
R=dusan.milosavljevic@imgtec.com

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

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

10 years agoFix more stack smashing bugs in test.
titzer@chromium.org [Mon, 4 Aug 2014 14:17:52 +0000 (14:17 +0000)]
Fix more stack smashing bugs in test.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoFix build on Win64 for tests.
titzer@chromium.org [Mon, 4 Aug 2014 13:27:33 +0000 (13:27 +0000)]
Fix build on Win64 for tests.

R=bmeurer@chromium.org
BUG=

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

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

10 years agoTF: simplified-lowering tests accidentally ran on unsupported platforms.
titzer@chromium.org [Mon, 4 Aug 2014 12:51:34 +0000 (12:51 +0000)]
TF: simplified-lowering tests accidentally ran on unsupported platforms.

TBR=bmeurer@chromium.org
BUG=

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

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

10 years agoARM64: Use ARRAY_SIZE where possible.
Jacob.Bramley@arm.com [Mon, 4 Aug 2014 12:46:43 +0000 (12:46 +0000)]
ARM64: Use ARRAY_SIZE where possible.

BUG=
R=svenpanne@chromium.org

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

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

10 years agoAdd support for untagged LoadField, StoreField, LoadElement, and StoreElement simplfi...
titzer@chromium.org [Mon, 4 Aug 2014 12:39:15 +0000 (12:39 +0000)]
Add support for untagged LoadField, StoreField, LoadElement, and StoreElement simplfied operators. This is needed for untagged accesses of typed array backing stores and generally cleans up.

R=bmeurer@chromium.org
BUG=

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

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

10 years agoFix tools/generate-runtime-tests.py.
bmeurer@chromium.org [Mon, 4 Aug 2014 11:45:52 +0000 (11:45 +0000)]
Fix tools/generate-runtime-tests.py.

TBR=svenpanne@chromium.org

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

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

10 years agoFix typo.
bmeurer@chromium.org [Mon, 4 Aug 2014 11:40:26 +0000 (11:40 +0000)]
Fix typo.

TBR=svenpanne@chromium.org

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

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

10 years agoRename ASSERT* to DCHECK*.
bmeurer@chromium.org [Mon, 4 Aug 2014 11:34:54 +0000 (11:34 +0000)]
Rename ASSERT* to DCHECK*.

This way we don't clash with the ASSERT* macros
defined by GoogleTest, and we are one step closer
to being able to replace our homegrown base/ with
base/ from Chrome.

R=jochen@chromium.org, svenpanne@chromium.org

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

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

10 years agoRuntime assert added to %NormalizeElements.
ishell@chromium.org [Mon, 4 Aug 2014 11:00:19 +0000 (11:00 +0000)]
Runtime assert added to %NormalizeElements.

BUG=399654
LOG=N
R=danno@chromium.org

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

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

10 years agoReuse the nonexistent handler frontend for transition handlers
verwaest@chromium.org [Mon, 4 Aug 2014 10:47:10 +0000 (10:47 +0000)]
Reuse the nonexistent handler frontend for transition handlers

BUG=
R=ishell@chromium.org

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

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

10 years agoUpdate test expectations for mjsunit/tools/tickprocessor
jkummerow@chromium.org [Mon, 4 Aug 2014 09:13:58 +0000 (09:13 +0000)]
Update test expectations for mjsunit/tools/tickprocessor

R=yangguo@chromium.org

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

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

10 years agoAdd dependencies on gtest and gmock
jochen@chromium.org [Mon, 4 Aug 2014 09:11:02 +0000 (09:11 +0000)]
Add dependencies on gtest and gmock

Because Benedikt said so.

BUG=none
LOG=y
R=bmeurer@chromium.org, machenbach@chromium.org

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

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

10 years agoCleanup in stub-cache.cc; remove unused ArrayLength store ICs.
verwaest@chromium.org [Mon, 4 Aug 2014 09:09:21 +0000 (09:09 +0000)]
Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.

BUG=
R=ishell@chromium.org

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

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

10 years agoUse ARRAY_SIZE instead of DIY code.
svenpanne@chromium.org [Mon, 4 Aug 2014 09:01:26 +0000 (09:01 +0000)]
Use ARRAY_SIZE instead of DIY code.

This improves r22769.

R=bmeurer@chromium.org

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

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

10 years agoEnsure LModByPowerOf2I only gets environment when it deopts.
mstarzinger@chromium.org [Mon, 4 Aug 2014 08:47:15 +0000 (08:47 +0000)]
Ensure LModByPowerOf2I only gets environment when it deopts.

R=svenpanne@chromium.org
TEST=mozilla (with new --always-opt)

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

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

10 years agoAvoid one repeated property lookup when computing load ICs.
jkummerow@chromium.org [Mon, 4 Aug 2014 08:34:56 +0000 (08:34 +0000)]
Avoid one repeated property lookup when computing load ICs.

R=verwaest@chromium.org

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

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

10 years agoTick processor: improved [Summary] section
jkummerow@chromium.org [Mon, 4 Aug 2014 08:31:49 +0000 (08:31 +0000)]
Tick processor: improved [Summary] section

R=yangguo@chromium.org

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

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

10 years ago[turbofan] Support for combining branches with <Operation>WithOverflow.
bmeurer@chromium.org [Mon, 4 Aug 2014 08:18:37 +0000 (08:18 +0000)]
[turbofan] Support for combining branches with <Operation>WithOverflow.

Also unify the handling of binops in the InstructionSelector
backends.

TEST=cctest/test-run-machops,cctest/test-instruction-selector-arm
R=svenpanne@chromium.org

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

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

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Sat, 2 Aug 2014 12:52:28 +0000 (12:52 +0000)]
Whitespace change to trigger bots.

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

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Fri, 1 Aug 2014 15:31:13 +0000 (15:31 +0000)]
Whitespace change to trigger bots.

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

10 years agoPaint the tree green for TF even more.
mstarzinger@chromium.org [Fri, 1 Aug 2014 15:29:15 +0000 (15:29 +0000)]
Paint the tree green for TF even more.

TBR=titzer@chromium.org

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

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

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Fri, 1 Aug 2014 15:24:42 +0000 (15:24 +0000)]
Whitespace change to trigger bots.

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

10 years agoExtend TF test coverage to unsupported targets.
mstarzinger@chromium.org [Fri, 1 Aug 2014 13:51:23 +0000 (13:51 +0000)]
Extend TF test coverage to unsupported targets.

R=titzer@chromium.org
TEST=all

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

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

10 years agoPaint the tree green for TF some more.
mstarzinger@chromium.org [Fri, 1 Aug 2014 13:08:05 +0000 (13:08 +0000)]
Paint the tree green for TF some more.

TBR=titzer@chromium.org

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

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

10 years ago[turbofan] Add support for Int32SubWithOverflow.
bmeurer@chromium.org [Fri, 1 Aug 2014 12:18:20 +0000 (12:18 +0000)]
[turbofan] Add support for Int32SubWithOverflow.

TEST=cctest/test-run-machops,cctest/test-instruction-selector-arm
R=titzer@chromium.org

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

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

10 years agoBlacklist some webkit and mozilla test for TF.
mstarzinger@chromium.org [Fri, 1 Aug 2014 11:36:25 +0000 (11:36 +0000)]
Blacklist some webkit and mozilla test for TF.

R=titzer@chromium.org

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

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

10 years ago[arm] Unify instruction selector for Word32Neg.
bmeurer@chromium.org [Fri, 1 Aug 2014 11:14:47 +0000 (11:14 +0000)]
[arm] Unify instruction selector for Word32Neg.

Previously code generation for Word32Neg (implemented as Word32Xor
with -1) was somewhat adhoc and not complete. Now it's uniform
and supports the full range of operand2's.

TEST=cctest/test-instruction-selector-arm,cctest/test-run-machops
R=titzer@chromium.org

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

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

10 years agoTF: Rename ConvertXToY machine operators to ChangeXToY.
titzer@chromium.org [Fri, 1 Aug 2014 10:54:58 +0000 (10:54 +0000)]
TF: Rename ConvertXToY machine operators to ChangeXToY.

R=bmeurer@chromium.org
BUG=

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

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

10 years agoExtend TF test coverage to supported targets.
mstarzinger@chromium.org [Fri, 1 Aug 2014 10:47:01 +0000 (10:47 +0000)]
Extend TF test coverage to supported targets.

R=danno@google.com, titzer@chromium.org
TEST=all

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

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

10 years ago[turbofan] Add Int32AddWithOverflow machine operator.
bmeurer@chromium.org [Fri, 1 Aug 2014 09:32:58 +0000 (09:32 +0000)]
[turbofan] Add Int32AddWithOverflow machine operator.

TEST=cctest/test-run-machops,cctest/test-instruction-selector-arm
R=titzer@chromium.org

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

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

10 years agoImplement lowering of JSStoreContext to machine operators.
mstarzinger@chromium.org [Fri, 1 Aug 2014 09:23:07 +0000 (09:23 +0000)]
Implement lowering of JSStoreContext to machine operators.

R=titzer@chromium.org

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

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

10 years agoFix compile error on Win32.
titzer@chromium.org [Fri, 1 Aug 2014 08:38:16 +0000 (08:38 +0000)]
Fix compile error on Win32.

R=hpayer@chromium.org
BUG=

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

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

10 years agoTF: Lowering representation changes to machine operators (WIP: need inline allocation...
titzer@chromium.org [Fri, 1 Aug 2014 08:16:19 +0000 (08:16 +0000)]
TF: Lowering representation changes to machine operators (WIP: need inline allocation for some). Move tests related to lowering representation changes into test-changes-lowering.cc.

R=bmeurer@chromium.org, bmeuer@chromium.org
BUG=

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

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

10 years agoX87: Unify InstanceofStub interface descriptors
weiliang.lin@intel.com [Fri, 1 Aug 2014 08:03:28 +0000 (08:03 +0000)]
X87: Unify InstanceofStub interface descriptors

port r22755.

original commit message:
  Unify InstanceofStub interface descriptors

BUG=
R=mstarzinger@chromium.org, weiliang.lin@intel.com

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

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

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

10 years agoOnly activate SSE2 by default on ia32
danno@chromium.org [Fri, 1 Aug 2014 08:00:39 +0000 (08:00 +0000)]
Only activate SSE2 by default on ia32

R=jkummerow@chromium.org

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

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

10 years agoX87: Land the Fan (disabled)
weiliang.lin@intel.com [Fri, 1 Aug 2014 07:42:06 +0000 (07:42 +0000)]
X87: Land the Fan (disabled)

port r22709.

This patch only covers the code change of orginal X87 port.
For the changes under ./src/compiler/ and ./tools/gyp/v8.gyp file,
I will submit it in another seperate patch.

BUG=
R=weiliang.lin@intel.com

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

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

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

10 years agoClean-up and repair cumulative marking and sweeping time stats.
hpayer@chromium.org [Fri, 1 Aug 2014 07:41:46 +0000 (07:41 +0000)]
Clean-up and repair cumulative marking and sweeping time stats.

BUG=
R=ernstm@chromium.org

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

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

10 years agoReport precise number of incrementally marked bytes to gc tracer.
hpayer@chromium.org [Fri, 1 Aug 2014 07:34:49 +0000 (07:34 +0000)]
Report precise number of incrementally marked bytes to gc tracer.

BUG=
R=ernstm@chromium.org

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

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

10 years agoX87: Remove keyed_store_calling convention and friends
weiliang.lin@intel.com [Fri, 1 Aug 2014 01:58:56 +0000 (01:58 +0000)]
X87: Remove keyed_store_calling convention and friends

port r22706.

original commit message:
  Remove keyed_store_calling convention and friends

BUG=
R=weiliang.lin@intel.com

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

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

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

10 years agoFix Win64 build
danno@chromium.org [Thu, 31 Jul 2014 16:22:27 +0000 (16:22 +0000)]
Fix Win64 build

R=titzer@chromium.org

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

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

10 years agoCorrect a misuse of sizeof (introduced in r22709).
Jacob.Bramley@arm.com [Thu, 31 Jul 2014 16:02:27 +0000 (16:02 +0000)]
Correct a misuse of sizeof (introduced in r22709).

BUG=
R=danno@chromium.org

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

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

10 years agoAdd new files to the GN build after r22709.
mstarzinger@chromium.org [Thu, 31 Jul 2014 15:36:22 +0000 (15:36 +0000)]
Add new files to the GN build after r22709.

R=jkummerow@chromium.org

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

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

10 years agoSkip more test.
machenbach@chromium.org [Thu, 31 Jul 2014 15:27:03 +0000 (15:27 +0000)]
Skip more test.

TBR=dcarney@chromium.org,bmeurer@chromium.org,danno@chromium.org

BUG=

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

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

10 years agoEnsure environment does not contain nil values.
mstarzinger@chromium.org [Thu, 31 Jul 2014 15:19:41 +0000 (15:19 +0000)]
Ensure environment does not contain nil values.

R=titzer@chromium.org

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

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

10 years agoTF: Clear upper bits of ConvertFloat64ToUint32 because Win64.
titzer@chromium.org [Thu, 31 Jul 2014 15:06:54 +0000 (15:06 +0000)]
TF: Clear upper bits of ConvertFloat64ToUint32 because Win64.

R=bmeurer@chromium.org
BUG=

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

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

10 years agoMIPS64: Fix build after r22709.
akos.palfi@imgtec.com [Thu, 31 Jul 2014 14:56:58 +0000 (14:56 +0000)]
MIPS64: Fix build after r22709.

BUG=
R=paul.lind@imgtec.com

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

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

10 years ago[turbofan] C calls are broken. Blacklist related tests.
bmeurer@chromium.org [Thu, 31 Jul 2014 14:30:28 +0000 (14:30 +0000)]
[turbofan] C calls are broken. Blacklist related tests.

TBR=titzer@chromium.org

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

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

10 years agoTF: Disable Win64 as a TurboFan target until calling conventions are sorted out.
titzer@chromium.org [Thu, 31 Jul 2014 14:17:58 +0000 (14:17 +0000)]
TF: Disable Win64 as a TurboFan target until calling conventions are sorted out.

R=danno@chromium.org
BUG=

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

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

10 years agoAnother fix for cctest/test-run-machops/RunLoadImmIndex.
bmeurer@chromium.org [Thu, 31 Jul 2014 14:08:08 +0000 (14:08 +0000)]
Another fix for cctest/test-run-machops/RunLoadImmIndex.

TBR=danno@chromium.org

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

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

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Thu, 31 Jul 2014 14:07:13 +0000 (14:07 +0000)]
Whitespace change to trigger bots.

TBR=machenbach@chromium.org
NOTREECHECKS=true
BUG=

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

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

10 years agoUnify InstanceofStub interface descriptors.
mstarzinger@chromium.org [Thu, 31 Jul 2014 12:07:30 +0000 (12:07 +0000)]
Unify InstanceofStub interface descriptors.

R=titzer@chromium.org

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

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

10 years agoTF: Fix windows build (implicit cast between double and int32_t).
titzer@chromium.org [Thu, 31 Jul 2014 12:01:36 +0000 (12:01 +0000)]
TF: Fix windows build (implicit cast between double and int32_t).

R=bmeurer@chromium.org
BUG=

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

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

10 years agoFix MIPS build: use stubbed-out TF implementation
danno@chromium.org [Thu, 31 Jul 2014 11:59:49 +0000 (11:59 +0000)]
Fix MIPS build: use stubbed-out TF implementation

R=titzer@chromium.org

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

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

10 years agoTF: Add ConvertFloat64ToUint32 and ConvertUint32ToFloat64 machine operators.
titzer@chromium.org [Thu, 31 Jul 2014 11:45:22 +0000 (11:45 +0000)]
TF: Add ConvertFloat64ToUint32 and ConvertUint32ToFloat64 machine operators.

R=bmeurer@chromium.org
BUG=

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

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

10 years agoMore memory leak fixes.
svenpanne@chromium.org [Thu, 31 Jul 2014 11:31:39 +0000 (11:31 +0000)]
More memory leak fixes.

TBR=bmeurer@chromium.org

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

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

10 years agoImplement lowering of JSLoadContext to machine operators.
mstarzinger@chromium.org [Thu, 31 Jul 2014 11:20:36 +0000 (11:20 +0000)]
Implement lowering of JSLoadContext to machine operators.

R=titzer@chromium.org

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

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

10 years agoX87: Encapsulate the holder in the PropertyHolderCompilers
weiliang.lin@intel.com [Thu, 31 Jul 2014 10:39:35 +0000 (10:39 +0000)]
X87: Encapsulate the holder in the PropertyHolderCompilers

port r22704.

original commit message:
  Encapsulate the holder in the PropertyHolderCompilers

BUG=
R=weiliang.lin@intel.com

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

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

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

10 years agoFix cctest/test-run-machops/RunLoadImmIndex
bmeurer@chromium.org [Thu, 31 Jul 2014 10:24:44 +0000 (10:24 +0000)]
Fix cctest/test-run-machops/RunLoadImmIndex

TBR=svenpanne@chromium.org

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

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

10 years agoFixed a few space leaks.
svenpanne@chromium.org [Thu, 31 Jul 2014 10:17:25 +0000 (10:17 +0000)]
Fixed a few space leaks.

TBR=bmeurer@chromium.org

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

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

10 years agoFix detection of UBFX in case of Word32And with immediate.
bmeurer@chromium.org [Thu, 31 Jul 2014 09:57:59 +0000 (09:57 +0000)]
Fix detection of UBFX in case of Word32And with immediate.

TBR=svenpanne@chromium.org

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

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

10 years agoFix android debug build.
bmeurer@chromium.org [Thu, 31 Jul 2014 09:30:16 +0000 (09:30 +0000)]
Fix android debug build.

TBR=svenpanne@chromium.org

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

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

10 years agoGreenify NaCl build
jkummerow@chromium.org [Thu, 31 Jul 2014 09:19:50 +0000 (09:19 +0000)]
Greenify NaCl build

R=titzer@chromium.org

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

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

10 years agoX87: Encapsulate type in the PropertyHandlerCompiler
weiliang.lin@intel.com [Thu, 31 Jul 2014 09:01:32 +0000 (09:01 +0000)]
X87: Encapsulate type in the PropertyHandlerCompiler

port r22700.

original commit message:
  Encapsulate type in the PropertyHandlerCompiler

BUG=
R=weiliang.lin@intel.com

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

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

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

10 years agoFix typos in LMathFround declarations.
yangguo@chromium.org [Thu, 31 Jul 2014 08:40:09 +0000 (08:40 +0000)]
Fix typos in LMathFround declarations.

R=svenpanne@chromium.org

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

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

10 years agoMake GCMole happy about Runtime_ForInFoo methods.
mstarzinger@chromium.org [Thu, 31 Jul 2014 08:29:34 +0000 (08:29 +0000)]
Make GCMole happy about Runtime_ForInFoo methods.

R=titzer@chromium.org

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

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

10 years agoTurn ASSERTs in platform setup releated code into CHECKs
jochen@chromium.org [Thu, 31 Jul 2014 08:06:24 +0000 (08:06 +0000)]
Turn ASSERTs in platform setup releated code into CHECKs

This way, we will already catch misconfigurations in release builds,
instead of getting random bug reports way later during runtime.

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

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

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

10 years agoFix issue with storing 31-bit bitfield as Smi.
yangguo@chromium.org [Thu, 31 Jul 2014 07:50:26 +0000 (07:50 +0000)]
Fix issue with storing 31-bit bitfield as Smi.

R=svenpanne@chromium.org

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

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

10 years ago[arm] Add support for ROR. Refactor operand2 handling.
bmeurer@chromium.org [Thu, 31 Jul 2014 07:44:29 +0000 (07:44 +0000)]
[arm] Add support for ROR. Refactor operand2 handling.

This was the last missing bit for full "flexible second operand" /
operand2 support on ARM.

TEST=cctest/test-instruction-selector-arm,cctest/test-run-machops
R=jarin@chromium.org

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

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

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Thu, 31 Jul 2014 06:36:59 +0000 (06:36 +0000)]
Whitespace change to trigger bots.

TBR=machenbach@chromium.org
BUG=

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

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

10 years ago[Auto-roll] Bump up version to 3.28.51.0
machenbach@chromium.org [Thu, 31 Jul 2014 01:04:33 +0000 (01:04 +0000)]
[Auto-roll] Bump up version to 3.28.51.0

TBR=machenbach@chromium.org

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

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

10 years agoMIPS: Remove keyed_store_calling convention and friends.
balazs.kilvady@imgtec.com [Wed, 30 Jul 2014 17:46:10 +0000 (17:46 +0000)]
MIPS: Remove keyed_store_calling convention and friends.

Port r22706 (aae2de24)

BUG=
R=paul.lind@imgtec.com

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

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

10 years agoMIPS: Encapsulate the holder in the PropertyHolderCompilers.
balazs.kilvady@imgtec.com [Wed, 30 Jul 2014 16:26:21 +0000 (16:26 +0000)]
MIPS: Encapsulate the holder in the PropertyHolderCompilers.

Port r22704 (d3d7830)

BUG=
R=akos.palfi@imgtec.com

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

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

10 years agoFix 64-bit VS2010 build
danno@chromium.org [Wed, 30 Jul 2014 16:21:36 +0000 (16:21 +0000)]
Fix 64-bit VS2010 build

R=mstarzinger@chromium.org

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

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

10 years agoFix relative include path in cctest case.
mstarzinger@chromium.org [Wed, 30 Jul 2014 15:35:29 +0000 (15:35 +0000)]
Fix relative include path in cctest case.

R=jarin@chromium.org, titzer@chromium.org

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

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

10 years agoFix build failures with LLVM-GCC 4.2 on Mac (moar).
mstarzinger@chromium.org [Wed, 30 Jul 2014 15:34:09 +0000 (15:34 +0000)]
Fix build failures with LLVM-GCC 4.2 on Mac (moar).

R=titzer@chromium.org

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

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

10 years agoFix more XCode build problems.
titzer@chromium.org [Wed, 30 Jul 2014 15:13:37 +0000 (15:13 +0000)]
Fix more XCode build problems.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoFix build failures with LLVM-GCC 4.2 on Mac (again).
mstarzinger@chromium.org [Wed, 30 Jul 2014 15:11:40 +0000 (15:11 +0000)]
Fix build failures with LLVM-GCC 4.2 on Mac (again).

R=jarin@chromium.org

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

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

10 years agoAnother attempt to make Visual C++ happy.
jarin@chromium.org [Wed, 30 Jul 2014 15:06:50 +0000 (15:06 +0000)]
Another attempt to make Visual C++ happy.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoFix build failures with LLVM-GCC 4.2 on Mac.
mstarzinger@chromium.org [Wed, 30 Jul 2014 14:45:41 +0000 (14:45 +0000)]
Fix build failures with LLVM-GCC 4.2 on Mac.

R=titzer@chromium.org

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

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

10 years agoFix references to GenericNode::Type that should be templatized
titzer@chromium.org [Wed, 30 Jul 2014 14:41:39 +0000 (14:41 +0000)]
Fix references to GenericNode::Type that should be templatized

R=mstarzinger@chromium.org, mstarzinger
BUG=

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

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

10 years agoFix relative include path in cctest helper.
mstarzinger@chromium.org [Wed, 30 Jul 2014 14:40:57 +0000 (14:40 +0000)]
Fix relative include path in cctest helper.

R=titzer@chromium.org

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

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

10 years agoAdd delete operators for Instruction to make Visual C++ happy.
jarin@chromium.org [Wed, 30 Jul 2014 14:36:15 +0000 (14:36 +0000)]
Add delete operators for Instruction to make Visual C++ happy.

BUG=
R=danno@chromium.org

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

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

10 years agoRemove accidental duplication in cctest suite.
mstarzinger@chromium.org [Wed, 30 Jul 2014 14:23:52 +0000 (14:23 +0000)]
Remove accidental duplication in cctest suite.

R=danno@google.com, danno@chromium.org

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

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

10 years agoAdd missing generated tests.
mstarzinger@chromium.org [Wed, 30 Jul 2014 14:19:42 +0000 (14:19 +0000)]
Add missing generated tests.

R=danno@google.com, danno@chromium.org

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

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

10 years agoLand the Fan (disabled)
danno@chromium.org [Wed, 30 Jul 2014 13:54:45 +0000 (13:54 +0000)]
Land the Fan (disabled)

R=mstarzinger@chromium.org

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

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

10 years agoMIPS: Encapsulate type in the PropertyHandlerCompiler.
balazs.kilvady@imgtec.com [Wed, 30 Jul 2014 13:39:20 +0000 (13:39 +0000)]
MIPS: Encapsulate type in the PropertyHandlerCompiler.

Port r22700 (587340c)

BUG=
R=akos.palfi@imgtec.com

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

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

10 years agoFix
verwaest@chromium.org [Wed, 30 Jul 2014 12:44:50 +0000 (12:44 +0000)]
Fix

BUG=
R=ishell@chromium.org

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

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

10 years agoRemove keyed_store_calling convention and friends
verwaest@chromium.org [Wed, 30 Jul 2014 12:21:41 +0000 (12:21 +0000)]
Remove keyed_store_calling convention and friends

BUG=
R=mvstanton@chromium.org

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

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

10 years agoFix the build
verwaest@chromium.org [Wed, 30 Jul 2014 12:19:19 +0000 (12:19 +0000)]
Fix the build

BUG=
R=ishell@chromium.org

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

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

10 years agoEncapsulate the holder in the PropertyHolderCompilers
verwaest@chromium.org [Wed, 30 Jul 2014 12:01:48 +0000 (12:01 +0000)]
Encapsulate the holder in the PropertyHolderCompilers

BUG=
R=ishell@chromium.org

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

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

10 years agoDrop deprecated memory related notification API
jochen@chromium.org [Wed, 30 Jul 2014 11:41:48 +0000 (11:41 +0000)]
Drop deprecated memory related notification API

Embedders should use the non-static methods on Isolate with the same
name.

BUG=397026
R=hpayer@chromium.org
LOG=y

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

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

10 years ago[Auto-roll] Bump up version to 3.28.49.0
machenbach@chromium.org [Wed, 30 Jul 2014 11:04:13 +0000 (11:04 +0000)]
[Auto-roll] Bump up version to 3.28.49.0

TBR=machenbach@chromium.org

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

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