Commit 5134ca88 authored by Milad Farazmand's avatar Milad Farazmand Committed by Commit Bot

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

Port 842f1ca0

Original Commit Message:

    Port dcf3b663

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/+/1829158Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#64026}
parent 6a0c7680
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment