MIPS: Fix 'Detect simple tail calls'.
4b122b7504
BUG=
Review URL: https://codereview.chromium.org/1116913002
Cr-Commit-Position: refs/heads/master@{#28183}
This commit is contained in:
parent
b0b82fa89d
commit
a384c143f3
@ -398,8 +398,7 @@ void CodeGenerator::AssembleDeconstructActivationRecord() {
|
||||
CallDescriptor* descriptor = linkage()->GetIncomingDescriptor();
|
||||
int stack_slots = frame()->GetSpillSlotCount();
|
||||
if (descriptor->IsJSFunctionCall() || stack_slots > 0) {
|
||||
__ mov(sp, fp);
|
||||
__ Pop(ra, fp);
|
||||
__ LeaveFrame(StackFrame::MANUAL);
|
||||
int pop_count = descriptor->IsJSFunctionCall()
|
||||
? static_cast<int>(descriptor->JSParameterCount())
|
||||
: 0;
|
||||
|
@ -398,8 +398,7 @@ void CodeGenerator::AssembleDeconstructActivationRecord() {
|
||||
CallDescriptor* descriptor = linkage()->GetIncomingDescriptor();
|
||||
int stack_slots = frame()->GetSpillSlotCount();
|
||||
if (descriptor->IsJSFunctionCall() || stack_slots > 0) {
|
||||
__ mov(sp, fp);
|
||||
__ Pop(ra, fp);
|
||||
__ LeaveFrame(StackFrame::MANUAL);
|
||||
int pop_count = descriptor->IsJSFunctionCall()
|
||||
? static_cast<int>(descriptor->JSParameterCount())
|
||||
: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user