platform/upstream/v8.git
11 years agoCorrectly check for AllowHeapAllocation::IsAllowed().
mstarzinger@chromium.org [Tue, 24 Sep 2013 11:19:37 +0000 (11:19 +0000)]
Correctly check for AllowHeapAllocation::IsAllowed().

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

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

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

11 years agoAllocate typed arrays uninitialized when constructing from array-like.
dslomov@chromium.org [Tue, 24 Sep 2013 10:50:14 +0000 (10:50 +0000)]
Allocate typed arrays uninitialized when constructing from array-like.

This is a fix for performance regression. For new Uint8Array(arrayLike)
and the likes, we allocate the backing store of typed array
uninitialized and then proceed to feel it in with elements of arrayLike.
If the loop over arrayLike runs to completion, we know that all elements
of typed arrays had been assigned to and there is no uninitialized
memory. If the loop does not run to completion, we propagate the
exception to constructor caller, therefore the typed array is not
exposed to user program.

BUG=270507
R=yangguo@chromium.org

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

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

11 years agoARM: Tweak Math.exp.
rodolph.perfetta@gmail.com [Tue, 24 Sep 2013 10:40:03 +0000 (10:40 +0000)]
ARM: Tweak Math.exp.

Avoid corrupting the input and small assembly tuning.

BUG=none
TEST=test/mjsunit/lithium/MathExp.js
R=ulan@chromium.org

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

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

11 years agoAdd field nested_sites to AllocationSite. This field is used to maintain
mvstanton@chromium.org [Tue, 24 Sep 2013 10:30:41 +0000 (10:30 +0000)]
Add field nested_sites to AllocationSite. This field is used to maintain
allocation site information for nested array and object literals.
It's not used productively in this CL, merely maintained in a minimal
way. (that comes next :)).

BUG=
R=hpayer@chromium.org

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

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

11 years agoUse Unique<Object> in HConstant and remove UniqueValueId.
titzer@chromium.org [Tue, 24 Sep 2013 09:48:39 +0000 (09:48 +0000)]
Use Unique<Object> in HConstant and remove UniqueValueId.

BUG=
R=verwaest@chromium.org

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

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

11 years agoTurn the NumberToStringStub into a hydrogen stub.
bmeurer@chromium.org [Tue, 24 Sep 2013 09:31:07 +0000 (09:31 +0000)]
Turn the NumberToStringStub into a hydrogen stub.

This adds a BuildLookupNumberStringCache() in Hydrogen, which will
be used by the hydrogen version of StringAddStub, in addition to the
hydrogen version of NumberToStringStub.

R=mvstanton@chromium.org

Committed: https://code.google.com/p/v8/source/detail?r=16874

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

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

11 years agoFix invalid X87 stack depth after LCompareNumericAndBranch.
bmeurer@chromium.org [Tue, 24 Sep 2013 09:29:00 +0000 (09:29 +0000)]
Fix invalid X87 stack depth after LCompareNumericAndBranch.

R=verwaest@chromium.org

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

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

11 years agobuild fix for 16877
dcarney@chromium.org [Tue, 24 Sep 2013 07:49:37 +0000 (07:49 +0000)]
build fix for 16877

TBR=mstarzinger@chromium.org
BUG=

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

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

11 years agoHandlify JSObject::MigrateInstance and friends.
mstarzinger@chromium.org [Mon, 23 Sep 2013 19:56:36 +0000 (19:56 +0000)]
Handlify JSObject::MigrateInstance and friends.

This relands the original change from r16899 together with a bugfix for
two unhandlified values which became stale.

R=verwaest@chromium.org
TEST=mjsunit/debug-evaluate-locals-optimized (in GC stress mode)

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

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

11 years agoMIPS: Fixed a bug in CopyBytes() and new test cases for MIPS macro assembler.
palfia@homejinni.com [Mon, 23 Sep 2013 19:38:54 +0000 (19:38 +0000)]
MIPS: Fixed a bug in CopyBytes() and new test cases for MIPS macro assembler.

Port r16873 (c2880bc)

BUG=
TEST=cctest/test-macro-assembler-mips
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

