| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index e7ad219964b3946b35e81dbd76011d7e8ff2133f..2f7a7db37b66f7f498e8e562e34f4c5a43b5e6cd 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -1377,7 +1377,7 @@ HInstruction* HForceRepresentation::New(Zone* zone, HValue* context,
|
| HConstant* c = HConstant::cast(value);
|
| if (c->HasNumberValue()) {
|
| double double_res = c->DoubleValue();
|
| - if (TypeInfo::IsInt32Double(double_res)) {
|
| + if (IsInt32Double(double_res)) {
|
| return HConstant::New(zone, context,
|
| static_cast<int32_t>(double_res),
|
| required_representation);
|
| @@ -3787,7 +3787,7 @@ HInstruction* HInstr::New( \
|
| HConstant* c_right = HConstant::cast(right); \
|
| if ((c_left->HasNumberValue() && c_right->HasNumberValue())) { \
|
| double double_res = c_left->DoubleValue() op c_right->DoubleValue(); \
|
| - if (TypeInfo::IsInt32Double(double_res)) { \
|
| + if (IsInt32Double(double_res)) { \
|
| return H_CONSTANT_INT(double_res); \
|
| } \
|
| return H_CONSTANT_DOUBLE(double_res); \
|
| @@ -3983,7 +3983,7 @@ HInstruction* HDiv::New(
|
| if ((c_left->HasNumberValue() && c_right->HasNumberValue())) {
|
| if (c_right->DoubleValue() != 0) {
|
| double double_res = c_left->DoubleValue() / c_right->DoubleValue();
|
| - if (TypeInfo::IsInt32Double(double_res)) {
|
| + if (IsInt32Double(double_res)) {
|
| return H_CONSTANT_INT(double_res);
|
| }
|
| return H_CONSTANT_DOUBLE(double_res);
|
|
|