Use JumpToDynamic for block linking targets.

This commit is contained in:
Jean-Philip Desjardins 2019-05-06 12:30:44 -04:00
parent 0363398aad
commit 03fa233c4f

View File

@ -256,7 +256,7 @@ void CBasicBlock::CompileEpilog(CMipsJitter* jitter)
jitter->PushCst(0);
jitter->BeginIf(Jitter::CONDITION_EQ);
{
jitter->JumpTo(reinterpret_cast<void*>(&NextBlockTrampoline));
jitter->JumpToDynamic(reinterpret_cast<void*>(&NextBlockTrampoline));
}
jitter->EndIf();
}
@ -269,7 +269,7 @@ void CBasicBlock::CompileEpilog(CMipsJitter* jitter)
jitter->PushCst(0);
jitter->BeginIf(Jitter::CONDITION_EQ);
{
jitter->JumpTo(reinterpret_cast<void*>(&NextBlockTrampoline));
jitter->JumpToDynamic(reinterpret_cast<void*>(&NextBlockTrampoline));
}
jitter->EndIf();
}