]> git.proxmox.com Git - qemu.git/commitdiff
tci: Remove function tcg_out64 (fix broken build)
authorStefan Weil <sw@weilnetz.de>
Wed, 28 Aug 2013 17:28:06 +0000 (19:28 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 1 Sep 2013 15:36:16 +0000 (19:36 +0400)
Commit ac26eb69a311396668809eadbf7ff4e623447d4c added tcg_out64 to tcg/tcg.c.
tcg/tci/tcg-target.c already had a nearly identical implementation which is
now removed to fix a compiler error.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/tci/tcg-target.c

index e118bc7179bfa3f361e7498e6c75f88f51a4df9c..eb23832d7e84bb9b5619ca91e96a3e5990d29924 100644 (file)
@@ -415,13 +415,6 @@ static void tcg_out_i(TCGContext *s, tcg_target_ulong v)
     s->code_ptr += sizeof(tcg_target_ulong);
 }
 
-/* Write 64 bit value. */
-static void tcg_out64(TCGContext *s, uint64_t v)
-{
-    *(uint64_t *)s->code_ptr = v;
-    s->code_ptr += sizeof(v);
-}
-
 /* Write opcode. */
 static void tcg_out_op_t(TCGContext *s, TCGOpcode op)
 {