platform/upstream/v8.git
10 years agoCleanups in runtime.cc
yangguo@chromium.org [Thu, 17 Apr 2014 13:05:28 +0000 (13:05 +0000)]
Cleanups in runtime.cc

R=jkummerow@chromium.org

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

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

10 years agoInitialize elements pointer in BuildCloneShallowArray when allocation folding is...
hpayer@chromium.org [Thu, 17 Apr 2014 11:58:48 +0000 (11:58 +0000)]
Initialize elements pointer in BuildCloneShallowArray when allocation folding is turned off.

BUG=
R=mvstanton@chromium.org

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

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

10 years agoAlways pass in code to NewFunctionWithoutPrototype
verwaest@chromium.org [Thu, 17 Apr 2014 11:57:32 +0000 (11:57 +0000)]
Always pass in code to NewFunctionWithoutPrototype

BUG=
R=ishell@chromium.org

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

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

10 years agoExtend GCMole to also cover cctest files.
mstarzinger@chromium.org [Thu, 17 Apr 2014 11:57:08 +0000 (11:57 +0000)]
Extend GCMole to also cover cctest files.

R=rossberg@chromium.org

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

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

10 years agoSelect function map based on prototype and shared function info.
verwaest@chromium.org [Thu, 17 Apr 2014 11:50:22 +0000 (11:50 +0000)]
Select function map based on prototype and shared function info.

BUG=
R=ishell@chromium.org

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

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

10 years agoRemove hand-written assembly ArrayPush stubs
danno@chromium.org [Thu, 17 Apr 2014 11:37:59 +0000 (11:37 +0000)]
Remove hand-written assembly ArrayPush stubs

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

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

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

10 years agoX64: fix arguments adaptor stack check after r20751.
ulan@chromium.org [Thu, 17 Apr 2014 11:30:25 +0000 (11:30 +0000)]
X64: fix arguments adaptor stack check after r20751.

BUG=
R=haitao.feng@intel.com

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

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

10 years agoGrow old generation slower on low-memory devices.
hpayer@chromium.org [Thu, 17 Apr 2014 11:27:45 +0000 (11:27 +0000)]
Grow old generation slower on low-memory devices.

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

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

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

10 years agoHarden runtime functions
jkummerow@chromium.org [Thu, 17 Apr 2014 09:55:53 +0000 (09:55 +0000)]
Harden runtime functions

Part 1 of many.

R=dslomov@chromium.org

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

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

10 years agoFix handlification bug in test
rossberg@chromium.org [Thu, 17 Apr 2014 09:30:41 +0000 (09:30 +0000)]
Fix handlification bug in test

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

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

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

10 years agoTiny Parser fix: init identifiers.
marja@chromium.org [Thu, 17 Apr 2014 09:23:04 +0000 (09:23 +0000)]
Tiny Parser fix: init identifiers.

This bug went unnoticed because PreParserIdentifier and Handle<String> have
default ctors which create a null identifier, but this it not true for all
possible identifier types (especially pointers).

R=ulan@chromium.org
BUG=

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

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

10 years agoHandlify function.prototype accessor.
ulan@chromium.org [Thu, 17 Apr 2014 09:12:19 +0000 (09:12 +0000)]
Handlify function.prototype accessor.

BUG=
R=yangguo@chromium.org

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

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

10 years agoSome MaybeHandles related cleanups.
yangguo@chromium.org [Thu, 17 Apr 2014 08:33:18 +0000 (08:33 +0000)]
Some MaybeHandles related cleanups.

R=mvstanton@chromium.org

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

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

10 years agoTrack up to 5 stable maps as field type.
bmeurer@chromium.org [Thu, 17 Apr 2014 08:22:22 +0000 (08:22 +0000)]
Track up to 5 stable maps as field type.

R=svenpanne@chromium.org

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

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

10 years agoRemove uses of MaybeObject in runtime.cc.
yangguo@chromium.org [Thu, 17 Apr 2014 05:41:58 +0000 (05:41 +0000)]
Remove uses of MaybeObject in runtime.cc.

R=ulan@chromium.org

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

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

10 years agoAdjust memory limits.
palfia@homejinni.com [Wed, 16 Apr 2014 21:57:48 +0000 (21:57 +0000)]
Adjust memory limits.

- Introduce new constant: kBootCodeSizeMultiplier to handle the code size differences across the platforms.

