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

Issue 14244023: Inline isUint32() method from HConstant, which was only used in one place. (Closed)

Created:
7 years, 8 months ago by titzer
Modified:
7 years, 8 months ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Inline isUint32() method from HConstant, which was only used in one place. Add utility method for checking whether an HValue is a given int32_t constant. BUG= Committed: https://code.google.com/p/v8/source/detail?r=14329

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use IsInteger32Constant() and GetInteger32Constant() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -17 lines) Patch
M src/hydrogen.cc View 1 2 chunks +3 lines, -5 lines 0 comments Download
M src/hydrogen-instructions.h View 2 chunks +1 line, -4 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
titzer
7 years, 8 months ago (2013-04-18 09:44:18 UTC) #1
Sven Panne
https://codereview.chromium.org/14244023/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/14244023/diff/1/src/hydrogen-instructions.cc#newcode654 src/hydrogen-instructions.cc:654: && HConstant::cast(this)->Integer32Value() == value; Use a combination of IsInteger32Constant ...
7 years, 8 months ago (2013-04-18 09:46:22 UTC) #2
titzer
Fixed, PTAL
7 years, 8 months ago (2013-04-18 10:58:41 UTC) #3
Sven Panne
lgtm
7 years, 8 months ago (2013-04-18 11:09:26 UTC) #4
titzer
7 years, 8 months ago (2013-04-18 11:22:37 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r14329 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698