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

Unified Diff: src/x64/macro-assembler-x64.h

Issue 1609893003: [es6] Tail calls support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
Index: src/x64/macro-assembler-x64.h
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h
index 4b7b70687100ee96991b3d25a2eed1f5f06c0e3a..a7027ce702c59556cc418e260cb3c9f5cf83e832 100644
--- a/src/x64/macro-assembler-x64.h
+++ b/src/x64/macro-assembler-x64.h
@@ -365,6 +365,9 @@ class MacroAssembler: public Assembler {
// ---------------------------------------------------------------------------
// JavaScript invokes
+ void DropCurrentJSFrame(Register args, Register scratch1, Register scratch2,
Benedikt Meurer 2016/01/21 05:20:49 Nit: The name is a bit misleading, since this not
Igor Sheludko 2016/01/21 14:37:08 PrepareForTailCall is a better name. Done.
+ Register scratch3);
+
// Invoke the JavaScript function code by either calling or jumping.
void InvokeFunctionCode(Register function, Register new_target,
const ParameterCount& expected,

Powered by Google App Engine
This is Rietveld 408576698