bug fix... JMP is a branch...

merge-requests/16/merge
_xeroxz 3 years ago
parent 0cbc83be3f
commit c2319117a0

@ -257,7 +257,7 @@ namespace vm::instrs
if ( result == code_block.vinstrs.rend() ) if ( result == code_block.vinstrs.rend() )
{ {
jcc.block_addr[ 0 ] = code_block_addr( vmctx, last_trace ); jcc.block_addr[ 0 ] = code_block_addr( vmctx, last_trace );
jcc.has_jcc = false; jcc.has_jcc = true;
jcc.type = jcc_type::absolute; jcc.type = jcc_type::absolute;
} }
// else there are two branches... // else there are two branches...

Loading…
Cancel
Save