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

Unified Diff: src/compiler/linkage.cc

Issue 2082263002: [turbofan]: Support using push instructions for setting up tail call parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comments Created 4 years, 6 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
« no previous file with comments | « src/compiler/linkage.h ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage.cc
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
index c3b68d656d81f8f64c47a5bb8a96b2db05b14d9c..5b2388cef93885a185e038a2cad175d10ff7526f 100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -97,14 +97,14 @@ bool CallDescriptor::CanTailCall(const Node* node,
while (more_other || more_this) {
if (other_input < other->InputCount()) {
if (!other->GetInputLocation(other_input).IsRegister()) {
- (*stack_param_delta)--;
+ (*stack_param_delta)++;
}
} else {
more_other = false;
}
if (current_input < InputCount()) {
if (!GetInputLocation(current_input).IsRegister()) {
- (*stack_param_delta)++;
+ (*stack_param_delta)--;
}
} else {
more_this = false;
« no previous file with comments | « src/compiler/linkage.h ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698