| Index: src/x87/builtins-x87.cc
 | 
| diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc
 | 
| index 28ead0c6544bbb9b73f3660702d6158128ed8890..f45f1f0599b957e779108acf3f7e9db7500d7652 100644
 | 
| --- a/src/x87/builtins-x87.cc
 | 
| +++ b/src/x87/builtins-x87.cc
 | 
| @@ -1577,6 +1577,21 @@ 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 weak_function;
 | 
| +    __ mov(ecx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
 | 
| +    __ test_b(FieldOperand(ecx, SharedFunctionInfo::kStrongModeByteOffset),
 | 
| +              1 << SharedFunctionInfo::kStrongModeBitWithinByte);
 | 
| +    __ j(equal, &weak_function, Label::kNear);
 | 
| +
 | 
| +    {
 | 
| +      FrameScope frame(masm, StackFrame::MANUAL);
 | 
| +      EnterArgumentsAdaptorFrame(masm);
 | 
| +      __ CallRuntime(Runtime::kThrowStrongModeTooFewArguments, 0);
 | 
| +    }
 | 
| +
 | 
| +    __ bind(&weak_function);
 | 
|      EnterArgumentsAdaptorFrame(masm);
 | 
|  
 | 
|      // Copy receiver and all actual arguments.
 | 
| 
 |