Force nop for breakpoint() to avoid elimination if alone in basic block
This commit is contained in:
parent
6ea39d7bfa
commit
0b72e6b2f2
|
@ -5243,6 +5243,7 @@ void NativeCodeInstruction::Assemble(NativeCodeBasicBlock* block)
|
|||
rl.mFlags = LREF_BREAKPOINT;
|
||||
|
||||
block->mRelocations.Push(rl);
|
||||
block->PutByte(0xEA);
|
||||
}
|
||||
else if (mType == ASMIT_JSR && mLinkerObject && (mLinkerObject->mFlags & LOBJF_INLINE))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue