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

Unified Diff: src/hydrogen-instructions.h

Issue 12321165: Fixed HCheckSmiOrInt <-> HBoundsCheck interaction wrt. representations (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/hydrogen-instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index d2b3fc5d8c9de497316e5e8580acbffb3eca42ca..b7473679ed5c4c9e969042429c92f82cf2d19327 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -2847,7 +2847,7 @@ class HCheckSmiOrInt32: public HUnaryOperation {
}
virtual HValue* Canonicalize() {
- if (representation().IsTagged() && !type().IsSmi()) {
+ if (representation().IsTagged() && !value()->type().IsSmi()) {
return this;
} else {
return value();
« no previous file with comments | « no previous file | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698