Commit 1d24520c authored by titzer's avatar titzer Committed by Commit bot

[turbofan] Fix returns for large-sized frames in TurboFan ia32 and x64 backends.

R=dcarney@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1112823002

Cr-Commit-Position: refs/heads/master@{#28129}
parent 77a2c15f
......@@ -1277,7 +1277,7 @@ void CodeGenerator::AssembleReturn() {
int pop_count = descriptor->IsJSFunctionCall()
? static_cast<int>(descriptor->JSParameterCount())
: 0;
__ ret(pop_count * kPointerSize);
__ Ret(pop_count * kPointerSize, ebx);
} else {
__ ret(0);
}
......
......@@ -1470,7 +1470,7 @@ void CodeGenerator::AssembleReturn() {
int pop_count = descriptor->IsJSFunctionCall()
? static_cast<int>(descriptor->JSParameterCount())
: 0;
__ ret(pop_count * kPointerSize);
__ Ret(pop_count * kPointerSize, rbx);
} else {
__ ret(0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment