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

Issue 7284029: Cleaned up calling-related methods in the ARM assembler. (Closed)

Created:
9 years, 5 months ago by Sven Panne
Modified:
9 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Cleaned up calling-related methods in the ARM assembler. Generalized Call macro instruction to handle AST IDs, too, making things more similar to the Intel assemblers. Removed unused methods. Minor signature cleanup. Simplified assertions. Committed: http://code.google.com/p/v8/source/detail?r=8482

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -114 lines) Patch
M src/arm/assembler-arm.h View 1 2 chunks +7 lines, -3 lines 0 comments Download
M src/arm/builtins-arm.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 1 chunk +1 line, -6 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 chunks +9 lines, -13 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 6 chunks +30 lines, -83 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/x64/assembler-x64.h View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Sven Panne
9 years, 5 months ago (2011-06-30 08:24:23 UTC) #1
Kevin Millikin (Chromium)
LGTM if small comments below are addressed. http://codereview.chromium.org/7284029/diff/1/src/arm/assembler-arm.h File src/arm/assembler-arm.h (right): http://codereview.chromium.org/7284029/diff/1/src/arm/assembler-arm.h#newcode1169 src/arm/assembler-arm.h:1169: int SizeOfCodeGeneratedSince(Label* ...
9 years, 5 months ago (2011-06-30 08:55:02 UTC) #2
Sven Panne
http://codereview.chromium.org/7284029/diff/1/src/arm/assembler-arm.h File src/arm/assembler-arm.h (right): http://codereview.chromium.org/7284029/diff/1/src/arm/assembler-arm.h#newcode1169 src/arm/assembler-arm.h:1169: int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } ...
9 years, 5 months ago (2011-06-30 09:29:48 UTC) #3
Sven Panne
9 years, 5 months ago (2011-06-30 09:29:50 UTC) #4
Rodolph Perfetta
minor drive comment. http://codereview.chromium.org/7284029/diff/1/src/arm/assembler-arm.h File src/arm/assembler-arm.h (right): http://codereview.chromium.org/7284029/diff/1/src/arm/assembler-arm.h#newcode1169 src/arm/assembler-arm.h:1169: int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() ...
9 years, 5 months ago (2011-06-30 09:46:07 UTC) #5
Sven Panne
9 years, 5 months ago (2011-06-30 11:26:02 UTC) #6
http://codereview.chromium.org/7284029/diff/1/src/arm/assembler-arm.h
File src/arm/assembler-arm.h (right):

http://codereview.chromium.org/7284029/diff/1/src/arm/assembler-arm.h#newcode...
src/arm/assembler-arm.h:1169: int SizeOfCodeGeneratedSince(Label* l) { return
pc_offset() - l->pos(); }
On 2011/06/30 09:46:07, Rodolph Perfetta wrote:
> There is already a method 'InstructionsGeneratedSince' in this file, do we
need both?

InstructionsGeneratedSince can at least use SizeOfCodeGeneratedSince. It is a
bit unfortunate that the different assemblers don't agree in their
signatures/names for similar methods...

Powered by Google App Engine
This is Rietveld 408576698