11 years agoRevert "Allow control intructions to have side effects."
olivf@chromium.org [Mon, 23 Sep 2013 18:57:32 +0000 (18:57 +0000)]
Revert "Allow control intructions to have side effects."

Breaks arm build.

BUG=
TBR=titzer@chromium.org

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

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

11 years agoAllow control intructions to have side effects.
olivf@chromium.org [Mon, 23 Sep 2013 16:56:34 +0000 (16:56 +0000)]
Allow control intructions to have side effects.

As a first application convert HCompareGeneric to a control Instruction, thus avoid materializing a boolean result value.

BUG=
R=titzer@chromium.org

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

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

11 years agorefactor test instruction on ia32
jkummerow@chromium.org [Mon, 23 Sep 2013 16:55:48 +0000 (16:55 +0000)]
refactor test instruction on ia32

BUG=
R=jkummerow@chromium.org

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

Patch from Weiliang Lin <weiliang.lin2@gmail.com>.

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

11 years agoRevert "Handlify JSObject::MigrateInstance and friends."
mstarzinger@chromium.org [Mon, 23 Sep 2013 16:53:59 +0000 (16:53 +0000)]
Revert "Handlify JSObject::MigrateInstance and friends."

This is reverted due to mozilla/ecma/Date/15.9.5.9 failing on Windows.

TBR=verwaest@chromium.org

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

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

11 years agoHandlify JSObject::MigrateInstance and friends.
mstarzinger@chromium.org [Mon, 23 Sep 2013 15:02:25 +0000 (15:02 +0000)]
Handlify JSObject::MigrateInstance and friends.

R=verwaest@chromium.org

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

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

11 years agoOut-of-line constant pool on Arm: Stage 1 - Free up r7 for use as constant pool point...
ulan@chromium.org [Mon, 23 Sep 2013 15:01:33 +0000 (15:01 +0000)]
Out-of-line constant pool on Arm: Stage 1 - Free up r7 for use as constant pool pointer register

First stage of implementing an out-of-line constant pool on Arm.  This CL
frees up register r7 for use as a constant pool pointer in later stages.

BUG=
R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/21063002

Patch from Ross McIlroy <rmcilroy@chromium.org>.

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

11 years agoRemove duplicated heap allocation functions.
mstarzinger@chromium.org [Mon, 23 Sep 2013 14:48:49 +0000 (14:48 +0000)]
Remove duplicated heap allocation functions.

R=hpayer@chromium.org

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

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

11 years ago[Sheriff] Revert "Let SetEntropySource() fail if called after V8::Initialize()."
machenbach@chromium.org [Mon, 23 Sep 2013 14:43:41 +0000 (14:43 +0000)]
[Sheriff] Revert "Let SetEntropySource() fail if called after V8::Initialize()."

This reverts commit 16889 for breaking the webkit tests.

TBR=bmeurer@chromium.org

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

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

11 years agoFix build after r16890.
bmeurer@chromium.org [Mon, 23 Sep 2013 14:24:33 +0000 (14:24 +0000)]
Fix build after r16890.

TBR=machenbach@chromium.org

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

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

11 years agoIntroduce Heap::SelectSpace helper for allocations.
mstarzinger@chromium.org [Mon, 23 Sep 2013 14:19:44 +0000 (14:19 +0000)]
Introduce Heap::SelectSpace helper for allocations.

R=hpayer@chromium.org

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

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

11 years agoremove IsDeadCheck
dcarney@chromium.org [Mon, 23 Sep 2013 14:15:21 +0000 (14:15 +0000)]
remove IsDeadCheck

R=mstarzinger@chromium.org
BUG=

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

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

11 years agoMove DumpBacktrace() to checks.cc and cleanup both the code and the necessary platfor...
bmeurer@chromium.org [Mon, 23 Sep 2013 14:11:59 +0000 (14:11 +0000)]
Move DumpBacktrace() to checks.cc and cleanup both the code and the necessary platform checks.

This also removes the platform-posix.h header file.

R=machenbach@chromium.org

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

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

11 years agoLet SetEntropySource() fail if called after V8::Initialize().
bmeurer@chromium.org [Mon, 23 Sep 2013 14:11:32 +0000 (14:11 +0000)]
Let SetEntropySource() fail if called after V8::Initialize().

BUG=v8:2905
R=dslomov@chromium.org

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

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

11 years agoDocument that its the job of the embedder to provide strong entropy for seeding the...
bmeurer@chromium.org [Mon, 23 Sep 2013 14:10:57 +0000 (14:10 +0000)]
Document that its the job of the embedder to provide strong entropy for seeding the PRNG.

BUG=v8:2905
R=dslomov@chromium.org

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

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

11 years agoPrepare push to trunk. Now working on version 3.22.1.
machenbach@chromium.org [Mon, 23 Sep 2013 14:08:32 +0000 (14:08 +0000)]
Prepare push to trunk.  Now working on version 3.22.1.

R=mstarzinger@chromium.org
BUG=

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

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

11 years agoFast-forward version number on bleeding_edge to 3.22.0
machenbach@chromium.org [Mon, 23 Sep 2013 13:27:00 +0000 (13:27 +0000)]
Fast-forward version number on bleeding_edge to 3.22.0

BUG=
R=mstarzinger@chromium.org

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

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

11 years agoHandlify JSObject::AllocateStorageForMap method.
mstarzinger@chromium.org [Mon, 23 Sep 2013 11:57:34 +0000 (11:57 +0000)]
Handlify JSObject::AllocateStorageForMap method.

R=yangguo@chromium.org

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

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

11 years agomove CopyablePersistentTraits to v8.h
dcarney@chromium.org [Mon, 23 Sep 2013 11:27:07 +0000 (11:27 +0000)]
move CopyablePersistentTraits to v8.h

R=mstarzinger@chromium.org
BUG=

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

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

11 years agoremove Isolate::GetCurrent from Context api functions
dcarney@chromium.org [Mon, 23 Sep 2013 11:25:52 +0000 (11:25 +0000)]
remove Isolate::GetCurrent from Context api functions

R=mstarzinger@chromium.org
BUG=

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

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

11 years agoRevert "Turn the NumberToStringStub into a hydrogen stub."
machenbach@chromium.org [Mon, 23 Sep 2013 11:22:35 +0000 (11:22 +0000)]
Revert "Turn the NumberToStringStub into a hydrogen stub."

This reverts commit 16874 for breaking the tests.

TBR=bmeurer@chromium.org

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

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

11 years agoRemove obsolete Factory::EnsureCanContainElements method.
mstarzinger@chromium.org [Mon, 23 Sep 2013 11:11:31 +0000 (11:11 +0000)]
Remove obsolete Factory::EnsureCanContainElements method.

R=bmeurer@chromium.org

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

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

11 years agoTurn the NumberToStringStub into a hydrogen stub.
bmeurer@chromium.org [Mon, 23 Sep 2013 10:58:45 +0000 (10:58 +0000)]
Turn the NumberToStringStub into a hydrogen stub.

This adds a BuildLookupNumberStringCache() in Hydrogen, which will
be used by the hydrogen version of StringAddStub, in addition to the
hydrogen version of NumberToStringStub.

R=mvstanton@chromium.org

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

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

11 years agoFixed a bug in CopyBytes() and new test cases for ARM macro assembler
bmeurer@chromium.org [Mon, 23 Sep 2013 08:06:58 +0000 (08:06 +0000)]
Fixed a bug in CopyBytes() and new test cases for ARM macro assembler

TEST=cctest/test-macro-assembler-arm
R=bmeurer@chromium.org

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

Patch from Bangfu Tao <bangfu.tao@samsung.com>.

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

11 years agoMIPS: Save one branch for normal heap number un-tagging.
palfia@homejinni.com [Fri, 20 Sep 2013 19:05:48 +0000 (19:05 +0000)]
MIPS: Save one branch for normal heap number un-tagging.

Port r16856 (edeb2d3)

BUG=
R=gergely@homejinni.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

11 years agoFix d8-readline to use modern Persistent API
adamk@chromium.org [Fri, 20 Sep 2013 18:16:52 +0000 (18:16 +0000)]
Fix d8-readline to use modern Persistent API

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

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

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

