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

Issue 197803005: Check that constant is an integer before getting its value in HGraphBuilder::MatchRotateRight. (Closed)

Created:
6 years, 9 months ago by ulan
Modified:
6 years, 9 months ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Check that constant is an integer before getting its value in HGraphBuilder::MatchRotateRight. BUG=351263 LOG=N TEST=mjsunit/regress/regress-351263 R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19890

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address comment #

Total comments: 2

Patch Set 3 : remove redundant check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -18 lines) Patch
M src/hydrogen.cc View 1 2 1 chunk +1 line, -7 lines 0 comments Download
A + test/mjsunit/regress/regress-351263.js View 1 1 chunk +7 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ulan
PTAL
6 years, 9 months ago (2014-03-13 08:55:15 UTC) #1
Sven Panne
On 2014/03/13 08:55:15, ulan wrote: > PTAL The test itself is missing in this CL...
6 years, 9 months ago (2014-03-13 09:32:20 UTC) #2
Sven Panne
https://codereview.chromium.org/197803005/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/197803005/diff/1/src/hydrogen.cc#newcode8939 src/hydrogen.cc:8939: HConstant::cast(const32)->Integer32Value() != 32) { Simplify this brain teaser to ...
6 years, 9 months ago (2014-03-13 09:36:39 UTC) #3
ulan
On 2014/03/13 09:36:39, Sven Panne wrote: > https://codereview.chromium.org/197803005/diff/1/src/hydrogen.cc > File src/hydrogen.cc (right): > > https://codereview.chromium.org/197803005/diff/1/src/hydrogen.cc#newcode8939 ...
6 years, 9 months ago (2014-03-13 11:03:54 UTC) #4
Sven Panne
LGTM with a nit. https://codereview.chromium.org/197803005/diff/20001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/197803005/diff/20001/src/hydrogen.cc#newcode8935 src/hydrogen.cc:8935: if (sa != sub->right()) return ...
6 years, 9 months ago (2014-03-13 11:23:16 UTC) #5
ulan
https://codereview.chromium.org/197803005/diff/20001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/197803005/diff/20001/src/hydrogen.cc#newcode8935 src/hydrogen.cc:8935: if (sa != sub->right()) return false; On 2014/03/13 11:23:17, ...
6 years, 9 months ago (2014-03-13 11:50:15 UTC) #6
ulan
6 years, 9 months ago (2014-03-13 11:50:57 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r19890 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698