2
0
Эх сурвалжийг харах

tcg/tcti: fix goto as first instruction

osy 1 сар өмнө
parent
commit
35ba52817d

+ 1 - 0
accel/tcg/tcg-accel-ops.c

@@ -68,6 +68,7 @@ void tcg_cpu_init_cflags(CPUState *cpu, bool parallel)
     // GOTO_PTR is too complex to emit a simple gadget for.
     // We'll let C handle it, since the overhead is similar.
     cflags |= CF_NO_GOTO_PTR;
+    cpu->cflags_next_tb = CF_NO_GOTO_PTR;
 #endif
     tcg_cflags_set(cpu, cflags);
 }