11 years agodon't use default isolate in mksnapshot
dcarney@chromium.org [Fri, 20 Sep 2013 13:19:40 +0000 (13:19 +0000)]
don't use default isolate in mksnapshot

R=svenpanne@chromium.org
BUG=

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

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

11 years agoLiveEdit to mark more closure functions for re-instantiation when scope layout changes
prybin@chromium.org [Fri, 20 Sep 2013 13:15:31 +0000 (13:15 +0000)]
LiveEdit to mark more closure functions for re-instantiation when scope layout changes
BUG=v8:2872
R=yangguo@chromium.org

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

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

11 years agoSkip tests failing on the no-i18n bot
jochen@chromium.org [Fri, 20 Sep 2013 13:13:57 +0000 (13:13 +0000)]
Skip tests failing on the no-i18n bot

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

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

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

11 years agoHanldify JSObject::PreventExtensions method.
mstarzinger@chromium.org [Fri, 20 Sep 2013 12:54:02 +0000 (12:54 +0000)]
Hanldify JSObject::PreventExtensions method.

R=ulan@chromium.org

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

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

11 years agoUse Unique<Cell> and Unique<PropertyCell> in LoadGlobalCell and StoreGlobalCell.
titzer@chromium.org [Fri, 20 Sep 2013 12:32:31 +0000 (12:32 +0000)]
Use Unique<Cell> and Unique<PropertyCell> in LoadGlobalCell and StoreGlobalCell.

BUG=
R=verwaest@chromium.org

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

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

11 years agoUse Unique<Map> in HTransitionElementsKind.
titzer@chromium.org [Fri, 20 Sep 2013 12:25:00 +0000 (12:25 +0000)]
Use Unique<Map> in HTransitionElementsKind.

BUG=
R=verwaest@chromium.org

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

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

11 years agoTest that we can bootstrap into the first page of each space.
mstarzinger@chromium.org [Fri, 20 Sep 2013 12:18:17 +0000 (12:18 +0000)]
Test that we can bootstrap into the first page of each space.

R=olivf@chromium.org
TEST=cctest/test-spaces/SizeOfFirstPageIsLargeEnough

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

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

11 years agoHandlify JSObject::NormalizeProperties method.
mstarzinger@chromium.org [Fri, 20 Sep 2013 11:37:02 +0000 (11:37 +0000)]
Handlify JSObject::NormalizeProperties method.

R=verwaest@chromium.org

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

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

11 years agoPad the environment with 0 rather than the receiver to avoid influencing the represen...
verwaest@chromium.org [Fri, 20 Sep 2013 11:34:05 +0000 (11:34 +0000)]
Pad the environment with 0 rather than the receiver to avoid influencing the representation of the join.

R=titzer@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23707055

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

11 years agobuild fix for 16858
dcarney@chromium.org [Fri, 20 Sep 2013 11:29:20 +0000 (11:29 +0000)]
build fix for 16858

TBR=svenpanne@chromium.org
BUG=

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

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

11 years agoRemove duplicate way of encoding the holder in the flags.
verwaest@chromium.org [Fri, 20 Sep 2013 11:22:23 +0000 (11:22 +0000)]
Remove duplicate way of encoding the holder in the flags.

R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/24316002

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

11 years agoremove remaining uses of default isolate in tests
dcarney@chromium.org [Fri, 20 Sep 2013 10:52:20 +0000 (10:52 +0000)]
remove remaining uses of default isolate in tests

R=svenpanne@chromium.org
BUG=

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

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

11 years agoAllow IfBuilder's to join existing (captured) continuations.
bmeurer@chromium.org [Fri, 20 Sep 2013 10:47:09 +0000 (10:47 +0000)]
Allow IfBuilder's to join existing (captured) continuations.

R=mvstanton@chromium.org

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

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

11 years agoSave one branch for normal heap number un-tagging.
bmeurer@chromium.org [Fri, 20 Sep 2013 09:57:58 +0000 (09:57 +0000)]
Save one branch for normal heap number un-tagging.

R=bmeurer@chromium.org

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

Patch from Bangfu Tao <bangfu.tao@samsung.com>.

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

11 years agoSome cleanup fixes
mvstanton@chromium.org [Fri, 20 Sep 2013 09:27:40 +0000 (09:27 +0000)]
Some cleanup fixes

