]> Git Repo - qemu.git/blobdiff - tcg/mips/tcg-target.inc.c
tcg: Return bool success from tcg_out_mov
[qemu.git] / tcg / mips / tcg-target.inc.c
index 412cacdcb99c1edaca48657b37e8f36407cfafef..7cafd4a790b4e28f09c1dab02593d16b0d0123ef 100644 (file)
@@ -558,13 +558,14 @@ static inline void tcg_out_dsra(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa)
     tcg_out_opc_sa64(s, OPC_DSRA, OPC_DSRA32, rd, rt, sa);
 }
 
-static inline void tcg_out_mov(TCGContext *s, TCGType type,
+static inline bool tcg_out_mov(TCGContext *s, TCGType type,
                                TCGReg ret, TCGReg arg)
 {
     /* Simple reg-reg move, optimising out the 'do nothing' case */
     if (ret != arg) {
         tcg_out_opc_reg(s, OPC_OR, ret, arg, TCG_REG_ZERO);
     }
+    return true;
 }
 
 static void tcg_out_movi(TCGContext *s, TCGType type,
This page took 0.024318 seconds and 4 git commands to generate.