Index: src/builtins/mips/builtins-mips.cc |
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc |
index c6642102e7129129759c6ae4c4026718c653eb1d..e9513b3d40ca165d00937696153f6883cac428ab 100644 |
--- a/src/builtins/mips/builtins-mips.cc |
+++ b/src/builtins/mips/builtins-mips.cc |
@@ -2858,11 +2858,10 @@ void Builtins::Generate_ConstructWithSpread(MacroAssembler* masm) { |
Label no_protector_check; |
__ lbu(scratch, FieldMemOperand(spread_map, Map::kBitField2Offset)); |
__ DecodeField<Map::ElementsKindBits>(scratch); |
- __ Branch(&runtime_call, hi, scratch, Operand(LAST_FAST_ELEMENTS_KIND)); |
+ __ Branch(&runtime_call, hi, scratch, Operand(FAST_HOLEY_ELEMENTS)); |
// For non-FastHoley kinds, we can skip the protector check. |
__ Branch(&no_protector_check, eq, scratch, Operand(FAST_SMI_ELEMENTS)); |
__ Branch(&no_protector_check, eq, scratch, Operand(FAST_ELEMENTS)); |
- __ Branch(&no_protector_check, eq, scratch, Operand(FAST_DOUBLE_ELEMENTS)); |
// Check the ArrayProtector cell. |
__ LoadRoot(scratch, Heap::kArrayProtectorRootIndex); |
__ lw(scratch, FieldMemOperand(scratch, PropertyCell::kValueOffset)); |