qemu/target-m68k
Richard Henderson 42a268c241 tcg: Change translator-side labels to a pointer
This is improved type checking for the translators -- it's no longer
possible to accidentally swap arguments to the branch functions.

Note that the code generating backends still manipulate labels as int.

With notable exceptions, the scope of the change is just a few lines
for each target, so it's not worth building extra machinery to do this
change in per-target increments.

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Cc: Michael Walle <michael@walle.cc>
Cc: Leon Alrae <leon.alrae@imgtec.com>
Cc: Anthony Green <green@moxielogic.com>
Cc: Jia Liu <proljc@gmail.com>
Cc: Alexander Graf <agraf@suse.de>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Blue Swirl <blauwirbel@gmail.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
2015-03-13 12:28:18 -07:00
..
cpu-qom.h target-m68k: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
cpu.c target-m68k: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
cpu.h cpu: Make cpu_init() return QOM CPUState object 2015-03-10 17:33:51 +01:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c target-m68k: Use cpu_exec_enter/exit qom hooks 2014-09-25 18:54:21 +01:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
m68k-qreg.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
m68k-semi.c exec: Change cpu_abort() argument to CPUState 2014-03-13 19:52:28 +01:00
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
op_helper.c target-m68k: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
qregs.def cpu: Move exception_index field from CPU_COMMON to CPUState 2014-03-13 19:20:46 +01:00
translate.c tcg: Change translator-side labels to a pointer 2015-03-13 12:28:18 -07:00