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

Unified Diff: src/compiler/raw-machine-assembler.cc

Issue 1289863003: [interpreter]: Changes to interpreter builtins for accumulator and register file registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix_interpreter_initialization
Patch Set: Created 5 years, 4 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
Index: src/compiler/raw-machine-assembler.cc
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc
index 86d644addcc68cd0c071bf7b678ee3f7d4e07dad..df7934629f6467b330b88bc7c3ed0c60d7090b91 100644
--- a/src/compiler/raw-machine-assembler.cc
+++ b/src/compiler/raw-machine-assembler.cc
@@ -216,6 +216,17 @@ Node* RawMachineAssembler::CallCFunction8(
}
+Node* RawMachineAssembler::TailCallInterpreterDispatch(
+ const CallDescriptor* call_descriptor, Node* target, Node* arg1, Node* arg2,
+ Node* arg3, Node* arg4, Node* arg5) {
+ Node* tail_call =
+ graph()->NewNode(common()->TailCall(call_descriptor), target, arg1, arg2,
+ arg3, arg4, arg5, graph()->start(), graph()->start());
+ schedule()->AddTailCall(CurrentBlock(), tail_call);
+ return tail_call;
+}
+
+
void RawMachineAssembler::Bind(Label* label) {
DCHECK(current_block_ == nullptr);
DCHECK(!label->bound_);

Powered by Google App Engine
This is Rietveld 408576698