* Consolidated CopyJSObject and CopyJSObjectWithAllocationSite
* Factory.h helper for struct maps.
* BuildFastLiteral shouldn't create allocation sites in pretenuring mode.

BUG=
R=mstarzinger@chromium.org

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

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

11 years agoSkip intl tests from test262 when intl support is disabled.
machenbach@chromium.org [Fri, 20 Sep 2013 09:26:25 +0000 (09:26 +0000)]
Skip intl tests from test262 when intl support is disabled.

Skips the whole intl directory if intl support is disabled through the test driver.

One test outside the intl directory is skipped separately. It will be handled in an extra CL.

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

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

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

11 years agoUse New<> constructors in BuildBinaryOperation.
olivf@chromium.org [Fri, 20 Sep 2013 09:25:10 +0000 (09:25 +0000)]
Use New<> constructors in BuildBinaryOperation.

BUG=
R=yangguo@chromium.org

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

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

11 years agoPrevent test-log.cc from creating log files.
mstarzinger@chromium.org [Fri, 20 Sep 2013 08:49:33 +0000 (08:49 +0000)]
Prevent test-log.cc from creating log files.

R=dcarney@chromium.org
TEST=cctest/test-log/EquivalenceOfLoggingAndTraversal

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

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

11 years agoFix Environment size mismatch in r6849.
olivf@chromium.org [Fri, 20 Sep 2013 08:34:23 +0000 (08:34 +0000)]
Fix Environment size mismatch in r6849.

TBR=svenpanne@chromium.org
BUG=

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

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

11 years agoTurn off GcStress for another mjsunit test that asserts heavily on array
mvstanton@chromium.org [Fri, 20 Sep 2013 07:26:11 +0000 (07:26 +0000)]
Turn off GcStress for another mjsunit test that asserts heavily on array
ElementsKind.

BUG=
R=hpayer@chromium.org

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

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

11 years agoHydrogen binop improvements
olivf@chromium.org [Fri, 20 Sep 2013 07:21:30 +0000 (07:21 +0000)]
Hydrogen binop improvements

- Truncate oddball if possible.
- Support for StringAdd with only one String argument.
- Use constructor macro for HMul.
- Add ForceNumberType for HydrogenStubs to enforce input representations.

BUG=
R=svenpanne@chromium.org

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

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

11 years agoImplement IfNot() in terms of If(), and add missing IfNot(HValue*) method.
bmeurer@chromium.org [Fri, 20 Sep 2013 06:26:19 +0000 (06:26 +0000)]
Implement IfNot() in terms of If(), and add missing IfNot(HValue*) method.

R=mvstanton@chromium.org

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

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

11 years agoMake the use of xmm0 as double scratch register explicit in ia32 and x64.
bmeurer@chromium.org [Fri, 20 Sep 2013 06:01:25 +0000 (06:01 +0000)]
Make the use of xmm0 as double scratch register explicit in ia32 and x64.

R=svenpanne@chromium.org

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

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

11 years agoHandlify JSObject::Freeze method.
mstarzinger@chromium.org [Thu, 19 Sep 2013 21:26:01 +0000 (21:26 +0000)]
Handlify JSObject::Freeze method.

R=adamk@chromium.org

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

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

11 years agoOptimize typed-array length loading.
verwaest@chromium.org [Thu, 19 Sep 2013 18:19:24 +0000 (18:19 +0000)]
Optimize typed-array length loading.

R=dslomov@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23484060

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

11 years agoHandlify JSReceiver::SetPropertyWithDefinedSetter method.
mstarzinger@chromium.org [Thu, 19 Sep 2013 17:03:32 +0000 (17:03 +0000)]
Handlify JSReceiver::SetPropertyWithDefinedSetter method.

R=yangguo@chromium.org

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

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

11 years agoUse Unique<Map> in CompareMap.
titzer@chromium.org [Thu, 19 Sep 2013 17:02:57 +0000 (17:02 +0000)]
Use Unique<Map> in CompareMap.

BUG=
R=verwaest@chromium.org

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

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

