platform/upstream/v8.git
10 years agoremove Local::New with no isolate parameter
dcarney@chromium.org [Fri, 27 Sep 2013 07:04:02 +0000 (07:04 +0000)]
remove Local::New with no isolate parameter

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoMIPS: Refactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.
palfia@homejinni.com [Thu, 26 Sep 2013 22:18:02 +0000 (22:18 +0000)]
MIPS: Refactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.

Port r16961 (ce471468)

Original commit message:
This step reorders the FunctionCallbackInfo fields.

BUG=
R=plind44@gmail.com

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

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

10 years agoImplement local check elimination on basic blocks.
titzer@chromium.org [Thu, 26 Sep 2013 16:25:57 +0000 (16:25 +0000)]
Implement local check elimination on basic blocks.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoFix replaying of HCapturedObject for nested objects.
mstarzinger@chromium.org [Thu, 26 Sep 2013 15:28:46 +0000 (15:28 +0000)]
Fix replaying of HCapturedObject for nested objects.

R=titzer@chromium.org
TEST=mjsunit/compiler/property-refs,mjsunit/compiler/escape-analysis

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

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

10 years agoFix Windows build of defaults.cc.
hpayer@chromium.org [Thu, 26 Sep 2013 14:49:47 +0000 (14:49 +0000)]
Fix Windows build of defaults.cc.

BUG=None
R=hpayer@chromium.org

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

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

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

10 years agoAdd EscapableHandleScope to api to fix problems with HandleScope::Close
dcarney@chromium.org [Thu, 26 Sep 2013 13:46:37 +0000 (13:46 +0000)]
Add EscapableHandleScope to api to fix problems with HandleScope::Close

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoAdd methods to enable configuration of ResourceConstraints based on limits derived...
hpayer@chromium.org [Thu, 26 Sep 2013 13:31:19 +0000 (13:31 +0000)]
Add methods to enable configuration of ResourceConstraints based on limits derived at runtime.

Adds ConfigureResourceConstraintsForCurrentPlatform and SetDefaultResourceConstraintsForCurrentPlatform which configure the heap based on the available physical memory, rather than hard-coding by platform as previous.  This change also adds OS::TotalPhysicalMemory to platform.h.

BUG=292928
R=danno@chromium.org, hpayer@chromium.org

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

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

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

10 years agobuild fix for 16957 - broke shared builds
dcarney@chromium.org [Thu, 26 Sep 2013 12:42:10 +0000 (12:42 +0000)]
build fix for 16957 - broke shared builds

TBR=mstarzinger@chromium.org
BUG=

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

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

10 years agoRefactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.
marja@chromium.org [Thu, 26 Sep 2013 10:28:00 +0000 (10:28 +0000)]
Refactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.

This step reorders the FunctionCallbackInfo fields.

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

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

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

