aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-03-28 05:37:54 +0000
committerStefan Weil <sw@weilnetz.de>2013-04-11 19:58:21 +0200
commit4699ca6dbf335b0c38e291a530c6ad85e599253d (patch)
tree47986bc3b1c6bf8af4c995322d9f4b46b5c02a23 /tcg/tci
parentdea8fde8b8cb1ab14e15308aadbf88eeccd4e873 (diff)
downloadqemu-4699ca6dbf335b0c38e291a530c6ad85e599253d.zip
qemu-4699ca6dbf335b0c38e291a530c6ad85e599253d.tar.gz
qemu-4699ca6dbf335b0c38e291a530c6ad85e599253d.tar.bz2
tci: Delete unused tb_ret_addr
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'tcg/tci')
-rw-r--r--tcg/tci/tcg-target.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c
index a85095c..b096a84 100644
--- a/tcg/tci/tcg-target.c
+++ b/tcg/tci/tcg-target.c
@@ -45,9 +45,6 @@
#define TCG_TARGET_STACK_ALIGN 16
#define TCG_TARGET_CALL_STACK_OFFSET 0
-/* TODO: documentation. */
-static uint8_t *tb_ret_addr;
-
/* Macros used in tcg_target_op_defs. */
#define R "r"
#define RI "ri"
@@ -912,7 +909,6 @@ static void tcg_target_init(TCGContext *s)
}
/* Generate global QEMU prologue and epilogue code. */
-static void tcg_target_qemu_prologue(TCGContext *s)
+static inline void tcg_target_qemu_prologue(TCGContext *s)
{
- tb_ret_addr = s->code_ptr;
}