Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 575edc8b8555bf8bd5faaa2a70e9a170d5e31bcb..7973affdec115f83d185fa29c80d59648dce70f7 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -603,7 +603,7 @@ double LCodeGen::ToDouble(LConstantOperand* op) const { |
bool LCodeGen::IsInteger32(LConstantOperand* op) const { |
- return chunk_->LookupLiteralRepresentation(op).IsInteger32(); |
+ return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); |
} |
@@ -2127,7 +2127,7 @@ void LCodeGen::DoBranch(LBranch* instr) { |
CpuFeatureScope scope(masm(), SSE2); |
Representation r = instr->hydrogen()->value()->representation(); |
- if (r.IsInteger32() || r.IsSmi()) { |
+ if (r.IsSmiOrInteger32()) { |
Register reg = ToRegister(instr->value()); |
__ test(reg, Operand(reg)); |
EmitBranch(true_block, false_block, not_zero); |