| Index: src/code-factory.cc
|
| diff --git a/src/code-factory.cc b/src/code-factory.cc
|
| index fcf7f33e48f0df036ca2502cc6007840d0f0fd69..7296599976a6c6e5f241ddb00fea50e641212230 100644
|
| --- a/src/code-factory.cc
|
| +++ b/src/code-factory.cc
|
| @@ -344,24 +344,21 @@ Callable CodeFactory::FastNewFunctionContext(Isolate* isolate,
|
| }
|
|
|
| // static
|
| -Callable CodeFactory::FastNewRestParameter(Isolate* isolate,
|
| - bool skip_stub_frame) {
|
| - FastNewRestParameterStub stub(isolate, skip_stub_frame);
|
| - return make_callable(stub);
|
| +Callable CodeFactory::FastNewRestParameter(Isolate* isolate) {
|
| + return Callable(isolate->builtins()->FastNewRestParameter(),
|
| + FastNewRestParameterDescriptor(isolate));
|
| }
|
|
|
| // static
|
| -Callable CodeFactory::FastNewSloppyArguments(Isolate* isolate,
|
| - bool skip_stub_frame) {
|
| - FastNewSloppyArgumentsStub stub(isolate, skip_stub_frame);
|
| - return make_callable(stub);
|
| +Callable CodeFactory::FastNewSloppyArguments(Isolate* isolate) {
|
| + return Callable(isolate->builtins()->FastNewSloppyArguments(),
|
| + FastNewRestParameterDescriptor(isolate));
|
| }
|
|
|
| // static
|
| -Callable CodeFactory::FastNewStrictArguments(Isolate* isolate,
|
| - bool skip_stub_frame) {
|
| - FastNewStrictArgumentsStub stub(isolate, skip_stub_frame);
|
| - return make_callable(stub);
|
| +Callable CodeFactory::FastNewStrictArguments(Isolate* isolate) {
|
| + return Callable(isolate->builtins()->FastNewStrictArguments(),
|
| + FastNewRestParameterDescriptor(isolate));
|
| }
|
|
|
| // static
|
|
|