Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index c2a2ff364cc5bc80b1e29c0645a1383bbd68b067..e17570bd2178eb43bcbe0964a9c2f4941b753f8f 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -3629,7 +3629,8 @@ void LCodeGen::DoLoadKeyedFixed(LLoadKeyedFixed* 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; |
__ CompareRoot(result, Heap::kTheHoleValueRootIndex); |
__ B(ne, &done); |