10 years agoAdd -optimize-for-size flag to optimize for memory size (will be used by pre-aging...
hpayer@chromium.org [Thu, 26 Sep 2013 09:40:13 +0000 (09:40 +0000)]
Add -optimize-for-size flag to optimize for memory size (will be used by pre-aging CL), and remove the is_memory_constrained ResourceConstraint.

BUG=292928
R=hpayer@chromium.org

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

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

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

10 years agoMake Heap::AllocateRawFixedArray methods private.
mstarzinger@chromium.org [Thu, 26 Sep 2013 09:37:25 +0000 (09:37 +0000)]
Make Heap::AllocateRawFixedArray methods private.

R=hpayer@chromium.org

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

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

10 years agobuild fix for 16957
dcarney@chromium.org [Thu, 26 Sep 2013 08:47:59 +0000 (08:47 +0000)]
build fix for 16957

TBR=mstarzinger@chromium.org
BUG=

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

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

10 years agoremove uses of static oddball accessors using GetCurrent in advance of removal from api
dcarney@chromium.org [Thu, 26 Sep 2013 08:21:48 +0000 (08:21 +0000)]
remove uses of static oddball accessors using GetCurrent in advance of removal from api

R=mstarzinger@chromium.org
BUG=

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

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

10 years agofix copy/paste error in r16955
dcarney@chromium.org [Thu, 26 Sep 2013 07:43:09 +0000 (07:43 +0000)]
fix copy/paste error in r16955

TBR=mstarzinger@chromium.org
BUG=

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

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

10 years agoadd isolate parameter to ThrowException
dcarney@chromium.org [Thu, 26 Sep 2013 07:37:59 +0000 (07:37 +0000)]
add isolate parameter to ThrowException

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.3.
machenbach@chromium.org [Thu, 26 Sep 2013 07:35:34 +0000 (07:35 +0000)]
Prepare push to trunk.  Now working on version 3.22.3.

R=danno@chromium.org
BUG=

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

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

10 years agoMIPS: Tweak Math.exp.
palfia@homejinni.com [Wed, 25 Sep 2013 20:42:26 +0000 (20:42 +0000)]
MIPS: Tweak Math.exp.

Port r16913 (a1b66fea)

Original commit message:
Avoid corrupting the input and small assembly tuning.

BUG=
R=plind44@gmail.com

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

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

10 years agoFix comment in test case.
machenbach@chromium.org [Wed, 25 Sep 2013 18:53:33 +0000 (18:53 +0000)]
Fix comment in test case.

TBR=jkummerow@chromium.org

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

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

10 years agoLet timer test retry for 20ms to reduce flakiness.
machenbach@chromium.org [Wed, 25 Sep 2013 16:47:56 +0000 (16:47 +0000)]
Let timer test retry for 20ms to reduce flakiness.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoMIPS: Less aggressive polling when concurrently compiling for OSR.
plind44@gmail.com [Wed, 25 Sep 2013 16:27:52 +0000 (16:27 +0000)]
MIPS: Less aggressive polling when concurrently compiling for OSR.

Port r16934 (b12e96b)

Original commit message:
Changes include:
- completed concurrent OSR tasks trigger a stack check interrupt.
- polling for completion is now guarded by a stack check.
- circular buffer for completed OSR tasks instead of list.

BUG=
R=plind44@gmail.com

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

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

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

10 years agoAllocate optimizing compiler thread only when necessary.
yangguo@chromium.org [Wed, 25 Sep 2013 15:14:12 +0000 (15:14 +0000)]
Allocate optimizing compiler thread only when necessary.

R=ulan@chromium.org
BUG=

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

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

10 years agoAdd trace output when recompilation queues are flushed.
yangguo@chromium.org [Wed, 25 Sep 2013 15:13:10 +0000 (15:13 +0000)]
Add trace output when recompilation queues are flushed.

R=mvstanton@chromium.org
BUG=

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

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

10 years agoInternalize names before using them in slow-mode objects.
verwaest@chromium.org [Wed, 25 Sep 2013 15:11:48 +0000 (15:11 +0000)]
Internalize names before using them in slow-mode objects.

R=yangguo@chromium.org

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

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

10 years agoSpecial handle for mul/div minus one when kAllUsesTruncatingToInt32
verwaest@chromium.org [Wed, 25 Sep 2013 15:10:48 +0000 (15:10 +0000)]
Special handle for mul/div minus one when kAllUsesTruncatingToInt32

BUG=
R=verwaest@chromium.org

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

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

10 years agoDisable timer mjsunit test on Windows.
hpayer@chromium.org [Wed, 25 Sep 2013 12:46:45 +0000 (12:46 +0000)]
Disable timer mjsunit test on Windows.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoAdd windows to status variable list.
machenbach@chromium.org [Wed, 25 Sep 2013 12:37:00 +0000 (12:37 +0000)]
Add windows to status variable list.

This will allow to modify test expectation for system==windows.

R=jkummerow@chromium.org

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

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

10 years agoMacrofication of HInstruction constructors with context argument.
olivf@chromium.org [Wed, 25 Sep 2013 11:57:20 +0000 (11:57 +0000)]
Macrofication of HInstruction constructors with context argument.

BUG=
R=danno@chromium.org

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

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

10 years agoRename "OptimizingCompiler" to the more suitable "RecompileJob".
yangguo@chromium.org [Wed, 25 Sep 2013 10:01:18 +0000 (10:01 +0000)]
Rename "OptimizingCompiler" to the more suitable "RecompileJob".

R=mvstanton@chromium.org
BUG=

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

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

10 years agoRevert OS::TimeCurrentMillis on Windows introduced in r16413.
hpayer@chromium.org [Wed, 25 Sep 2013 09:50:48 +0000 (09:50 +0000)]
Revert OS::TimeCurrentMillis on Windows introduced in r16413.

BUG=chromium:288924
R=danno@chromium.org, jkummerow@chromium.org

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

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

10 years agoRemove obsolete global SubString method.
mstarzinger@chromium.org [Wed, 25 Sep 2013 09:31:10 +0000 (09:31 +0000)]
Remove obsolete global SubString method.

R=yangguo@chromium.org

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

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

10 years agoReset IC to premonomorphic rather than uninitialized.
verwaest@chromium.org [Wed, 25 Sep 2013 09:25:39 +0000 (09:25 +0000)]
Reset IC to premonomorphic rather than uninitialized.

R=mstarzinger@chromium.org

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

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

10 years agoRemove unused kFirstMathFunctionId
yangguo@chromium.org [Wed, 25 Sep 2013 09:10:45 +0000 (09:10 +0000)]
Remove unused kFirstMathFunctionId

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

Patch from Haitao Feng <haitao.feng@intel.com>.

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

10 years agoLess aggressive polling when concurrently compiling for OSR.
yangguo@chromium.org [Wed, 25 Sep 2013 08:26:11 +0000 (08:26 +0000)]
Less aggressive polling when concurrently compiling for OSR.

Changes include:
- completed concurrent OSR tasks trigger a stack check interrupt.
- polling for completion is now guarded by a stack check.
- circular buffer for completed OSR tasks instead of list.

R=titzer@chromium.org
BUG=

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

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

10 years agoFix flaky parallel recompilation test.
olivf@chromium.org [Wed, 25 Sep 2013 08:23:14 +0000 (08:23 +0000)]
Fix flaky parallel recompilation test.

On very rare circumstances parallel recompilation would install
the optimized method earlier than expected and the test would fail.

BUG=
R=yangguo@chromium.org

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

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

10 years agoSpeed up ArrayBuffer/typed array/DataView properties.
dslomov@chromium.org [Wed, 25 Sep 2013 08:19:35 +0000 (08:19 +0000)]
Speed up ArrayBuffer/typed array/DataView properties.

Optimizes byteLength, byteOffset, buffer and other properties on
ArrayBuffer, typed arrays and DataView into simple field loads. Some
unification with the way Array.length and String.length are treated.

R=verwaest@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.2.
machenbach@chromium.org [Wed, 25 Sep 2013 08:18:59 +0000 (08:18 +0000)]
Prepare push to trunk.  Now working on version 3.22.2.

R=dslomov@chromium.org
BUG=

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

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

10 years agoRemove redundant flags for array buffer and typed arrays.
dslomov@chromium.org [Wed, 25 Sep 2013 07:25:44 +0000 (07:25 +0000)]
Remove redundant flags for array buffer and typed arrays.

These flags are a no-op for a while, we kept them just because
Blink used to set them. After
https://src.chromium.org/viewvc/blink?revision=158187 they can be safely
removed.

R=mstarzinger@chromium.org

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

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

10 years agoMIPS: replace RegExpCEntryStub with DirectCEntryStub.
plind44@gmail.com [Wed, 25 Sep 2013 00:58:04 +0000 (00:58 +0000)]
MIPS: replace RegExpCEntryStub with DirectCEntryStub.

Port r16618 (0eebc593)

Original commit message:
RegExpCEntryStub is therefore removed.

BUG=none
TEST=none
R=plind44@gmail.com

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

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

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

10 years agoMIPS: Turn the NumberToStringStub into a hydrogen stub.
palfia@homejinni.com [Wed, 25 Sep 2013 00:41:37 +0000 (00:41 +0000)]
MIPS: Turn the NumberToStringStub into a hydrogen stub.

Port r16910 (5a0dd952)

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

BUG=
R=plind44@gmail.com

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

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

10 years agoFix a typo
haitao.feng@intel.com [Wed, 25 Sep 2013 00:30:52 +0000 (00:30 +0000)]
Fix a typo

R=jkummerow@chromium.org

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

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

10 years agoExpose SameValue equality comparison algorithm
mstarzinger@chromium.org [Tue, 24 Sep 2013 16:51:43 +0000 (16:51 +0000)]
Expose SameValue equality comparison algorithm

Since SameValue algorithm is defined formally in ECMA262 and V8 already
exported Equals and StrictEquals algorithms, SameValue should be exposed.
And in this issue, we fix the issue of Object::SameValue implementation,
SameValue(0.0, -0.0) returnes true.

BUG=v8:2909
TEST=cctest/test-api/Equality
R=mstarzinger@chromium.org

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

Patch from Yusuke Suzuki <yusukesuzuki@chromium.org>.

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

10 years agoDelete Runtime_NotifyOSR.
titzer@chromium.org [Tue, 24 Sep 2013 15:27:49 +0000 (15:27 +0000)]
Delete Runtime_NotifyOSR.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoFlush recompile jobs on last-resort GC.
yangguo@chromium.org [Tue, 24 Sep 2013 13:39:06 +0000 (13:39 +0000)]
Flush recompile jobs on last-resort GC.

R=hpayer@chromium.org
BUG=

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

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

10 years agoScripts should not care about closed tree when committing.
yangguo@chromium.org [Tue, 24 Sep 2013 13:35:45 +0000 (13:35 +0000)]
Scripts should not care about closed tree when committing.

I just got bitten by this when merging to branch.

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

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

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

10 years agoAvoid fallback to weak entropy for the PRNGs on Windows.
bmeurer@chromium.org [Tue, 24 Sep 2013 13:27:58 +0000 (13:27 +0000)]
Avoid fallback to weak entropy for the PRNGs on Windows.

Add fallback to rand_s() to gather entropy on Windows for
seeding the random number generator. This is compatible
with what Blink does.

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

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

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

10 years agoMigrate to new test status file syntax
jkummerow@chromium.org [Tue, 24 Sep 2013 12:08:33 +0000 (12:08 +0000)]
Migrate to new test status file syntax

R=machenbach@chromium.org

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

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

10 years agoAndroid: sync test/intl to device and disable default-locale.js test.
ulan@chromium.org [Tue, 24 Sep 2013 11:49:33 +0000 (11:49 +0000)]
Android: sync test/intl to device and disable default-locale.js test.

R=jochen@chromium.org

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

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

10 years agoHandleScopeImplementer::entered_contexts_ should not store handles
dcarney@chromium.org [Tue, 24 Sep 2013 11:40:28 +0000 (11:40 +0000)]
HandleScopeImplementer::entered_contexts_ should not store handles

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoDisable GC stress for mjsunit/opt-elements.kind test.
mstarzinger@chromium.org [Tue, 24 Sep 2013 11:35:57 +0000 (11:35 +0000)]
Disable GC stress for mjsunit/opt-elements.kind test.

R=mvstanton@chromium.org
TEST=mjsunit/opt-elements-kind (in GC stress mode)

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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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