- Increase memory limits due to larger code size on MIPS.

BUG=
R=danno@chromium.org, plind44@gmail.com

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

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

10 years agoRevert "ES6: Add support for Map/Set forEach"
adamk@chromium.org [Wed, 16 Apr 2014 21:19:25 +0000 (21:19 +0000)]
Revert "ES6: Add support for Map/Set forEach"

This reverts https://code.google.com/p/v8/source/detail?r=20823

It broke Windows builds. Will need to find a Windows try bot to figure
out why.

TBR=mstarzinger@chromium.org,arv@chromium.org

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

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

10 years agoES6: Add support for Map/Set forEach
adamk@chromium.org [Wed, 16 Apr 2014 21:12:27 +0000 (21:12 +0000)]
ES6: Add support for Map/Set forEach

This implements MapIterator and SetIterator which matches
the same constructs in the ES6 spec. However, these 2
iterators are not exposed to user code yet. They are only
used internally to implement Map.prototype.forEach and
Set.prototype.forEach.

Each iterator has a reference to the OrderedHashTable where
it directly accesses the hash table's entries.

The OrderedHashTable has a reference to the newest iterator
and each iterator has a reference to the next and previous
iterator, effectively creating a double linked list.

When the OrderedHashTable is mutated (or replaced) all the
iterators are updated.

When the iterator iterates passed the end of the data table
it closes itself. Closed iterators no longer have a
reference to the OrderedHashTable and they are removed from
the double linked list. In the case of Map/Set forEach, we
manually call Close on the iterator in case an exception was
thrown so that the iterator never reached the end.

At this point the OrderedHashTable keeps all the non finished
iterators alive but since the only thing we currently expose
is forEach there are no unfinished iterators outside a forEach
call. Once we expose the iterators to user code we will need
to make the references from the OrderedHashTable to the
iterators weak and have some mechanism to close an iterator
when it is garbage collected.

BUG=1793,2323
LOG=Y
TBR=mstarzinger@chromium.org

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

Patch from Erik Arvidsson <arv@chromium.org>.

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

10 years agoMIPS: Implement structural function and array types
plind44@gmail.com [Wed, 16 Apr 2014 19:02:58 +0000 (19:02 +0000)]
MIPS: Implement structural function and array types

Port r20817 (e7a84c1)

Original commit message:
Just wanted to add two constructors to a datatype, how ugly can it get?

BUG=
R=plind44@gmail.com

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

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

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

10 years agoCallers of Heap::AllocateStringFromOneByte() and Heap::AllocateStringFromUtf8() handl...
ishell@chromium.org [Wed, 16 Apr 2014 18:28:03 +0000 (18:28 +0000)]
Callers of Heap::AllocateStringFromOneByte() and Heap::AllocateStringFromUtf8() handlified.

R=yangguo@chromium.org

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

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

10 years agoHandlify HashTable and Dictionary growing.
dslomov@chromium.org [Wed, 16 Apr 2014 18:17:20 +0000 (18:17 +0000)]
Handlify HashTable and Dictionary growing.

R=ishell@chromium.org

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

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

10 years agoImplement structural function and array types
rossberg@chromium.org [Wed, 16 Apr 2014 16:36:27 +0000 (16:36 +0000)]
Implement structural function and array types

Just wanted to add two constructors to a datatype, how ugly can it get?

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

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

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

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

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

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

10 years agoImplement structural function and array types
rossberg@chromium.org [Wed, 16 Apr 2014 16:25:49 +0000 (16:25 +0000)]
Implement structural function and array types

Just wanted to add two constructors to a datatype, how ugly can it get?

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

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

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

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

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

10 years agoImplement structural function and array types
rossberg@chromium.org [Wed, 16 Apr 2014 16:16:37 +0000 (16:16 +0000)]
Implement structural function and array types

Just wanted to add two constructors to a datatype, how ugly can it get?

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

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

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

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

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

10 years agoRevert "Implement structural function and array types"
rossberg@chromium.org [Wed, 16 Apr 2014 15:59:39 +0000 (15:59 +0000)]
Revert "Implement structural function and array types"

TBR=jarin@chromium.org
BUG=

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

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

10 years agoImplement structural function and array types
rossberg@chromium.org [Wed, 16 Apr 2014 15:42:22 +0000 (15:42 +0000)]
Implement structural function and array types

