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

Issue 10919261: Consistently use named getters for Lithium operands on ia32. (Closed)

Created:
8 years, 3 months ago by Sven Panne
Modified:
8 years, 3 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Consistently use named getters for Lithium operands on ia32. With this CL we clearly distinguish two different views on Lithium instructions: For register allocation, the actual instruction/operand is irrelevant, so it has only an iterator/indexed view on the instruction operands. All other places, most importantly code generation, use named getters for the operands now, making it easy to see where each one is used. Committed: https://code.google.com/p/v8/source/detail?r=12510

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -253 lines) Patch
M src/ia32/lithium-codegen-ia32.cc View 76 chunks +122 lines, -126 lines 0 comments Download
M src/ia32/lithium-ia32.h View 102 chunks +286 lines, -105 lines 4 comments Download
M src/ia32/lithium-ia32.cc View 5 chunks +24 lines, -22 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Sven Panne
8 years, 3 months ago (2012-09-13 07:50:10 UTC) #1
Michael Starzinger
LGTM (with two nits). https://chromiumcodereview.appspot.com/10919261/diff/1/src/ia32/lithium-ia32.h File src/ia32/lithium-ia32.h (right): https://chromiumcodereview.appspot.com/10919261/diff/1/src/ia32/lithium-ia32.h#newcode471 src/ia32/lithium-ia32.h:471: DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") Move this macro ...
8 years, 3 months ago (2012-09-14 09:53:25 UTC) #2
Sven Panne
8 years, 3 months ago (2012-09-14 11:53:12 UTC) #3
Landing...

https://chromiumcodereview.appspot.com/10919261/diff/1/src/ia32/lithium-ia32.h
File src/ia32/lithium-ia32.h (right):

https://chromiumcodereview.appspot.com/10919261/diff/1/src/ia32/lithium-ia32....
src/ia32/lithium-ia32.h:471: DECLARE_CONCRETE_INSTRUCTION(WrapReceiver,
"wrap-receiver")
On 2012/09/14 09:53:25, Michael Starzinger wrote:
> Move this macro below the operand accessors.

Done here and at other places.

https://chromiumcodereview.appspot.com/10919261/diff/1/src/ia32/lithium-ia32....
src/ia32/lithium-ia32.h:524: DECLARE_CONCRETE_INSTRUCTION(ArgumentsLength,
"arguments-length")
On 2012/09/14 09:53:25, Michael Starzinger wrote:
> Likewise.

Done.

Powered by Google App Engine
This is Rietveld 408576698