Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index b173e30a2bc6075fa376b8182fd6aaac71c4d555..4378418182522e51d9d4a7325644b43ae5ba1e5b 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -3286,7 +3286,8 @@ void LCodeGen::DoLoadKeyedFixedArray(LLoadKeyed* instr) { |
DeoptimizeIf(eq, instr, Deoptimizer::kHole, result, Operand(scratch)); |
} |
} else if (instr->hydrogen()->hole_mode() == CONVERT_HOLE_TO_UNDEFINED) { |
- DCHECK(instr->hydrogen()->elements_kind() == FAST_HOLEY_ELEMENTS); |
+ DCHECK(instr->hydrogen()->elements_kind() == FAST_HOLEY_SMI_ELEMENTS || |
+ instr->hydrogen()->elements_kind() == FAST_HOLEY_ELEMENTS); |
Label done; |
__ LoadRoot(scratch, Heap::kTheHoleValueRootIndex); |
__ Branch(&done, ne, result, Operand(scratch)); |