Just wanted to add two constructors to a datatype, how ugly can it get?

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

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

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

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

10 years agoHandlify and convert the remaining Script accesssors.
ulan@chromium.org [Wed, 16 Apr 2014 14:30:58 +0000 (14:30 +0000)]
Handlify and convert the remaining Script accesssors.

BUG=
R=yangguo@chromium.org

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

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

10 years agoReland r20772 "Handlifying clients of StringTable, step 1."
ishell@chromium.org [Wed, 16 Apr 2014 14:15:32 +0000 (14:15 +0000)]
Reland r20772 "Handlifying clients of StringTable, step 1."

R=yangguo@chromium.org

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

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

10 years agoHandlify callers of AllocateUninitializedFixedArray.
yangguo@chromium.org [Wed, 16 Apr 2014 14:11:30 +0000 (14:11 +0000)]
Handlify callers of AllocateUninitializedFixedArray.

R=mvstanton@chromium.org

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

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

10 years agoHandlify number-related allocators.
yangguo@chromium.org [Wed, 16 Apr 2014 14:04:54 +0000 (14:04 +0000)]
Handlify number-related allocators.

R=mstarzinger@chromium.org

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

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

10 years agoRevert "Implement structural function and array types"
rossberg@chromium.org [Wed, 16 Apr 2014 13:57:25 +0000 (13:57 +0000)]
Revert "Implement structural function and array types"

TBR=jarin@chromium.org
BUG=

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

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

10 years agoImplement structural function and array types
rossberg@chromium.org [Wed, 16 Apr 2014 13:44:26 +0000 (13:44 +0000)]
Implement structural function and array types

Just wanted to add two constructors to a datatype, how ugly can it get?

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

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

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

10 years agoHandlify six more allocators in from the Heap class.
mstarzinger@chromium.org [Wed, 16 Apr 2014 13:35:36 +0000 (13:35 +0000)]
Handlify six more allocators in from the Heap class.

R=yangguo@chromium.org

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

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

10 years agoReland "Move functions from handles.cc to where they belong."
yangguo@chromium.org [Wed, 16 Apr 2014 13:28:11 +0000 (13:28 +0000)]
Reland "Move functions from handles.cc to where they belong."

R=jarin@chromium.org

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

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

10 years agoARM64: Fix native builds
m.m.capewell@googlemail.com [Wed, 16 Apr 2014 13:25:15 +0000 (13:25 +0000)]
ARM64: Fix native builds

Rearrange sed lines to enable native builds for ARM64.

BUG=
R=jochen@chromium.org

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

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

10 years agoHandlify Heap::AllocateAllocationSite.
mstarzinger@chromium.org [Wed, 16 Apr 2014 12:54:29 +0000 (12:54 +0000)]
Handlify Heap::AllocateAllocationSite.

R=ishell@chromium.org

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

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

10 years agoRevert "Move functions from handles.cc to where they belong."
yangguo@chromium.org [Wed, 16 Apr 2014 12:35:50 +0000 (12:35 +0000)]
Revert "Move functions from handles.cc to where they belong."

This reverts r20802 .

TBR=jarin@chromium.org

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

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

10 years agoLimit the lifetime of handles in Map::UpdateCodeCache.
dslomov@chromium.org [Wed, 16 Apr 2014 12:24:01 +0000 (12:24 +0000)]
Limit the lifetime of handles in Map::UpdateCodeCache.

R=ulan@chromium.org

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

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

10 years agoMove functions from handles.cc to where they belong.
yangguo@chromium.org [Wed, 16 Apr 2014 12:16:06 +0000 (12:16 +0000)]
Move functions from handles.cc to where they belong.

R=mvstanton@chromium.org, ulan@chromium.org

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

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

10 years agoHandlify CodeCache.
dslomov@chromium.org [Wed, 16 Apr 2014 12:10:56 +0000 (12:10 +0000)]
Handlify CodeCache.

R=yangguo@chromium.org
BUG=

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

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

10 years agoRemoved Isolate::EnterDefaultIsolate.
svenpanne@chromium.org [Wed, 16 Apr 2014 12:01:38 +0000 (12:01 +0000)]
Removed Isolate::EnterDefaultIsolate.

BUG=359977
LOG=y
R=bmeurer@chromium.org

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

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

