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

Issue 6686003: Refactor fast API call. (Closed)

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

Description

Refactor fast API call. Make it use custom call generator infrastructure. Committed: http://code.google.com/p/v8/source/detail?r=7246

Patch Set 1 #

Total comments: 18

Patch Set 2 : Patch #

Patch Set 3 : Addressing Vitaly's comments and porting to other platforms #

Patch Set 4 : Next round #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -166 lines) Patch
M src/arm/stub-cache-arm.cc View 1 2 3 5 chunks +65 lines, -41 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 2 chunks +3 lines, -12 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 5 chunks +72 lines, -46 lines 0 comments Download
M src/stub-cache.h View 1 2 3 3 chunks +12 lines, -3 lines 0 comments Download
M src/stub-cache.cc View 1 2 3 1 chunk +34 lines, -15 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 3 6 chunks +70 lines, -49 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
antonm
Vitaly, may you have a look? I think this unification is a good idea, but ...
9 years, 9 months ago (2011-03-11 20:43:14 UTC) #1
Vitaly Repeshko
The approach looks good. Waiting for the next review round... Thanks, Vitaly http://codereview.chromium.org/6686003/diff/1/src/hydrogen.cc File src/hydrogen.cc ...
9 years, 9 months ago (2011-03-14 15:33:10 UTC) #2
antonm
http://codereview.chromium.org/6686003/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/6686003/diff/1/src/hydrogen.cc#newcode4265 src/hydrogen.cc:4265: // because it is likely to generate better code. ...
9 years, 9 months ago (2011-03-15 08:57:37 UTC) #3
Vitaly Repeshko
LGTM http://codereview.chromium.org/6686003/diff/1/src/ia32/stub-cache-ia32.cc File src/ia32/stub-cache-ia32.cc (right): http://codereview.chromium.org/6686003/diff/1/src/ia32/stub-cache-ia32.cc#newcode2167 src/ia32/stub-cache-ia32.cc:2167: __ mov(eax, Operand(esp, 3 * kPointerSize)); On 2011/03/15 ...
9 years, 9 months ago (2011-03-17 15:30:04 UTC) #4
antonm
9 years, 9 months ago (2011-03-17 17:24:55 UTC) #5
http://codereview.chromium.org/6686003/diff/1/src/stub-cache.h
File src/stub-cache.h (right):

http://codereview.chromium.org/6686003/diff/1/src/stub-cache.h#newcode733
src/stub-cache.h:733: CallOptimization* optimization,
On 2011/03/17 15:30:04, Vitaly Repeshko wrote:
> On 2011/03/15 08:57:37, antonm wrote:
> > On 2011/03/14 15:33:10, Vitaly Repeshko wrote:
> > > Should work with "const CallOptimization&".
> > 
> > Well, it looks like typically v8 uses pointers, not references.  I'll switch
> if
> > you insist.
> 
> I insist on every comment I write, unless marked otherwise :) I really think
we
> should try to use C++ features when they provide more safety and don't get in
> the way.

Done.

Powered by Google App Engine
This is Rietveld 408576698