tcg/ppc: Fix build of tcg_qemu_tb_exec()
authorAndreas Färber <andreas.faerber@web.de>
Sat, 16 Feb 2013 22:21:24 +0000 (23:21 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 17 Feb 2013 14:27:36 +0000 (14:27 +0000)
Commit 0b0d3320db74cde233ee7855ad32a9c121d20eb4 (TCG: Final globals
clean-up) moved code_gen_prologue but forgot to update ppc code.
This broke the build on 32-bit ppc. ppc64 is unaffected.

Cc: Evgeny Voevodin <evgenyvoevodin@gmail.com>
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/ppc/tcg-target.h

index ea2676958141400242e941d308838af9015cfd8d..0fdad04ee4d3cb69e4c6d705e3ff138029f5862c 100644 (file)
@@ -99,6 +99,6 @@ typedef enum {
 
 #define tcg_qemu_tb_exec(env, tb_ptr) \
     ((long __attribute__ ((longcall)) \
-      (*)(void *, void *))code_gen_prologue)(env, tb_ptr)
+      (*)(void *, void *))tcg_ctx.code_gen_prologue)(env, tb_ptr)
 
 #endif