10 years agoHandlify and convert Script accesssors to new API-style accessors.
ulan@chromium.org [Wed, 16 Apr 2014 11:57:23 +0000 (11:57 +0000)]
Handlify and convert Script accesssors to new API-style accessors.

BUG=
R=yangguo@chromium.org

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

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

10 years agoImprove execution time of cctest/test-types.
bmeurer@chromium.org [Wed, 16 Apr 2014 11:56:51 +0000 (11:56 +0000)]
Improve execution time of cctest/test-types.

R=svenpanne@chromium.org

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

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

10 years agoFix unused variable warnings.
yangguo@chromium.org [Wed, 16 Apr 2014 11:50:24 +0000 (11:50 +0000)]
Fix unused variable warnings.

TBR=jarin@chromium.org

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

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

10 years agoAllow merging of monomorphic accesses to tracked fields.
bmeurer@chromium.org [Wed, 16 Apr 2014 11:41:09 +0000 (11:41 +0000)]
Allow merging of monomorphic accesses to tracked fields.

Also add stability dependency only on maps that can transition,
and delay adding the dependencies until we are actually using
them, either in a HLoadNamedField or an HCheckMaps.

TEST=mjsunit/field-type-tracking
R=svenpanne@chromium.org

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

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

10 years agoHandlify code allocation.
yangguo@chromium.org [Wed, 16 Apr 2014 11:38:56 +0000 (11:38 +0000)]
Handlify code allocation.

R=mstarzinger@chromium.org

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

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

10 years agoLazyInstance should be thread safe by default.
mvstanton@chromium.org [Wed, 16 Apr 2014 11:31:39 +0000 (11:31 +0000)]
LazyInstance should be thread safe by default.

The only ways we use this class require it, as multiple isolates can race
to initialize data structures. This showed up as intermittant failures on
nosnap build bots.

R=hpayer@chromium.org

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

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

10 years agoMove CopyReplaceDescriptors to private
verwaest@chromium.org [Wed, 16 Apr 2014 11:25:29 +0000 (11:25 +0000)]
Move CopyReplaceDescriptors to private

BUG=
R=ishell@chromium.org

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

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

10 years agoIntroduce an abstraction to write to a field.
verwaest@chromium.org [Wed, 16 Apr 2014 11:11:21 +0000 (11:11 +0000)]
Introduce an abstraction to write to a field.

BUG=
R=ishell@chromium.org

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

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

10 years agoMove property addition code from JSObject to Map
verwaest@chromium.org [Wed, 16 Apr 2014 10:45:57 +0000 (10:45 +0000)]
Move property addition code from JSObject to Map

BUG=
R=ishell@chromium.org

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

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

10 years agoClear invalid field maps in PropertyAccessInfo.
bmeurer@chromium.org [Wed, 16 Apr 2014 09:48:32 +0000 (09:48 +0000)]
Clear invalid field maps in PropertyAccessInfo.

BUG=363956
TEST=mjsunit/regress/regress-363956
LOG=y
R=jarin@chromium.org

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

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

10 years agoProtect against API abuse.
svenpanne@chromium.org [Wed, 16 Apr 2014 08:42:08 +0000 (08:42 +0000)]
Protect against API abuse.

This makes Chrome's --single-process work again, but the real solution
is to pass an Isolate explicitly and fixing things on the Chrome side
=> follow-up CLs.

R=ulan@chromium.org

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

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

10 years agoRemove some uses of MaybeObject methods.
yangguo@chromium.org [Wed, 16 Apr 2014 07:26:34 +0000 (07:26 +0000)]
Remove some uses of MaybeObject methods.

R=bmeurer@chromium.org

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

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

10 years agoRemove further unhandlified call sites of number allocations.
yangguo@chromium.org [Wed, 16 Apr 2014 06:18:37 +0000 (06:18 +0000)]
Remove further unhandlified call sites of number allocations.

R=dslomov@chromium.org

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

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

10 years agoIntroduce DontEmitDebugCodeScope to fix the x64 nosnapshot build.
haitao.feng@intel.com [Wed, 16 Apr 2014 02:06:14 +0000 (02:06 +0000)]
Introduce DontEmitDebugCodeScope to fix the x64 nosnapshot build.

R=yangguo@chromium.org

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

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

