Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index bc52746df56e133a1783a8fdf11a57a14ed76e61..7d48cb15e221e16cac4cae154da3de008e4c4f65 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -371,8 +371,8 @@ Callable CodeFactory::FastNewClosure(Isolate* isolate) { |
// static |
Callable CodeFactory::FastNewObject(Isolate* isolate) { |
- FastNewObjectStub stub(isolate); |
- return make_callable(stub); |
+ return Callable(isolate->builtins()->FastNewObject(), |
+ FastNewObjectDescriptor(isolate)); |
} |
// static |