Fix codegen timing flush at end of a block.

This commit is contained in:
SarahW 2019-03-22 20:31:57 +00:00
commit b35cf7de09
2 changed files with 5 additions and 0 deletions

View file

@ -793,6 +793,7 @@ void codegen_block_end()
void codegen_block_end_recompile(codeblock_t *block)
{
codegen_timing_block_end();
codegen_accumulate(ACCREG_cycles, -codegen_block_cycles);
if (block->flags & CODEBLOCK_IN_DIRTY_LIST)
block_dirty_list_remove(block);