| Index: src/x87/builtins-x87.cc
|
| diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc
|
| index a42ce01ae25c534a30f6441922d0548892e02eff..3037057fd94529cf4e9658fa7e520b3c0ae154f1 100644
|
| --- a/src/x87/builtins-x87.cc
|
| +++ b/src/x87/builtins-x87.cc
|
| @@ -2439,26 +2439,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;
|
| - __ mov(ecx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
|
| - __ test_b(FieldOperand(ecx, SharedFunctionInfo::kStrongModeByteOffset),
|
| - 1 << SharedFunctionInfo::kStrongModeBitWithinByte);
|
| - __ j(equal, &no_strong_error, Label::kNear);
|
| -
|
| - // What we really care about is the required number of arguments.
|
| - __ mov(ecx, FieldOperand(ecx, SharedFunctionInfo::kLengthOffset));
|
| - __ SmiUntag(ecx);
|
| - __ cmp(eax, ecx);
|
| - __ j(greater_equal, &no_strong_error, Label::kNear);
|
| -
|
| - {
|
| - FrameScope frame(masm, StackFrame::MANUAL);
|
| - EnterArgumentsAdaptorFrame(masm);
|
| - __ CallRuntime(Runtime::kThrowStrongModeTooFewArguments);
|
| - }
|
| -
|
| - __ bind(&no_strong_error);
|
| EnterArgumentsAdaptorFrame(masm);
|
| ArgumentsAdaptorStackCheck(masm, &stack_overflow);
|
|
|
|
|