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

Unified Diff: src/compiler/code-generator.h

Issue 1108563002: Detect simple tail calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handle callers with args Created 5 years, 8 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/code-generator.h
diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h
index 9e496537dbf59694343b4b764ee52d5a29ddfb48..6ba97f79e355e6a9aade16f663b58a89fe244785 100644
--- a/src/compiler/code-generator.h
+++ b/src/compiler/code-generator.h
@@ -93,6 +93,9 @@ class CodeGenerator final : public GapResolver::Assembler {
// to tear down a stack frame.
void AssembleReturn();
+ // Generates code to tear down a the caller's frame, including arguments.
+ void FixFrameForTailCall();
+
// ===========================================================================
// ============== Architecture-specific gap resolver methods. ================
// ===========================================================================

Powered by Google App Engine
This is Rietveld 408576698