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

Unified Diff: src/code-factory.cc

Issue 2580823002: [turbofan] Combine family of CallRuntime() methods into single imeplementation. (Closed)
Patch Set: Addressing comments and fixing Windows builds 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/code-factory.h ('k') | src/compiler/code-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 e8f2b79eedec5b3b97b8d910f5f956f2a4f7ce0a..bf6485e5dcb6961787e286004db7cb87f04ad459 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -22,6 +22,12 @@ Callable make_callable(Stub& stub) {
} // namespace
// static
+Handle<Code> CodeFactory::RuntimeCEntry(Isolate* isolate, int result_size) {
+ CEntryStub stub(isolate, result_size);
+ return stub.GetCode();
+}
+
+// static
Callable CodeFactory::LoadIC(Isolate* isolate) {
LoadICTrampolineStub stub(isolate);
return make_callable(stub);
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698