Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 8c70a34f569b3a6d2fc3e301ba01c7419f090c26..eeb61741040396ec5621fabf08bcd399852ff651 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -2405,7 +2405,7 @@ HConstant::HConstant(ExternalReference reference) |
void HConstant::Initialize(Representation r) { |
if (r.IsNone()) { |
- if (has_smi_value_ && kSmiValueSize == 31) { |
+ if (has_smi_value_ && SmiValuesAre31Bits()) { |
r = Representation::Smi(); |
} else if (has_int32_value_) { |
r = Representation::Integer32(); |