| 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();
|
|
|