Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index dd6ada11c3e21e8b4d206223c4d1fc439bb1e938..17232c76cf9a04b1035ebded633aeab2bcc6613f 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -3495,7 +3495,8 @@ void LCodeGen::DoLoadKeyedFixedArray(LLoadKeyed* instr) { |
DeoptimizeIf(eq, instr, Deoptimizer::kHole); |
} |
} 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); |
__ cmp(result, scratch); |