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

Issue 6040008: ARM: Support DoCheckInstanceType in lithium codegenerator. (Closed)

Created:
9 years, 11 months ago by Karl Klose
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

ARM: Support DoCheckInstanceType in lithium codegenerator. BUG= TEST=

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remove use of ip and unused temp register. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M src/arm/lithium-arm.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 1 chunk +20 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Karl Klose
9 years, 11 months ago (2011-01-05 16:28:57 UTC) #1
Søren Thygesen Gjesse
LGTM if not using ip Regarding using is as a scratch register we could consider ...
9 years, 11 months ago (2011-01-05 20:52:36 UTC) #2
Karl Klose
9 years, 11 months ago (2011-01-06 12:47:14 UTC) #3
http://codereview.chromium.org/6040008/diff/1/src/arm/lithium-codegen-arm.cc
File src/arm/lithium-codegen-arm.cc (right):

http://codereview.chromium.org/6040008/diff/1/src/arm/lithium-codegen-arm.cc#...
src/arm/lithium-codegen-arm.cc:2118: Register scratch = scratch0();
I remove the second temporary and use only scratch0.

http://codereview.chromium.org/6040008/diff/1/src/arm/lithium-codegen-arm.cc#...
src/arm/lithium-codegen-arm.cc:2123: __ ldr(scratch, FieldMemOperand(input,
HeapObject::kMapOffset));
On 2011/01/05 20:52:36, Søren Gjesse wrote:
> Can't you just replace type with scratch here?

Done.

http://codereview.chromium.org/6040008/diff/1/src/arm/lithium-codegen-arm.cc#...
src/arm/lithium-codegen-arm.cc:2133: if (last != LAST_TYPE) {
On 2011/01/05 20:52:36, Søren Gjesse wrote:
> No need to reload type - can stay in scratch.

Done.

Powered by Google App Engine
This is Rietveld 408576698