Skip to contentSkip to conversation

tci: Remove function tcg_out64 (fix broken build)

PATCH Applied Stefan Weil 3 participants 3 messages Aug 28, 2013 – Sep 1, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tci: Remove function tcg_out64 (fix broken build)

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.

---
 tcg/tci/tcg-target.c |    7 -------
 1 file changed, 7 deletions(-)
tcg/tci/tcg-target.c +0 -7
index e118bc7..eb23832 100644
@@ -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)
 {
Signature · 1 line
1.7.10.4
#2 lore raw
In reply to Stefan Weil
Quoted 3 lines · Stefan Weil

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.

Thanks, applied to the trivial-patches queue.

/mjt