10 years agoMIPS: Reland r20692 "Check stack limit in ArgumentAdaptorTrampoline."
palfia@homejinni.com [Wed, 16 Apr 2014 01:08:23 +0000 (01:08 +0000)]
MIPS: Reland r20692 "Check stack limit in ArgumentAdaptorTrampoline."

Port r20751 (18578019)

BUG=
R=plind44@gmail.com

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

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

10 years agoRevert "ES6: Add support for Map/Set forEach"
adamk@chromium.org [Wed, 16 Apr 2014 01:03:56 +0000 (01:03 +0000)]
Revert "ES6: Add support for Map/Set forEach"

This reverts commit https://code.google.com/p/v8/source/detail?r=20781.

It broke the Win32 builders.

TBR=mstarzinger@chromium.org

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

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

10 years agoES6: Add support for Map/Set forEach
adamk@chromium.org [Wed, 16 Apr 2014 00:40:03 +0000 (00:40 +0000)]
ES6: Add support for Map/Set forEach

This implements MapIterator and SetIterator which matches
the same constructs in the ES6 spec. However, these 2
iterators are not exposed to user code yet. They are only
used internally to implement Map.prototype.forEach and
Set.prototype.forEach.

Each iterator has a reference to the OrderedHashTable where
it directly accesses the hash table's entries.

The OrderedHashTable has a reference to the newest iterator
and each iterator has a reference to the next and previous
iterator, effectively creating a double linked list.

When the OrderedHashTable is mutated (or replaced) all the
iterators are updated.

When the iterator iterates passed the end of the data table
it closes itself. Closed iterators no longer have a
reference to the OrderedHashTable and they are removed from
the double linked list. In the case of Map/Set forEach, we
manually call Close on the iterator in case an exception was
thrown so that the iterator never reached the end.

At this point the OrderedHashTable keeps all the non finished
iterators alive but since the only thing we currently expose
is forEach there are no unfinished iterators outside a forEach
call. Once we expose the iterators to user code we will need
to make the references from the OrderedHashTable to the
iterators weak and have some mechanism to close an iterator
when it is garbage collected.

BUG=1793,2323
LOG=Y
R=adamk@chromium.org, mstarzinger@chromium.org

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

Patch from Erik Arvidsson <arv@chromium.org>.

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

10 years agoMIPS: Add big-endian support for MIPS.
plind44@gmail.com [Tue, 15 Apr 2014 16:39:21 +0000 (16:39 +0000)]
MIPS: Add big-endian support for MIPS.

Important notices:

- The snapshot cannot be created for big-endian target in cross-compilation
  environment on little-endian host using simulator.

- In order to have i18n support working on big-endian target, the icudt46b.dat and
  icudt46b_dat.S files should be generated and upstreamed to ICU repo.

- The mjsunit 'nans' test is endian dependent, it is skipped for mips target.

- The zlib and Mandreel from Octane 2.0 benchmark are endian dependent due to
  use of typed arrays.

TEST=
BUG=
R=jkummerow@chromium.org, plind44@gmail.com

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

Patch from Dusan Milosavljevic <Dusan.Milosavljevic@rt-rk.com>.

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

10 years agoRemove assertion scopes from V8_Fatal
jochen@chromium.org [Tue, 15 Apr 2014 15:37:42 +0000 (15:37 +0000)]
Remove assertion scopes from V8_Fatal

V8_Fatal no longer tries to print a js stack, so we don't need those
scopes

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

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

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

10 years agoJumpPatchSites can/should easily deal with uint8 sized offsets.
mvstanton@chromium.org [Tue, 15 Apr 2014 15:29:23 +0000 (15:29 +0000)]
JumpPatchSites can/should easily deal with uint8 sized offsets.

Motivation is that x64 nosnapshot builds need a 129 byte delta at the moment.

R=mstarzinger@chromium.org

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

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

10 years agoRevert "Handlifying clients of StringTable, step 1."
ishell@chromium.org [Tue, 15 Apr 2014 15:17:04 +0000 (15:17 +0000)]
Revert "Handlifying clients of StringTable, step 1."

This reverts commit r20772.

TBR=jarin@chromium.org

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

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

10 years agoMIPS: Reland "Track field types.".
plind44@gmail.com [Tue, 15 Apr 2014 15:11:36 +0000 (15:11 +0000)]
MIPS: Reland "Track field types.".

Port r20746 (09f9176)

