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

Issue 1751019: Change the LoadIC calling convention so that the receiver... (Closed)

Created:
10 years, 8 months ago by Erik Corry
Modified:
10 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

Change the LoadIC calling convention so that the receiver is both on top of the stack and also in r0. This makes sense because the receiver is usually in r0 anyway. We may remove it from the stack later. Also removes some spilled scopes from the code generator allowing it to keep expression temporaries in registers more. Committed: http://code.google.com/p/v8/source/detail?r=4518

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -71 lines) Patch
M src/arm/codegen-arm.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/arm/codegen-arm.cc View 15 chunks +35 lines, -23 lines 2 comments Download
M src/arm/debug-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/full-codegen-arm.cc View 7 chunks +8 lines, -7 lines 0 comments Download
M src/arm/ic-arm.cc View 13 chunks +29 lines, -30 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 chunk +7 lines, -8 lines 0 comments Download
M src/arm/virtual-frame-arm.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm/virtual-frame-arm.cc View 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Erik Corry
10 years, 8 months ago (2010-04-26 14:31:52 UTC) #1
Søren Thygesen Gjesse
http://codereview.chromium.org/1751019/diff/1/8 File src/arm/ic-arm.cc (right): http://codereview.chromium.org/1751019/diff/1/8#newcode51 src/arm/ic-arm.cc:51: Register t1) { Wouldn't it be better to pass ...
10 years, 8 months ago (2010-04-26 15:09:39 UTC) #2
Søren Thygesen Gjesse
LGTM
10 years, 8 months ago (2010-04-26 15:09:44 UTC) #3
Erik Corry
http://codereview.chromium.org/1751019/diff/1/6 File src/arm/virtual-frame-arm.h (right): http://codereview.chromium.org/1751019/diff/1/6#newcode345 src/arm/virtual-frame-arm.h:345: void SpillAllButCopyTOSToR0(); On 2010/04/26 15:09:39, Søren Gjesse wrote: > ...
10 years, 8 months ago (2010-04-26 21:45:35 UTC) #4
Søren Thygesen Gjesse
10 years, 8 months ago (2010-04-27 06:55:40 UTC) #5
LGTM

http://codereview.chromium.org/1751019/diff/10001/11008
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/1751019/diff/10001/11008#newcode2982
src/arm/codegen-arm.cc:2982: ContextSlotOperandCheckExtensions(potential_slot,
Would it be possible to change this like LoadFromGlobalSlotCheckExtensions, that
is move the spilling into it and get rid of the temp register arguments? And
maybe move it to its own statement to avoid having an argument to a macro
assembler call which generates code.

http://codereview.chromium.org/1751019/diff/10001/11008#newcode5324
src/arm/codegen-arm.cc:5324: __ IncrementCounter(&Counters::named_load_inline,
1, r3, r4);
Wouldn't it be better to use frame_->scratch0() and frame_->scratch1() here?

Powered by Google App Engine
This is Rietveld 408576698