Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 9d3829380518c35d6be4e75cef97935f63557ace..d06804b575a100b3167353243b25bef53b44b80f 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -1535,9 +1535,8 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator, |
int output_frame_size = height_in_bytes + fixed_frame_size; |
if (trace_scope_ != NULL) { |
PrintF(trace_scope_->file(), |
- " translating %s => StubFailure%sTrampolineStub, height=%d\n", |
+ " translating %s => StubFailureTrampolineStub, height=%d\n", |
CodeStub::MajorName(static_cast<CodeStub::Major>(major_key), false), |
- descriptor->HasTailCallContinuation() ? "TailCall" : "", |
height_in_bytes); |
} |
@@ -1626,8 +1625,7 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator, |
top_address + output_frame_offset, output_frame_offset, value); |
} |
- intptr_t caller_arg_count = descriptor->HasTailCallContinuation() |
- ? compiled_code_->arguments_count() + 1 : 0; |
+ intptr_t caller_arg_count = 0; |
bool arg_count_known = !descriptor->stack_parameter_count_.is_valid(); |
// Build the Arguments object for the caller's parameters and a pointer to it. |
@@ -1723,13 +1721,9 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator, |
// Compute this frame's PC, state, and continuation. |
Code* trampoline = NULL; |
- if (descriptor->HasTailCallContinuation()) { |
- StubFailureTailCallTrampolineStub().FindCodeInCache(&trampoline, isolate_); |
- } else { |
- StubFunctionMode function_mode = descriptor->function_mode_; |
- StubFailureTrampolineStub(function_mode).FindCodeInCache(&trampoline, |
- isolate_); |
- } |
+ StubFunctionMode function_mode = descriptor->function_mode_; |
+ StubFailureTrampolineStub(function_mode).FindCodeInCache(&trampoline, |
+ isolate_); |
ASSERT(trampoline != NULL); |
output_frame->SetPc(reinterpret_cast<intptr_t>( |
trampoline->instruction_start())); |