Commit 4fa104c5 authored by jyan's avatar jyan Committed by Commit bot

S390: Fix MathMaxMin's frame

MathMaxMin creates frame on stack without removing top bit of r14 on 31-bit.

R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com, bjaideep@ca.ibm.com
BUG=

Review-Url: https://codereview.chromium.org/2111263002
Cr-Commit-Position: refs/heads/master@{#37460}
parent 54ce1935
......@@ -159,8 +159,7 @@ void Builtins::Generate_MathMaxMin(MacroAssembler* masm, MathMaxMinKind kind) {
// Parameter is not a Number, use the ToNumber builtin to convert it.
DCHECK(!FLAG_enable_embedded_constant_pool);
FrameScope scope(masm, StackFrame::MANUAL);
__ Push(r14, fp, cp, r3);
__ la(fp, MemOperand(sp, 2 * kPointerSize));
__ PushStandardFrame(r3);
__ SmiTag(r2);
__ SmiTag(r6);
__ Push(r2, r6, r7);
......
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