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