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

Unified Diff: src/code-factory.cc

Issue 2670843002: [stubs] Also port the CallICStub to CSA. (Closed)
Patch Set: Introduce FullCodeGenerator::IntFromSlot. Created 3 years, 11 months 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/code-factory.h ('k') | src/code-stubs.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 b3dca0f8af3fba8a40cd80661af50129976cee44..838f9c0bd39282b7a7a010452aafe0d99160acd9 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -398,8 +398,9 @@ Callable CodeFactory::CallWithSpread(Isolate* isolate) {
}
// static
-Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode) {
- return Callable(isolate->builtins()->CallFunction(mode),
+Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode,
+ TailCallMode tail_call_mode) {
+ return Callable(isolate->builtins()->CallFunction(mode, tail_call_mode),
CallTrampolineDescriptor(isolate));
}
@@ -470,6 +471,12 @@ Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
}
// static
+Callable CodeFactory::ArrayConstructor(Isolate* isolate) {
+ ArrayConstructorStub stub(isolate);
+ return make_callable(stub);
+}
+
+// static
Callable CodeFactory::ArrayPush(Isolate* isolate) {
return Callable(isolate->builtins()->ArrayPush(), BuiltinDescriptor(isolate));
}
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698