[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}
This commit is contained in:
parent
31ca317af3
commit
689be6e49d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user