Thanks to Erik Corry for spotting this.
Review URL: http://codereview.chromium.org/4015
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@357
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
// Eagerly check for stack-overflow before starting to push the arguments.
// r0: number of arguments
Label okay;
- { Label L;
- __ mov(r1, Operand(391864 << kSmiTagSize));
- __ cmp(r0, r1);
- __ b(cc, &L);
- __ bind(&L);
- }
ExternalReference stack_guard_limit_address =
ExternalReference::address_of_stack_guard_limit();
__ mov(r2, Operand(stack_guard_limit_address));