11 years agoMake bounds check elimination iterative instead of recursive.
titzer@chromium.org [Thu, 19 Sep 2013 16:26:14 +0000 (16:26 +0000)]
Make bounds check elimination iterative instead of recursive.

BUG=289706
R=danno@chromium.org

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

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

11 years agoMark failing test262 tests for Windows and Mac.
mstarzinger@chromium.org [Thu, 19 Sep 2013 16:25:35 +0000 (16:25 +0000)]
Mark failing test262 tests for Windows and Mac.

TRB=jochen@chromium.org
TEST=test262

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

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

11 years agoMIPS: Add HLoadRoot hydrogen instruction.
plind44@gmail.com [Thu, 19 Sep 2013 15:38:51 +0000 (15:38 +0000)]
MIPS: Add HLoadRoot hydrogen instruction.

Port r16807 (257f48f)

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

11 years agoMIPS: Move NumberToStringStub::GenerateLookupNumberStringCache to the MacroAssembler.
plind44@gmail.com [Thu, 19 Sep 2013 15:31:51 +0000 (15:31 +0000)]
MIPS: Move NumberToStringStub::GenerateLookupNumberStringCache to the MacroAssembler.

Port r16806 (9f102a8)

Original commit message:
This renames the method to LookupNumberStringCache() and puts it into
the MacroAssembler in preparation of the NumberToStringStub Hydrogen
conversion.

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

11 years agoMIPS: Turn HCompareHoleAndBranch into a HUnaryControlInstruction.
plind44@gmail.com [Thu, 19 Sep 2013 15:20:13 +0000 (15:20 +0000)]
MIPS: Turn HCompareHoleAndBranch into a HUnaryControlInstruction.

Port r16805 (b106027)

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

11 years agostop writing isolate-* files
dcarney@chromium.org [Thu, 19 Sep 2013 15:06:20 +0000 (15:06 +0000)]
stop writing isolate-* files

TBR=mstarzinger@chromium.org
BUG=

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

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

11 years agoExtend test262 harness to cover intl402 suite as well.
mstarzinger@chromium.org [Thu, 19 Sep 2013 14:51:50 +0000 (14:51 +0000)]
Extend test262 harness to cover intl402 suite as well.

R=jochen@chromium.org, machenbach@chromium.org
BUG=v8:2745
TEST=test262

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

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

11 years agoReenable polymorphic getter inlining.
verwaest@chromium.org [Thu, 19 Sep 2013 14:47:15 +0000 (14:47 +0000)]
Reenable polymorphic getter inlining.

R=titzer@chromium.org

Review URL: https://chromiumcodereview.appspot.com/24134003

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

11 years agoFix missing initialization of last_true_block_ in IfBuilder.
bmeurer@chromium.org [Thu, 19 Sep 2013 14:35:53 +0000 (14:35 +0000)]
Fix missing initialization of last_true_block_ in IfBuilder.

R=mvstanton@chromium.org

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

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

11 years agoAdded a DependentCode field to AllocationSite. It's not currently used,
mvstanton@chromium.org [Thu, 19 Sep 2013 14:13:34 +0000 (14:13 +0000)]
Added a DependentCode field to AllocationSite. It's not currently used,
this initial CL is just to get the object layout correct.

BUG=
R=hpayer@chromium.org, mstarzinger@chromium.org

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

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

11 years agoAllocation site tests aren't compatible with GcStress mode.
mvstanton@chromium.org [Thu, 19 Sep 2013 13:32:00 +0000 (13:32 +0000)]
Allocation site tests aren't compatible with GcStress mode.

They make assumptions about elementskind of arrays based on allocation site
feedback. This feedback is highly dependent on mementos, unrooted objects
placed behind arrays in the heap meant to live until the next scavenge.

GcStress does many more gcs than normal, and wrecks havoc with this kind
of test.

BUG=
R=hpayer@chromium.org

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

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

11 years agocleanup cctest generally and remove ctest::context
dcarney@chromium.org [Thu, 19 Sep 2013 13:30:47 +0000 (13:30 +0000)]
cleanup cctest generally and remove ctest::context

R=svenpanne@chromium.org
BUG=

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

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

