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

Issue 6255013: Change the default implementation of DataEquals for Hydrogen instructions. (Closed)

Created:
9 years, 11 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

Change the default implementation of DataEquals for Hydrogen instructions. The former default was true. The new default is false and the default implementation is UNREACHABLE so it asserts in debug builds. The function is overridden in all concrete instruction classes that might have the flag kUseGVN set. Committed: http://code.google.com/p/v8/source/detail?r=6493

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added verification to HInstruction::Verify. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -45 lines) Patch
M src/hydrogen-instructions.h View 1 44 chunks +104 lines, -35 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 4 chunks +15 lines, -10 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
I override only in concrete classes, even if kUseGVN is set in a non-concrete instruction ...
9 years, 11 months ago (2011-01-26 13:49:42 UTC) #1
fschneider
LGTM. http://codereview.chromium.org/6255013/diff/1/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): http://codereview.chromium.org/6255013/diff/1/src/hydrogen-instructions.h#newcode2905 src/hydrogen-instructions.h:2905: virtual bool DataEquals(HValue* other) const { Since stores ...
9 years, 11 months ago (2011-01-26 14:13:41 UTC) #2
fschneider
9 years, 11 months ago (2011-01-26 15:06:08 UTC) #3
LGTM as well.

Powered by Google App Engine
This is Rietveld 408576698