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

Issue 6055006: Fix inlining of instanceof stub for ARM (r6093). (Closed)

Created:
10 years ago by Karl Klose
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix inlining of instanceof stub for ARM (r6093). Committed: http://code.google.com/p/v8/source/detail?r=6117

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -16 lines) Patch
M src/arm/code-stubs-arm.cc View 1 3 chunks +15 lines, -11 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Karl Klose
10 years ago (2010-12-23 15:08:15 UTC) #1
Vyacheslav Egorov (Chromium)
LGTM http://codereview.chromium.org/6055006/diff/1/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/6055006/diff/1/src/arm/code-stubs-arm.cc#newcode2897 src/arm/code-stubs-arm.cc:2897: // object in r0 (or at sp+1*ptrsz) and ...
10 years ago (2010-12-23 15:49:09 UTC) #2
Karl Klose
10 years ago (2010-12-23 16:15:46 UTC) #3
http://codereview.chromium.org/6055006/diff/1/src/arm/code-stubs-arm.cc
File src/arm/code-stubs-arm.cc (right):

http://codereview.chromium.org/6055006/diff/1/src/arm/code-stubs-arm.cc#newco...
src/arm/code-stubs-arm.cc:2897: // object in r0 (or at sp+1*ptrsz) and function
in
On 2010/12/23 15:49:09, Vyacheslav Egorov wrote:
> ptrsz => kPointerSize ?
> 

Done.

http://codereview.chromium.org/6055006/diff/1/src/arm/code-stubs-arm.cc#newco...
src/arm/code-stubs-arm.cc:2925: __ LoadRoot(object,
Heap::kInstanceofCacheAnswerRootIndex);
On 2010/12/23 15:49:09, Vyacheslav Egorov wrote:
> r0 instead of object to reduce confusion

Done.

http://codereview.chromium.org/6055006/diff/1/src/arm/code-stubs-arm.cc#newco...
src/arm/code-stubs-arm.cc:2991: __ push(r0);
On 2010/12/23 15:49:09, Vyacheslav Egorov wrote:
> __ Push(r0, r1);
> 
> ?

Done.

http://codereview.chromium.org/6055006/diff/1/src/arm/lithium-codegen-arm.cc
File src/arm/lithium-codegen-arm.cc (right):

http://codereview.chromium.org/6055006/diff/1/src/arm/lithium-codegen-arm.cc#...
src/arm/lithium-codegen-arm.cc:1340: ASSERT(ToRegister(instr->left()).is(r0)); 
// object is in r0
On 2010/12/23 15:49:09, Vyacheslav Egorov wrote:
> // Object is in r0.
> 
> something like that

Done.

http://codereview.chromium.org/6055006/diff/1/src/arm/lithium-codegen-arm.cc#...
src/arm/lithium-codegen-arm.cc:1341: ASSERT(ToRegister(instr->right()).is(r1)); 
// function is in r1
On 2010/12/23 15:49:09, Vyacheslav Egorov wrote:
> ditto

Done.

Powered by Google App Engine
This is Rietveld 408576698