Commit bd3f0a68 authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[cleanup][arm] Fix/cleanup new code for hard abort on arm

No functional change, just a cleanup I forgot to integrate in the
reland: https://crrev.com/c/1146100

R=mstarzinger@chromium.org

Bug: v8:7977
Change-Id: Ifbb437d6a1ec9ec1b8623859bdf183dab1a1c0f6
Reviewed-on: https://chromium-review.googlesource.com/1148721Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54685}
parent 6af63b94
......@@ -1885,8 +1885,10 @@ void TurboAssembler::Abort(AbortReason reason) {
// We don't care if we constructed a frame. Just pretend we did.
FrameScope assume_frame(this, StackFrame::NONE);
Move32BitImmediate(r0, Operand(static_cast<int>(reason)));
PrepareCallCFunction(0, 0, r1);
PrepareCallCFunction(1, 0, r1);
Move(r1, ExternalReference::abort_with_reason());
// Use Call directly to avoid any unneeded overhead. The function won't
// return anyway.
Call(r1);
return;
}
......
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