The port to ARM of a tail call wrongly kept the scheme of pushing below the return address.
TBR=antonm@chromium.org
Review URL: http://codereview.chromium.org/2091013
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4679
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ASSERT(callback->getter() != NULL);
Label cleanup;
- __ pop(scratch2);
- __ Push(receiver, scratch2);
+ __ push(receiver);
holder = stub_compiler->CheckPrototypes(holder_obj, holder,
lookup->holder(), scratch1,
__ TailCallExternalReference(ref, 5, 1);
__ bind(&cleanup);
- __ pop(scratch1);
__ pop(scratch2);
- __ push(scratch1);
}
}