11 years agoCollect garbage before running mjsunit/fast-prototype
jochen@chromium.org [Thu, 19 Sep 2013 13:11:57 +0000 (13:11 +0000)]
Collect garbage before running mjsunit/fast-prototype

When not using a snapshot, after turning on i18n, there's just enough
garbage after creating a context to trigger gc at the wrong moment.
Since the test uses natives syntax to access information that would
otherwise be hidden from javascript, this makes the test fail

BUG=none
R=mstarzinger@chromium.org
TEST=mjsunit/fast-prototype passes on ia32.release with no snapshot

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

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

11 years agoMake GIT ignore intl.status2 file.
mstarzinger@chromium.org [Thu, 19 Sep 2013 13:03:02 +0000 (13:03 +0000)]
Make GIT ignore intl.status2 file.

R=jochen@chromium.org

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

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

11 years agoMark intl/collator/default-locale as PASS || FAIL because it fails on Mac
jochen@chromium.org [Thu, 19 Sep 2013 13:01:34 +0000 (13:01 +0000)]
Mark intl/collator/default-locale as PASS || FAIL because it fails on Mac

BUG=2899
R=mstarzinger@chromium.org

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

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

11 years agoTurn on i18n support by default
jochen@chromium.org [Thu, 19 Sep 2013 12:07:03 +0000 (12:07 +0000)]
Turn on i18n support by default

This reverts commit r16789

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

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

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

11 years agoCollect garbage before serializing heap in test-serialize
jochen@chromium.org [Thu, 19 Sep 2013 12:06:27 +0000 (12:06 +0000)]
Collect garbage before serializing heap in test-serialize

BUG=none
TEST=nosnap bots with i18n enabled are happy
R=mstarzinger@chromium.org

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

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

11 years agoInitialize ICU when running cctests.
jochen@chromium.org [Thu, 19 Sep 2013 12:00:15 +0000 (12:00 +0000)]
Initialize ICU when running cctests.

This is required on Windows to load the ICU data tables.

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

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

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

11 years agoremove GetCurrent from LocalContext
dcarney@chromium.org [Thu, 19 Sep 2013 10:31:04 +0000 (10:31 +0000)]
remove GetCurrent from LocalContext

R=svenpanne@chromium.org
BUG=

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

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

11 years agoremove CcTest::default_isolate
dcarney@chromium.org [Thu, 19 Sep 2013 09:56:09 +0000 (09:56 +0000)]
remove CcTest::default_isolate

R=svenpanne@chromium.org
BUG=

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

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

11 years agoTransitions from DOUBLE to FAST were not checking for allocation site info.
mvstanton@chromium.org [Thu, 19 Sep 2013 09:48:50 +0000 (09:48 +0000)]
Transitions from DOUBLE to FAST were not checking for allocation site info.
This creates a confusing result. It's better to let allocation sites
transition to their end state than artificially stop tracking at the
double/fast boundary.

BUG=
R=verwaest@chromium.org

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

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

11 years agoremove HEAP from tests
dcarney@chromium.org [Thu, 19 Sep 2013 09:46:15 +0000 (09:46 +0000)]
remove HEAP from tests

R=svenpanne@chromium.org
BUG=

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

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

11 years agoFix string and descriptor array decoding in grokdump.
verwaest@chromium.org [Thu, 19 Sep 2013 09:37:31 +0000 (09:37 +0000)]
Fix string and descriptor array decoding in grokdump.

BUG=
R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23465027

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

11 years agobulk replace Isolate::Current in tests
dcarney@chromium.org [Thu, 19 Sep 2013 09:17:13 +0000 (09:17 +0000)]
bulk replace Isolate::Current in tests

R=svenpanne@chromium.org
BUG=

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

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

11 years agoRevert ("Chromium 284577 needs a mitigation CL added." (svn-id 16742))
mvstanton@chromium.org [Thu, 19 Sep 2013 09:15:29 +0000 (09:15 +0000)]
Revert ("Chromium 284577 needs a mitigation CL added." (svn-id 16742))
Also change a check in heap-inl.h for diagnosing 284577 into an assert.

BUG=
R=mstarzinger@chromium.org

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

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

11 years agoRefactor back edge table related code into a new class.
yangguo@chromium.org [Thu, 19 Sep 2013 09:08:08 +0000 (09:08 +0000)]
Refactor back edge table related code into a new class.

