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

Unified Diff: src/compiler/code-assembler.cc

Issue 2503523002: [Interpreter] Add CallRuntime() for 5 arguments. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | src/compiler/raw-machine-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/code-assembler.cc
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc
index 281186d729263124206c13a0b1c3c0632248958f..4cc39328eeec47392ba5d0a1ec5c4127d852c909 100644
--- a/src/compiler/code-assembler.cc
+++ b/src/compiler/code-assembler.cc
@@ -416,6 +416,16 @@ Node* CodeAssembler::CallRuntime(Runtime::FunctionId function_id, Node* context,
return return_value;
}
+Node* CodeAssembler::CallRuntime(Runtime::FunctionId function_id, Node* context,
+ Node* arg1, Node* arg2, Node* arg3, Node* arg4,
+ Node* arg5) {
+ CallPrologue();
+ Node* return_value = raw_assembler_->CallRuntime5(function_id, arg1, arg2,
+ arg3, arg4, arg5, context);
+ CallEpilogue();
+ return return_value;
+}
+
Node* CodeAssembler::TailCallRuntime(Runtime::FunctionId function_id,
Node* context) {
return raw_assembler_->TailCallRuntime0(function_id, context);
« no previous file with comments | « no previous file | src/compiler/raw-machine-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698