Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index 94a2b468e877174252860a7e1df7e2b6d1fe1a50..86f6de3f92d00afe536bb0c0131135810ea2b2f5 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -2872,15 +2872,13 @@ void Builtins::Generate_ConstructWithSpread(MacroAssembler* masm) { |
Label no_protector_check; |
__ LoadP(scratch, FieldMemOperand(spread_map, Map::kBitField2Offset)); |
__ DecodeField<Map::ElementsKindBits>(scratch); |
- __ CmpP(scratch, Operand(LAST_FAST_ELEMENTS_KIND)); |
+ __ CmpP(scratch, Operand(FAST_HOLEY_ELEMENTS)); |
__ bgt(&runtime_call); |
// For non-FastHoley kinds, we can skip the protector check. |
__ CmpP(scratch, Operand(FAST_SMI_ELEMENTS)); |
__ beq(&no_protector_check); |
__ CmpP(scratch, Operand(FAST_ELEMENTS)); |
__ beq(&no_protector_check); |
- __ CmpP(scratch, Operand(FAST_DOUBLE_ELEMENTS)); |
- __ beq(&no_protector_check); |
// Check the ArrayProtector cell. |
__ LoadRoot(scratch, Heap::kArrayProtectorRootIndex); |
__ LoadP(scratch, FieldMemOperand(scratch, PropertyCell::kValueOffset)); |