Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index ef454e2c4e4604310f861683e0a9cfaea04d9656..ccd4aae5f2c399a1c2b2a043e15dc77e4f26d02f 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -2810,7 +2810,7 @@ HConstant::HConstant(double double_value, Representation r, |
!std::isnan(double_value)) | |
IsUndetectableField::encode(false) | |
InstanceTypeField::encode(kUnknownInstanceType)), |
- int32_value_(HasInteger32Value() ? DoubleToInt32(double_value) : 0), |
+ int32_value_(DoubleToInt32(double_value)), |
double_value_(double_value) { |
bit_field_ = HasSmiValueField::update( |
bit_field_, HasInteger32Value() && Smi::IsValid(int32_value_)); |