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

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

Issue 1259203002: [turbofan] Implement tail calls with differing stack parameter counts (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix bugs in frameless tail calls Created 5 years, 5 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 d1545d10b9ce95652ca20c455a3ce077296b7d6f..e1ca0949816e698efe8e0d00e962bd8dfaff166b 100644
--- a/src/compiler/code-generator.h
+++ b/src/compiler/code-generator.h
@@ -93,8 +93,9 @@ class CodeGenerator final : public GapResolver::Assembler {
// to tear down a stack frame.
void AssembleReturn();
- // Generates code to deconstruct a the caller's frame, including arguments.
- void AssembleDeconstructActivationRecord();
+ // Generates code to deconstruct a the caller's frame and prepare for a tail
+ // call, including swizzling parameters passed through to the tail call.
+ void AssembleTailCallSetup(Instruction* instr);
// ===========================================================================
// ============== Architecture-specific gap resolver methods. ================
@@ -187,7 +188,6 @@ class CodeGenerator final : public GapResolver::Assembler {
JumpTable* jump_tables_;
OutOfLineCode* ools_;
int osr_pc_offset_;
- bool needs_frame_;
};
} // namespace compiler

Powered by Google App Engine
This is Rietveld 408576698