BUG=chromium:469768
LOG=n
Review URL: https://codereview.chromium.org/
1061263003
Cr-Commit-Position: refs/heads/master@{#27627}
// Out of stack space.
__ ldr(r1, MemOperand(fp, calleeOffset));
+ if (argc_is_tagged == kArgcIsUntaggedInt) {
+ __ SmiTag(argc);
+ }
__ Push(r1, argc);
__ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION);
__ B(gt, &enough_stack_space);
// There is not enough stack space, so use a builtin to throw an appropriate
// error.
+ if (argc_is_tagged == kArgcIsUntaggedInt) {
+ __ SmiTag(argc);
+ }
__ Push(function, argc);
__ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION);
// We should never return from the APPLY_OVERFLOW builtin.
// Out of stack space.
__ push(Operand(ebp, calleeOffset)); // push this
+ if (eax_is_tagged == kEaxIsUntaggedInt) {
+ __ SmiTag(eax);
+ }
__ push(eax);
__ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION);
// Out of stack space.
__ Push(Operand(rbp, calleeOffset));
+ if (rax_is_tagged == kRaxIsUntaggedInt) {
+ __ Integer32ToSmi(rax, rax);
+ }
__ Push(rax);
__ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION);