tci: Remove function tcg_out64 (fix broken build)
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.
Signed-off-by Stefan Weil <[email protected]>
--- tcg/tci/tcg-target.c | 7 ------- 1 file changed, 7 deletions(-)
tcg/tci/tcg-target.c +0 -7
@@ -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
Quoted 5 lines · Stefan Weil
Commit
ac26eb69a311396668809eadbf7ff4e623447d4caddedtcg_out64totcg/tcg.c.tcg/tci/tcg-target.calready had a nearly identical implementation which is now removed to fix a compiler error.Signed-off-by Stefan Weil <[email protected]>
Oops, yes.
Reviewed-by Richard Henderson <[email protected]>
r~
Michael Tokarev
AppliedQuoted 3 lines · Stefan Weil
Commit
ac26eb69a311396668809eadbf7ff4e623447d4caddedtcg_out64totcg/tcg.c.tcg/tci/tcg-target.calready had a nearly identical implementation which is now removed to fix a compiler error.
Thanks, applied to the trivial-patches queue.
/mjt