]> Git Repo - qemu.git/commit - target-tricore/translate.c
tcg: Change translator-side labels to a pointer
authorRichard Henderson <[email protected]>
Fri, 13 Feb 2015 20:51:55 +0000 (12:51 -0800)
committerRichard Henderson <[email protected]>
Fri, 13 Mar 2015 19:28:18 +0000 (12:28 -0700)
commit42a268c241183877192c376d03bd9b6d527407c7
treee41a70d15c0a61d4618b08b889ab9dd56df9c35c
parent3f626793a2182061e3aa50a9e2ed7a322582a60f
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 <[email protected]>
Cc: Edgar E. Iglesias <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Leon Alrae <[email protected]>
Cc: Anthony Green <[email protected]>
Cc: Jia Liu <[email protected]>
Cc: Alexander Graf <[email protected]>
Cc: Aurelien Jarno <[email protected]>
Cc: Blue Swirl <[email protected]>
Cc: Guan Xuetao <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Max Filippov <[email protected]>
Reviewed-by: Bastian Koppelmann <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
26 files changed:
include/exec/gen-icount.h
target-alpha/translate.c
target-arm/translate-a64.c
target-arm/translate.c
target-arm/translate.h
target-cris/translate.c
target-cris/translate_v10.c
target-i386/translate.c
target-lm32/translate.c
target-m68k/translate.c
target-microblaze/translate.c
target-mips/translate.c
target-moxie/translate.c
target-openrisc/translate.c
target-ppc/translate.c
target-s390x/translate.c
target-sh4/translate.c
target-sparc/translate.c
target-tricore/translate.c
target-unicore32/translate.c
target-xtensa/translate.c
tcg/i386/tcg-target.c
tcg/tcg-op.c
tcg/tcg-op.h
tcg/tcg.c
tcg/tcg.h
This page took 0.02869 seconds and 4 git commands to generate.