Commit f8341956 authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

PPC: prevent trampoline pool emission on CallForDeopt

Change-Id: Iaea977a35ea85d561368b04ecfbd2f16693a87a9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2543311Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#71216}
parent d8c8efec
......@@ -3339,6 +3339,7 @@ void TurboAssembler::StoreReturnAddressAndCall(Register target) {
void TurboAssembler::CallForDeoptimization(Builtins::Name target, int,
Label* exit, DeoptimizeKind kind,
Label*) {
BlockTrampolinePoolScope block_trampoline_pool(this);
LoadP(ip, MemOperand(kRootRegister,
IsolateData::builtin_entry_slot_offset(target)));
Call(ip);
......
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