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

Issue 6158004: Remove duplicate members from some LIR instruction by using the HIR accessors... (Closed)

Created:
9 years, 11 months ago by fschneider
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Remove duplicate members from some LIR instruction by using the HIR accessors. Remove unused LOperands from keyed-loads. We do not have multiple representations for load instructions anymore. Correct number of output operands as for a couple of instructions form 1 to 0 because they do not produce a result (e.g. PushArgument) Committed: http://code.google.com/p/v8/source/detail?r=6258

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -180 lines) Patch
M src/arm/lithium-arm.h View 2 chunks +16 lines, -39 lines 2 comments Download
M src/arm/lithium-arm.cc View 3 chunks +5 lines, -22 lines 2 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +7 lines, -24 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +5 lines, -22 lines 0 comments Download
M src/ia32/lithium-ia32.h View 6 chunks +25 lines, -50 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 4 chunks +8 lines, -23 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
fschneider
9 years, 11 months ago (2011-01-11 11:22:47 UTC) #1
Kevin Millikin (Chromium)
LGTM. I like to have precondition asserts all together at the start. http://codereview.chromium.org/6158004/diff/1/src/arm/lithium-arm.cc File src/arm/lithium-arm.cc ...
9 years, 11 months ago (2011-01-11 11:31:56 UTC) #2
fschneider
9 years, 11 months ago (2011-01-11 11:41:49 UTC) #3
http://codereview.chromium.org/6158004/diff/1/src/arm/lithium-arm.cc
File src/arm/lithium-arm.cc (right):

http://codereview.chromium.org/6158004/diff/1/src/arm/lithium-arm.cc#newcode1695
src/arm/lithium-arm.cc:1695:
ASSERT(instr->key()->representation().IsInteger32());
On 2011/01/11 11:31:56, Kevin Millikin wrote:
> Put this precondition assert right after the other one?

Done.

http://codereview.chromium.org/6158004/diff/1/src/arm/lithium-arm.h
File src/arm/lithium-arm.h (right):

http://codereview.chromium.org/6158004/diff/1/src/arm/lithium-arm.h#newcode1246
src/arm/lithium-arm.h:1246: LOperand* key)
On 2011/01/11 11:31:56, Kevin Millikin wrote:
> The line break between the arguments is no longer necessary?

Done.

http://codereview.chromium.org/6158004/diff/1/src/ia32/lithium-ia32.cc
File src/ia32/lithium-ia32.cc (right):

http://codereview.chromium.org/6158004/diff/1/src/ia32/lithium-ia32.cc#newcod...
src/ia32/lithium-ia32.cc:1708:
ASSERT(instr->key()->representation().IsInteger32());
On 2011/01/11 11:31:56, Kevin Millikin wrote:
> Move this assert up by the other one?

Done.

Powered by Google App Engine
This is Rietveld 408576698