Commit 689be6e4 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[arm] Fix typo in FastNewRestParameterStub::Generate.

TBR=bmeurer@chromium.org
BUG=chromium:619538

Review-Url: https://codereview.chromium.org/2066493002
Cr-Commit-Position: refs/heads/master@{#36927}
parent 31ca317a
...@@ -4550,12 +4550,12 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) { ...@@ -4550,12 +4550,12 @@ void FastNewRestParameterStub::Generate(MacroAssembler* masm) {
// Fall back to %AllocateInNewSpace (if not too big). // Fall back to %AllocateInNewSpace (if not too big).
Label too_big_for_new_space; Label too_big_for_new_space;
__ bind(&allocate); __ bind(&allocate);
__ cmp(r1, Operand(Page::kMaxRegularHeapObjectSize)); __ cmp(r6, Operand(Page::kMaxRegularHeapObjectSize));
__ b(gt, &too_big_for_new_space); __ b(gt, &too_big_for_new_space);
{ {
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
__ SmiTag(r1); __ SmiTag(r6);
__ Push(r0, r2, r1); __ Push(r0, r2, r6);
__ CallRuntime(Runtime::kAllocateInNewSpace); __ CallRuntime(Runtime::kAllocateInNewSpace);
__ mov(r3, r0); __ mov(r3, r0);
__ Pop(r0, r2); __ Pop(r0, r2);
......
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