Original commit message:
This is an initial step towards tracking the exact types instead of just
the representations of fields. It adds support to track up to one map of
heap object field values, eliminating various map checks on values
loaded from such fields, at the cost of making stores to such fields
slightly more expensive.

Issues with transitioning stores and fast object literals in Crankshaft
fixed.

TEST=mjsunit/field-type-tracking
BUG=
R=bmeurer@chromium.org

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

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

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

10 years agoRefactoring: HashMap: provide a pointer match function, so users don't need to.
marja@chromium.org [Tue, 15 Apr 2014 14:48:21 +0000 (14:48 +0000)]
Refactoring: HashMap: provide a pointer match function, so users don't need to.

R=yangguo@chromium.org

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

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

10 years agoHandlifying clients of StringTable, step 1.
ishell@chromium.org [Tue, 15 Apr 2014 14:20:59 +0000 (14:20 +0000)]
Handlifying clients of StringTable, step 1.

R=yangguo@chromium.org

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

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

10 years agoARM64: Access has_pending_message_ correctly.
Jacob.Bramley@arm.com [Tue, 15 Apr 2014 14:03:25 +0000 (14:03 +0000)]
ARM64: Access has_pending_message_ correctly.

This fixes accesses in ARM and ARM64; the field is a bool, with size 1,
but we were accessing it with pointer-sized loads and stores.

BUG=
R=ulan@chromium.org

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

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

10 years agoFix MUST_USE_RESULT warning.
yangguo@chromium.org [Tue, 15 Apr 2014 13:56:51 +0000 (13:56 +0000)]
Fix MUST_USE_RESULT warning.

R=jarin@chromium.org

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

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

10 years agoUse a wrapper for copying object.
yangguo@chromium.org [Tue, 15 Apr 2014 13:42:41 +0000 (13:42 +0000)]
Use a wrapper for copying object.

R=mvstanton@chromium.org

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

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

10 years agoHandlify BasicJsonStringifier.
yangguo@chromium.org [Tue, 15 Apr 2014 13:37:15 +0000 (13:37 +0000)]
Handlify BasicJsonStringifier.

R=ishell@chromium.org

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

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

10 years agoReland r20652 "Handlify and convert string.length to new API-style accessor."
ulan@chromium.org [Tue, 15 Apr 2014 13:25:17 +0000 (13:25 +0000)]
Reland r20652 "Handlify and convert string.length to new API-style accessor."

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

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

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

10 years agoFix bogus call to Object.hasOwnProperty in Array builtin.
mstarzinger@chromium.org [Tue, 15 Apr 2014 12:52:41 +0000 (12:52 +0000)]
Fix bogus call to Object.hasOwnProperty in Array builtin.

R=mvstanton@chromium.org
TEST=mjsunit/regress/regress-builtinbust-5

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

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

10 years agoHandlify JSObject::FastPropertyAt.
yangguo@chromium.org [Tue, 15 Apr 2014 12:11:39 +0000 (12:11 +0000)]
Handlify JSObject::FastPropertyAt.

R=ulan@chromium.org

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

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

10 years agoReset change log and version to current trunk.
machenbach@chromium.org [Tue, 15 Apr 2014 12:05:45 +0000 (12:05 +0000)]
Reset change log and version to current trunk.

BUG=
R=jarin@chromium.org

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

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

10 years agoLet revision script add commit dates.
machenbach@chromium.org [Tue, 15 Apr 2014 12:00:53 +0000 (12:00 +0000)]
Let revision script add commit dates.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoFunction allocators, Heap::ReinitializeJSGlobalProxy() and Heap::ReinitializeJSReceiv...
ishell@chromium.org [Tue, 15 Apr 2014 11:51:34 +0000 (11:51 +0000)]
Function allocators, Heap::ReinitializeJSGlobalProxy() and Heap::ReinitializeJSReceiver() handlified. Factory::New<>() added.

R=mstarzinger@chromium.org

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

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

10 years agoRemove direct calls to number-related allocators from runtime.cc.
yangguo@chromium.org [Tue, 15 Apr 2014 11:16:02 +0000 (11:16 +0000)]
Remove direct calls to number-related allocators from runtime.cc.

R=dslomov@chromium.org

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

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

10 years agoRemove some direct uses of heap allocators from runtime.cc
yangguo@chromium.org [Tue, 15 Apr 2014 10:59:38 +0000 (10:59 +0000)]
Remove some direct uses of heap allocators from runtime.cc

