Skip to content
Snippets Groups Projects
Commit c2fc06a2 authored by Anton Johansson's avatar Anton Johansson Committed by Anton
Browse files

Manually set `TB_NO_CHAIN` cflag

This fixes the bug where our `TranslationBlock` wouldn't be allocated
in the `code_buffer`, since we no longer take that code path.
parent e22d4182
No related branches found
No related tags found
No related merge requests found
......@@ -190,6 +190,7 @@ LibTinyCodeInstructionList libtcg_translate(LibTinyCodeContext *context,
} else {
context->cpu->cflags_next_tb = -1;
}
cflags |= CF_NO_GOTO_TB;
/*
* Set `max_insns` to the number of bytes in the buffer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment