PPC/s390: PPC/s390: [builtins] Defer throw in InterpreterEntryTrampoline

Port 842f1ca0a2

Original Commit Message:

    Port dcf3b66349

R=miladfar@ca.ibm.com, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=
LOG=N

Change-Id: Ib5ff44751b466e650c09239e387206ba8c7757d4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1829158
Reviewed-by: Junliang Yan <jyan@ca.ibm.com>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#64026}
This commit is contained in:
Milad Farazmand 2019-09-27 10:40:05 -04:00 committed by Commit Bot
parent 6a0c7680dd
commit 5134ca885f
2 changed files with 2 additions and 2 deletions

View File

@ -1159,7 +1159,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
__ sub(r8, sp, r5);
LoadRealStackLimit(masm, r0);
__ cmpl(r8, r0);
__ ble(&stack_overflow);
__ blt(&stack_overflow);
// If ok, push undefined as the initial value for all register file entries.
// TODO(rmcilroy): Consider doing more than one push per loop iteration.

View File

@ -1211,7 +1211,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
// Do a stack check to ensure we don't go over the limit.
__ SubP(r8, sp, r4);
__ CmpLogicalP(r8, RealStackLimitAsMemOperand(masm));
__ ble(&stack_overflow);
__ blt(&stack_overflow);
// If ok, push undefined as the initial value for all register file entries.
// TODO(rmcilroy): Consider doing more than one push per loop iteration.