| Index: src/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc
|
| index 223370f7113b74c49e89e64573456c6ad3bbd239..0373312403548a87ec72225946b2d6489dce4e93 100644
|
| --- a/src/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/mips64/lithium-codegen-mips64.cc
|
| @@ -3335,7 +3335,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));
|
|
|