[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}
This commit is contained in:
jkummerow 2016-01-14 07:08:48 -08:00 committed by Commit bot
parent f58ed31a1b
commit 48a3227b7d

View File

@ -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);