Commit 48a3227b authored by jkummerow's avatar jkummerow Committed by Commit bot

[Interpreter] [arm] Fix PushArgsAndConstruct

When reserving a stack slot for the receiver, push an Immediate(0)
rather than a register that contains an untagged integer.
All other platforms push zero already.

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

Cr-Commit-Position: refs/heads/master@{#33299}
parent f58ed31a
......@@ -1028,7 +1028,8 @@ void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) {
__ sub(r4, r2, r4);
// Push a slot for the receiver to be constructed.
__ push(r0);
__ mov(ip, Operand::Zero());
__ push(ip);
// Push the arguments.
Generate_InterpreterPushArgs(masm, r2, r4, r5);
......
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