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

Issue 2878043: Port inlined in-object property stores to ARM. (Closed)

Created:
10 years, 5 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Port inlined in-object property stores to ARM. Committed: http://code.google.com/p/v8/source/detail?r=5116

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -7 lines) Patch
M src/arm/assembler-arm.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 chunk +31 lines, -0 lines 2 comments Download
M src/arm/codegen-arm.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/arm/codegen-arm.cc View 2 chunks +95 lines, -3 lines 4 comments Download
M src/arm/ic-arm.cc View 1 chunk +43 lines, -2 lines 0 comments Download
M src/jump-target-light.h View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mads Ager (chromium)
10 years, 5 months ago (2010-07-21 13:44:34 UTC) #1
Rodolph Perfetta
http://codereview.chromium.org/2878043/diff/1/2 File src/arm/assembler-arm.cc (right): http://codereview.chromium.org/2878043/diff/1/2#newcode448 src/arm/assembler-arm.cc:448: bool Assembler::IsStrRegisterImmediate(Instr instr) { Should the name indicate this ...
10 years, 5 months ago (2010-07-21 14:51:15 UTC) #2
Mads Ager (chromium)
http://codereview.chromium.org/2878043/diff/1/2 File src/arm/assembler-arm.cc (right): http://codereview.chromium.org/2878043/diff/1/2#newcode448 src/arm/assembler-arm.cc:448: bool Assembler::IsStrRegisterImmediate(Instr instr) { On 2010/07/21 14:51:15, Rodolph Perfetta ...
10 years, 5 months ago (2010-07-22 07:29:54 UTC) #3
William Hesse
LGTM. http://codereview.chromium.org/2878043/diff/1/4 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/2878043/diff/1/4#newcode6246 src/arm/codegen-arm.cc:6246: // deferred code. It looked like some support ...
10 years, 5 months ago (2010-07-22 08:11:23 UTC) #4
Mads Ager (chromium)
10 years, 5 months ago (2010-07-22 08:28:53 UTC) #5
http://codereview.chromium.org/2878043/diff/1/4
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/2878043/diff/1/4#newcode6246
src/arm/codegen-arm.cc:6246: // deferred code.
On 2010/07/22 08:11:23, William Hesse wrote:
> It looked like some support for register allocation was being added to ARM. 
If
> there ever are registers that need to be saved and restored when going to
> deferred code, they will be restored when leaving the block, taking more than
> one instruction.  Is there a comment or assert that should be added here, or
is
> this not a likely possibility.

That is a good question. This follows the pattern of the other inlining. The
patching code actually searches for the next branch instruction after the nop
(but if there are any we should block the constant pool for more than one
instruction I guess). In any case, there are a lot of ASSERTS that will trigger
if this goes wrong - we would find code that was not generated for an inline
store and the patching code would trigger ASSERTS.

I'll commit since this is nothing new and we should look into it.

Powered by Google App Engine
This is Rietveld 408576698