Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index e989cc682309926c41248c477c70ce173e9fe42f..0192a763f0ab8fa1f5fdde06360b96e28a142ce8 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -1124,6 +1124,7 @@ Range* HChange::InferRange(Zone* zone) { |
Range* input_range = value()->range(); |
if (from().IsInteger32() && |
to().IsTagged() && |
+ !value()->CheckFlag(HInstruction::kUint32) && |
input_range != NULL && input_range->IsInSmiRange()) { |
set_type(HType::Smi()); |
} |