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

Issue 16026023: Avoid Unnecessary Smi Checks (Closed)

Created:
7 years, 6 months ago by oliv
Modified:
7 years, 5 months ago
Reviewers:
ulan, Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

Avoid Unnecessary Smi Checks BUG= R=ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15344

Patch Set 1 : #

Total comments: 5

Patch Set 2 : rebase #

Patch Set 3 : address review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -93 lines) Patch
M src/arm/lithium-arm.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 9 chunks +32 lines, -18 lines 0 comments Download
M src/hydrogen.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen.cc View 1 16 chunks +21 lines, -21 lines 0 comments Download
M src/hydrogen-instructions.h View 1 5 chunks +10 lines, -10 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 9 chunks +34 lines, -17 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 9 chunks +34 lines, -16 lines 0 comments Download
M src/x64/lithium-x64.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
oliv
7 years, 6 months ago (2013-06-11 14:26:31 UTC) #1
Toon Verwaest
DBC https://codereview.chromium.org/16026023/diff/14001/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): https://codereview.chromium.org/16026023/diff/14001/src/arm/lithium-codegen-arm.cc#newcode1977 src/arm/lithium-codegen-arm.cc:1977: if (!instr->hydrogen()->value()->IsNonPrimitive()) { !instr->hydrogen()->value()->type()->IsHeapObject() Replace IsNonPrimitive everywhere by ...
7 years, 6 months ago (2013-06-11 15:20:06 UTC) #2
oliv
PTAL, rewrote cl without idefs
7 years, 6 months ago (2013-06-17 16:48:08 UTC) #3
ulan
https://codereview.chromium.org/16026023/diff/22006/src/ia32/lithium-ia32.h File src/ia32/lithium-ia32.h (right): https://codereview.chromium.org/16026023/diff/22006/src/ia32/lithium-ia32.h#newcode2544 src/ia32/lithium-ia32.h:2544: class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { If we ...
7 years, 6 months ago (2013-06-18 12:45:59 UTC) #4
oliv
On 2013/06/18 12:45:59, ulan wrote: > https://codereview.chromium.org/16026023/diff/22006/src/ia32/lithium-ia32.h > File src/ia32/lithium-ia32.h (right): > > https://codereview.chromium.org/16026023/diff/22006/src/ia32/lithium-ia32.h#newcode2544 > ...
7 years, 6 months ago (2013-06-19 11:05:04 UTC) #5
ulan
https://codereview.chromium.org/16026023/diff/22006/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): https://codereview.chromium.org/16026023/diff/22006/src/arm/lithium-codegen-arm.cc#newcode4279 src/arm/lithium-codegen-arm.cc:4279: !instr->hydrogen()->value()->IsHeapObject() Negate the condition to make it consistent with ...
7 years, 6 months ago (2013-06-20 07:49:11 UTC) #6
ulan
https://codereview.chromium.org/16026023/diff/22006/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/16026023/diff/22006/src/hydrogen-instructions.h#newcode919 src/hydrogen-instructions.h:919: return representation_.IsHeapObject() || type_.IsHeapObject(); I am not sure that ...
7 years, 6 months ago (2013-06-20 07:53:54 UTC) #7
Toon Verwaest
https://codereview.chromium.org/16026023/diff/22006/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/16026023/diff/22006/src/hydrogen-instructions.h#newcode919 src/hydrogen-instructions.h:919: return representation_.IsHeapObject() || type_.IsHeapObject(); This is safe. representation_.IsHeapObject() never ...
7 years, 6 months ago (2013-06-20 12:38:42 UTC) #8
ulan
> This is safe. LGTM then.
7 years, 6 months ago (2013-06-20 12:41:59 UTC) #9
oliv
7 years, 5 months ago (2013-06-26 17:38:08 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r15344 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698