R=jarin@chromium.org

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

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

10 years agoRemoved EnterIsolateIfNeeded and a soon-to-be-useless assertion.
svenpanne@chromium.org [Tue, 15 Apr 2014 10:45:34 +0000 (10:45 +0000)]
Removed EnterIsolateIfNeeded and a soon-to-be-useless assertion.

BUG=359977
LOG=y
R=dcarney@chromium.org

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

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

10 years agoFirst round of runtime.cc handlification.
dslomov@chromium.org [Tue, 15 Apr 2014 10:37:12 +0000 (10:37 +0000)]
First round of runtime.cc handlification.

R=yangguo@chromium.org

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

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

10 years agoHandlify PrepareSlowElementsForSort and JSArrayUpdateLengthFromIndex.
yangguo@chromium.org [Tue, 15 Apr 2014 10:29:56 +0000 (10:29 +0000)]
Handlify PrepareSlowElementsForSort and JSArrayUpdateLengthFromIndex.

R=mvstanton@chromium.org

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

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

10 years agoHandlify AddDependentCode(), AddDependentCompilationInfo() and AddDependentIC().
bmeurer@chromium.org [Tue, 15 Apr 2014 10:14:50 +0000 (10:14 +0000)]
Handlify AddDependentCode(), AddDependentCompilationInfo() and AddDependentIC().

R=ishell@chromium.org

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

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

10 years agoARM: Do not set FPSCR when converting to clamped uint8
rmcilroy@chromium.org [Tue, 15 Apr 2014 09:58:09 +0000 (09:58 +0000)]
ARM: Do not set FPSCR when converting to clamped uint8

Setting the FPSCR flags is expensive on some CPUs. Get rid of repeated
setting of the FPSCR by relying on the correct default flags being set
when doing uint8 clamping. Also use vcvt_u32_f64 instead of vcvt_s32_f64,
which enables removing the check against zero (vcvt_u32_f64 will clamp to
zero).

To be on the safe side, add asserts to check that the VFP rounding mode
flags are set to default as expected.

This increases performance of a hot loop repeatedly setting
Uint8ClampedArray values on some CPUs by as much as a factor of 12.

BUG=v8:3253
LOG=N
R=jacob.bramley@arm.com, rmcilroy@chromium.org, ulan@chromium.org

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

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

Patch from Olli Etuaho <oetuaho@nvidia.com>.

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

10 years agoBump kMaxFastProperties (non-keyed assignments) to 128.
verwaest@chromium.org [Tue, 15 Apr 2014 08:59:51 +0000 (08:59 +0000)]
Bump kMaxFastProperties (non-keyed assignments) to 128.

R=ishell@chromium.org

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

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

10 years agoremove some isolate::current uses from api.cc
dcarney@chromium.org [Tue, 15 Apr 2014 08:30:42 +0000 (08:30 +0000)]
remove some isolate::current uses from api.cc

R=svenpanne@chromium.org

BUG=

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

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

10 years agoRefactor ParseFunctionLiteral.
marja@chromium.org [Tue, 15 Apr 2014 08:29:24 +0000 (08:29 +0000)]
Refactor ParseFunctionLiteral.

It was a pretty monstrous 500 line function.

R=mstarzinger@chromium.org

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

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

10 years agoReland r20692 "Check stack limit in ArgumentAdaptorTrampoline."
ulan@chromium.org [Tue, 15 Apr 2014 08:26:26 +0000 (08:26 +0000)]
Reland r20692 "Check stack limit in ArgumentAdaptorTrampoline."

BUG=353058
LOG=N
TEST=mjsunit/regress/regress-353058
R=mstarzinger@chromium.org

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

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

10 years agoFix bogus Object.isSealed check in some Array builtins.
mstarzinger@chromium.org [Tue, 15 Apr 2014 08:25:42 +0000 (08:25 +0000)]
Fix bogus Object.isSealed check in some Array builtins.

R=mvstanton@chromium.org

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

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

10 years agoHandlify TypedArray setters.
yangguo@chromium.org [Tue, 15 Apr 2014 08:15:33 +0000 (08:15 +0000)]
Handlify TypedArray setters.

R=dslomov@chromium.org

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

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

