PPC: prevent trampoline pool emission on CallForDeopt

Change-Id: Iaea977a35ea85d561368b04ecfbd2f16693a87a9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2543311
Reviewed-by: Milad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#71216}
This commit is contained in:
Junliang Yan 2020-11-16 20:30:41 -05:00 committed by Commit Bot
parent d8c8efecc4
commit f8341956a1

View File

@ -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);