This is mostly moving and renaming, except for the BackEdgeTableIterator.
Motivation is that the back edges in unoptimized code has nothing to do with the deoptimizer.

R=titzer@chromium.org
BUG=

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

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

11 years agoUse UniqueSet<T> and Unique<T> in HCheckMaps and HCheckValue.
titzer@chromium.org [Thu, 19 Sep 2013 09:07:27 +0000 (09:07 +0000)]
Use UniqueSet<T> and Unique<T> in HCheckMaps and HCheckValue.

BUG=
R=verwaest@chromium.org

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

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

11 years agobulk replace v8::Isolate::GetCurrent in tests
dcarney@chromium.org [Thu, 19 Sep 2013 08:54:58 +0000 (08:54 +0000)]
bulk replace v8::Isolate::GetCurrent in tests

R=svenpanne@chromium.org
BUG=

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

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

11 years agobuild fix for 16809 nosnapshot issue
dcarney@chromium.org [Thu, 19 Sep 2013 08:03:19 +0000 (08:03 +0000)]
build fix for 16809 nosnapshot issue

TBR=svenpanne@chromium.org
BUG=

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

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

11 years agoRemove default isolate usage from almost all tests
dcarney@chromium.org [Thu, 19 Sep 2013 07:33:45 +0000 (07:33 +0000)]
Remove default isolate usage from almost all tests

R=svenpanne@chromium.org
BUG=

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

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

11 years agoFix IfBuilder to use instruction factories. Add missing instruction factories.
bmeurer@chromium.org [Thu, 19 Sep 2013 06:45:45 +0000 (06:45 +0000)]
Fix IfBuilder to use instruction factories. Add missing instruction factories.

This also makes the instruction constructors private and fixes
all uses of the public constructors to use the factory methods
instead.

R=svenpanne@chromium.org

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

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

11 years agoAdd HLoadRoot hydrogen instruction.
bmeurer@chromium.org [Thu, 19 Sep 2013 06:08:13 +0000 (06:08 +0000)]
Add HLoadRoot hydrogen instruction.

R=svenpanne@chromium.org

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

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

11 years agoMove NumberToStringStub::GenerateLookupNumberStringCache to the MacroAssembler.
bmeurer@chromium.org [Thu, 19 Sep 2013 06:07:23 +0000 (06:07 +0000)]
Move NumberToStringStub::GenerateLookupNumberStringCache to the MacroAssembler.

This renames the method to LookupNumberStringCache() and puts it into
the MacroAssembler in preparation of the NumberToStringStub Hydrogen
conversion.

R=mvstanton@chromium.org

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

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

11 years agoTurn HCompareHoleAndBranch into a HUnaryControlInstruction.
bmeurer@chromium.org [Thu, 19 Sep 2013 06:06:32 +0000 (06:06 +0000)]
Turn HCompareHoleAndBranch into a HUnaryControlInstruction.

R=svenpanne@chromium.org

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

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

11 years agoTurn of polymorphic getter inlining since it breaks webkit tests
verwaest@chromium.org [Wed, 18 Sep 2013 16:59:23 +0000 (16:59 +0000)]
Turn of polymorphic getter inlining since it breaks webkit tests

BUG=
R=titzer@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23526063

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

11 years agoHandlify JSObject::AddFastPropertyUsingMap method.
mstarzinger@chromium.org [Wed, 18 Sep 2013 16:41:12 +0000 (16:41 +0000)]
Handlify JSObject::AddFastPropertyUsingMap method.

R=yangguo@chromium.org

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

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

11 years agoHandlify JSObject::SetNormalizedProperty methods.
mstarzinger@chromium.org [Wed, 18 Sep 2013 16:25:52 +0000 (16:25 +0000)]
Handlify JSObject::SetNormalizedProperty methods.

R=yangguo@chromium.org

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

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

11 years agoDynamically align OSR frames on ia32.
titzer@chromium.org [Wed, 18 Sep 2013 16:05:39 +0000 (16:05 +0000)]
Dynamically align OSR frames on ia32.

BUG=
R=yangguo@chromium.org

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

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