Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 032ca7691dc6b908cbc09e1b563fc41979d74614..3b01f5761227bdc393e7ad0a755192341f93b288 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -1017,10 +1017,9 @@ void HEnterInlined::PrintDataTo(StringStream* stream) { |
HConstant::HConstant(Handle<Object> handle, Representation r) |
: handle_(handle), |
- constant_type_(HType::TypeFromValue(handle)), |
has_int32_value_(false), |
- int32_value_(0), |
has_double_value_(false), |
+ int32_value_(0), |
double_value_(0) { |
set_representation(r); |
SetFlag(kUseGVN); |
@@ -1435,7 +1434,7 @@ HType HPhi::CalculateInferredType() { |
HType HConstant::CalculateInferredType() { |
- return constant_type_; |
+ return HType::TypeFromValue(handle_); |
} |