Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 86beee008de1731180ff3c26f327ddda7e5c5cc0..62c4c942a45c85a74ff716c0a115689aadbba335 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -3454,7 +3454,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); |