10 years agoRemove assertion from callers of TryCall.
yangguo@chromium.org [Tue, 15 Apr 2014 07:56:00 +0000 (07:56 +0000)]
Remove assertion from callers of TryCall.

R=ishell@chromium.org
BUG=363280
LOG=N

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

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

10 years agoRemoved GetDefaultIsolate{Debugger,ForLocking,StackGuard}.
svenpanne@chromium.org [Tue, 15 Apr 2014 07:47:33 +0000 (07:47 +0000)]
Removed GetDefaultIsolate{Debugger,ForLocking,StackGuard}.

Some first steps towards removing the default Isolate. Fixed argument
order on the way, incl. temporary helpers.

BUG=359977
LOG=y
R=bmeurer@chromium.org

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

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

10 years agoReland "Track field types.".
bmeurer@chromium.org [Tue, 15 Apr 2014 07:36:47 +0000 (07:36 +0000)]
Reland "Track field types.".

This is an initial step towards tracking the exact types instead of just
the representations of fields. It adds support to track up to one map of
heap object field values, eliminating various map checks on values
loaded from such fields, at the cost of making stores to such fields
slightly more expensive.

Issues with transitioning stores and fast object literals in Crankshaft
fixed.

TEST=mjsunit/field-type-tracking
R=svenpanne@chromium.org

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

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

10 years agoReland "Handlify GetDeclaredAccessorProperty."
yangguo@chromium.org [Tue, 15 Apr 2014 06:54:56 +0000 (06:54 +0000)]
Reland "Handlify GetDeclaredAccessorProperty."

R=jarin@chromium.org

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

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

10 years agoRemove unnecessary %UnwrapGlobalProxy calls from object-observe.js
adamk@chromium.org [Mon, 14 Apr 2014 20:52:20 +0000 (20:52 +0000)]
Remove unnecessary %UnwrapGlobalProxy calls from object-observe.js

The intent of these calls was to properly key the WeakMap get/set calls
on the underlying global object, not the proxy, since that is the object
actually being observed. But unwrapping at this layer is unnecessary
since GetIdentityHash will already do the unwrapping (via its call to
GetHiddenProperty).

Also remove the runtime function itself, as these were the only callers,
and remove the now-redundant IS_SPEC_OBJECT() checks from object-observe.js's
MapWrapper type.

R=verwaest@chromium.org

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

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

10 years agoReland "Handlify DebugLookupResultValue."
yangguo@chromium.org [Mon, 14 Apr 2014 19:38:29 +0000 (19:38 +0000)]
Reland "Handlify DebugLookupResultValue."

R=jarin@chromium.org

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

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

10 years agoReland "Handlify Runtime::InitializeIntrinsicFunctionNames."
yangguo@chromium.org [Mon, 14 Apr 2014 19:37:51 +0000 (19:37 +0000)]
Reland "Handlify Runtime::InitializeIntrinsicFunctionNames."

R=mstarzinger@chromium.org

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

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

10 years agoExport [Dis]allowJavascriptExecutionScope
yangguo@chromium.org [Mon, 14 Apr 2014 19:34:32 +0000 (19:34 +0000)]
Export [Dis]allowJavascriptExecutionScope

R=yangguo@chromium.org

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

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

10 years agoInitial steps for moving code onto Map
verwaest@chromium.org [Mon, 14 Apr 2014 16:21:38 +0000 (16:21 +0000)]
Initial steps for moving code onto Map

BUG=
R=ishell@chromium.org

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

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

10 years agoHandlify Heap::AllocateJSArrayStorage and friends.
mstarzinger@chromium.org [Mon, 14 Apr 2014 16:05:19 +0000 (16:05 +0000)]
Handlify Heap::AllocateJSArrayStorage and friends.

R=yangguo@chromium.org

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

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

10 years agoReland "HashTable::Shrink() handlified and derived template parameter added to HashTa...
ishell@chromium.org [Mon, 14 Apr 2014 15:56:57 +0000 (15:56 +0000)]
Reland "HashTable::Shrink() handlified and derived template parameter added to HashTable hierarchy."

R=yangguo@chromium.org

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

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

10 years agoRe-reland "More tests for Union & Intersect"
rossberg@chromium.org [Mon, 14 Apr 2014 15:35:36 +0000 (15:35 +0000)]
Re-reland "More tests for Union & Intersect"

R=jarin@chromium.org
BUG=

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

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