Commit 019310ad authored by Milad Fa's avatar Milad Fa Committed by Commit Bot

PPC/S390: Fix FrameScope when calling kThrowStackOverflow

Original change on arm: https://crrev.com/c/2463222

Change-Id: Ifb99b4dd1825814865ef2647ba3df3b3ab343cc4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2712394Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#72927}
parent 0ef2eea7
...@@ -1469,7 +1469,8 @@ void MacroAssembler::InvokePrologue(Register expected_parameter_count, ...@@ -1469,7 +1469,8 @@ void MacroAssembler::InvokePrologue(Register expected_parameter_count,
bind(&stack_overflow); bind(&stack_overflow);
{ {
FrameScope frame(this, StackFrame::MANUAL); FrameScope frame(this,
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL);
CallRuntime(Runtime::kThrowStackOverflow); CallRuntime(Runtime::kThrowStackOverflow);
bkpt(0); bkpt(0);
} }
......
...@@ -1598,7 +1598,8 @@ void MacroAssembler::InvokePrologue(Register expected_parameter_count, ...@@ -1598,7 +1598,8 @@ void MacroAssembler::InvokePrologue(Register expected_parameter_count,
bind(&stack_overflow); bind(&stack_overflow);
{ {
FrameScope frame(this, StackFrame::MANUAL); FrameScope frame(this,
has_frame() ? StackFrame::NONE : StackFrame::INTERNAL);
CallRuntime(Runtime::kThrowStackOverflow); CallRuntime(Runtime::kThrowStackOverflow);
bkpt(0); bkpt(0);
} }
......
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