Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Issue 6725030: [Arguments] Introduce a new backing store for non-strict arguments objects. (Closed)

Created:
9 years, 9 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

[Arguments] Introduce a new backing store for non-strict arguments objects. The elements of a non-strict arguments object go through a level of indirection. I've lifted the term "parameter map" from the ES5 spec. The parameter map maps property indexes to context slot indexes for the indexed properties that alias the parameters. It contains the context and a separate backing store for indexed properties that do not alias the parameters. For non-strict arguments allocation, the arguments allocation stub goes immediately to the runtime (temporarily). Inline caching is disabled for most non-strict arguments objects. R=ager@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=7334

Patch Set 1 #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+548 lines, -266 lines) Patch
M src/accessors.cc View 1 chunk +1 line, -0 lines 1 comment Download
M src/arm/code-stubs-arm.cc View 1 chunk +77 lines, -73 lines 2 comments Download
M src/heap.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 2 chunks +69 lines, -65 lines 0 comments Download
M src/ic.cc View 1 chunk +6 lines, -1 line 0 comments Download
M src/objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 21 chunks +190 lines, -32 lines 4 comments Download
M src/objects-inl.h View 2 chunks +24 lines, -24 lines 0 comments Download
src/runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 2 chunks +97 lines, -0 lines 5 comments Download
M src/x64/code-stubs-x64.cc View 1 chunk +75 lines, -71 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
http://codereview.chromium.org/6725030/diff/1/src/accessors.cc File src/accessors.cc (right): http://codereview.chromium.org/6725030/diff/1/src/accessors.cc#newcode736 src/accessors.cc:736: UNIMPLEMENTED(); I have placed UNIMPLEMENTED() in places that will ...
9 years, 9 months ago (2011-03-23 16:07:20 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/6725030/diff/1/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/6725030/diff/1/src/arm/code-stubs-arm.cc#newcode4873 src/arm/code-stubs-arm.cc:4873: __ mov(r1, Operand(r1, LSR, kSmiTagSize)); // Untag the ...
9 years, 9 months ago (2011-03-24 08:04:04 UTC) #2
Kevin Millikin (Chromium)
9 years, 9 months ago (2011-03-24 08:42:51 UTC) #3
http://codereview.chromium.org/6725030/diff/1/src/runtime.cc
File src/runtime.cc (right):

http://codereview.chromium.org/6725030/diff/1/src/runtime.cc#newcode7212
src/runtime.cc:7212: // Store the context and the arguments array at the end of
the
On 2011/03/24 08:04:04, Mads Ager wrote:
> end -> beginning?
> 
> elements array -> parameter map?

Thanks.  Those were some stale comments.

Powered by Google App Engine
This is Rietveld 408576698