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

Issue 600123: Port keyed interceptor stubs to ARM and x64. (Closed)

Created:
10 years, 10 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Port keyed interceptor stubs to ARM and x64. Committed: http://code.google.com/p/v8/source/detail?r=3874

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changing receiver/key checks order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -10 lines) Patch
M src/arm/ic-arm.cc View 1 3 chunks +42 lines, -9 lines 0 comments Download
M src/x64/ic-x64.cc View 1 chunk +39 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
antonm
Mads, may you have a look?
10 years, 10 months ago (2010-02-15 08:55:44 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/600123/diff/1/3 File src/x64/ic-x64.cc (right): http://codereview.chromium.org/600123/diff/1/3#newcode588 src/x64/ic-x64.cc:588: // Check that the receiver isn't a smi. ...
10 years, 10 months ago (2010-02-15 11:04:21 UTC) #2
antonm
http://codereview.chromium.org/600123/diff/1/3 File src/x64/ic-x64.cc (right): http://codereview.chromium.org/600123/diff/1/3#newcode588 src/x64/ic-x64.cc:588: // Check that the receiver isn't a smi. On ...
10 years, 10 months ago (2010-02-15 11:12:11 UTC) #3
Mads Ager (chromium)
On 2010/02/15 11:12:11, antonm wrote: > http://codereview.chromium.org/600123/diff/1/3 > File src/x64/ic-x64.cc (right): > > http://codereview.chromium.org/600123/diff/1/3#newcode588 > ...
10 years, 10 months ago (2010-02-15 11:30:12 UTC) #4
antonm
10 years, 10 months ago (2010-02-15 11:57:33 UTC) #5
I changed the order in GenerateGeneric and GenerateIndexedInterceptor.  Let's
hope it won't affect performance.

yours,
anton.

On 2010/02/15 11:30:12, Mads Ager wrote:
> On 2010/02/15 11:12:11, antonm wrote:
> > http://codereview.chromium.org/600123/diff/1/3
> > File src/x64/ic-x64.cc (right):
> > 
> > http://codereview.chromium.org/600123/diff/1/3#newcode588
> > src/x64/ic-x64.cc:588: // Check that the receiver isn't a smi.
> > On 2010/02/15 11:04:21, Mads Ager wrote:
> > > Not sure that the order of these checks matter much, but they are reversed
> > here
> > > compared to the ARM version.  Would be nice to be consistent.  It is
> probably
> > > most likely that the index is not a smi, so maybe check that first on all
> > > platforms?
> > 
> > I just followed the sequence from KeyedLoadIC::GenerateGeneric for the
> > corresponding platforms.
> > 
> > What would you prefer: keep things as is now or adjust both generic and
> > interceptor cases?
> 
> It probably makes very little difference, but I like the platforms to be
> consistent.

Powered by Google App Engine
This is Rietveld 408576698