Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 3f1bab73eefc75fdd9867240b01493b038153136..4ff65fbb9eeeb85c907a5eb768faee380773c8b2 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3186,7 +3186,8 @@ void LCodeGen::DoLoadKeyedFixedArray(LLoadKeyed* instr) { |
DeoptimizeIf(equal, 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; |
__ cmp(result, factory()->the_hole_value()); |
__ j(not_equal, &done); |