Index: src/crankshaft/mips64/lithium-codegen-mips64.cc |
diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
index a51fae44a43db68e4436337ba5bdbefb73876d6f..93a9478b7d6cbdc938397d676555d9baaf3273ff 100644 |
--- a/src/crankshaft/mips64/lithium-codegen-mips64.cc |
+++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
@@ -5579,7 +5579,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); |