| Index: src/mips64/builtins-mips64.cc
|
| diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc
|
| index 1d8d5d35990e76cb26e86895a6f11190046bbb70..88a3c509e0f55e3870f103814731395839ac2e80 100644
|
| --- a/src/mips64/builtins-mips64.cc
|
| +++ b/src/mips64/builtins-mips64.cc
|
| @@ -2549,27 +2549,6 @@ void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) {
|
|
|
| { // Too few parameters: Actual < expected.
|
| __ bind(&too_few);
|
| -
|
| - // If the function is strong we need to throw an error.
|
| - Label no_strong_error;
|
| - __ ld(a4, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset));
|
| - __ lbu(a5, FieldMemOperand(a4, SharedFunctionInfo::kStrongModeByteOffset));
|
| - __ And(a5, a5, Operand(1 << SharedFunctionInfo::kStrongModeBitWithinByte));
|
| - __ Branch(&no_strong_error, eq, a5, Operand(zero_reg));
|
| -
|
| - // What we really care about is the required number of arguments.
|
| - DCHECK_EQ(kPointerSize, kInt64Size);
|
| - __ lw(a5, FieldMemOperand(a4, SharedFunctionInfo::kLengthOffset));
|
| - __ srl(a5, a5, 1);
|
| - __ Branch(&no_strong_error, ge, a0, Operand(a5));
|
| -
|
| - {
|
| - FrameScope frame(masm, StackFrame::MANUAL);
|
| - EnterArgumentsAdaptorFrame(masm);
|
| - __ CallRuntime(Runtime::kThrowStrongModeTooFewArguments);
|
| - }
|
| -
|
| - __ bind(&no_strong_error);
|
| EnterArgumentsAdaptorFrame(masm);
|
| ArgumentAdaptorStackCheck(masm, &stack_overflow);
|
|
|
|
|