Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index 2c35390f46cc2ad1d6191d79feba47deefe4833c..e48ac1aefd9ca678ea869d7a29746dce56675e21 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -5370,7 +5370,7 @@ void LCodeGen::DoForInCacheArray(LForInCacheArray* instr) { |
Register result = ToRegister(instr->result()); |
Label load_cache, done; |
__ EnumLength(result, map); |
- __ Branch(&load_cache, ne, result, Operand(Smi::kZero)); |
+ __ Branch(&load_cache, ne, result, Operand(Smi::FromInt(0))); |
__ li(result, Operand(isolate()->factory()->empty_fixed_array())); |
__ jmp(&done); |