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

Issue 6778008: [Arguments] Support getters and setters on non-strict arguments objects. (Closed)

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

Description

[Arguments] Support getters and setters on non-strict arguments objects. R=ager@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=7433

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -50 lines) Patch
M src/objects.cc View 8 chunks +109 lines, -49 lines 3 comments Download
M src/runtime.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Chromium)
9 years, 8 months ago (2011-03-30 10:25:58 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/6778008/diff/1/src/objects.cc File src/objects.cc (right): http://codereview.chromium.org/6778008/diff/1/src/objects.cc#newcode2610 src/objects.cc:2610: FixedArray::cast(this->elements())->set(1, dictionary); Why the this-> here?
9 years, 8 months ago (2011-03-30 10:38:37 UTC) #2
Kevin Millikin (Chromium)
http://codereview.chromium.org/6778008/diff/1/src/objects.cc File src/objects.cc (right): http://codereview.chromium.org/6778008/diff/1/src/objects.cc#newcode2610 src/objects.cc:2610: FixedArray::cast(this->elements())->set(1, dictionary); On 2011/03/30 10:38:37, Mads Ager wrote: > ...
9 years, 8 months ago (2011-03-30 10:55:27 UTC) #3
Mads Ager (chromium)
9 years, 8 months ago (2011-03-30 11:01:18 UTC) #4
http://codereview.chromium.org/6778008/diff/1/src/objects.cc
File src/objects.cc (right):

http://codereview.chromium.org/6778008/diff/1/src/objects.cc#newcode2610
src/objects.cc:2610: FixedArray::cast(this->elements())->set(1, dictionary);
On 2011/03/30 10:55:27, Kevin Millikin wrote:
> On 2011/03/30 10:38:37, Mads Ager wrote:
> > Why the this-> here?
> 
> I shadowed the elements member function with an identically named local
> variable.

That one should be called something else I think. That is not elements. It is
elements or the first element of the arguments elements backing store (which I
think had a name).

Powered by Google App Engine
This is Rietveld 408576698