Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 28b147a7036cdac93f3a7b62853481cae4ec1bec..f38fb7d5e3d4312383c198cf23b25a7cf2f8f602 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -1678,6 +1678,7 @@ Range* HChange::InferRange(Zone* zone) { |
!value()->CheckFlag(HInstruction::kUint32) && |
input_range != NULL && input_range->IsInSmiRange()) { |
set_type(HType::Smi()); |
+ ClearGVNFlag(kChangesNewSpacePromotion); |
} |
Range* result = (input_range != NULL) |
? input_range->Copy(zone) |