Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 1fbeec308e32b9039462076b164b15646cd30eb9..c34f43272b24a8f9ad3cb860cbd25dbf702220e6 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -346,24 +346,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 |