Commit 5743beeb authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

PPC: fix calling abort by using ip

R=joransiu@ca.ibm.com

Change-Id: I975eb3eb0e896b4409e923638f5644dd404e8689
Reviewed-on: https://chromium-review.googlesource.com/1228640Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#55973}
parent 08743307
......@@ -1766,10 +1766,10 @@ void TurboAssembler::Abort(AbortReason reason) {
FrameScope assume_frame(this, StackFrame::NONE);
mov(r3, Operand(static_cast<int>(reason)));
PrepareCallCFunction(1, 0, r4);
Move(r4, ExternalReference::abort_with_reason());
Move(ip, ExternalReference::abort_with_reason());
// Use Call directly to avoid any unneeded overhead. The function won't
// return anyway.
Call(r4);
Call(ip);
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