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; |