Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: src/code-factory.cc

Issue 2606733002: [stubs] Port FastNewObjectStub to TF (Closed)
Patch Set: Review feedback Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698