tcg-sparc: fix build
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 27 Feb 2013 16:09:38 +0000 (16:09 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 3 Mar 2013 08:25:50 +0000 (08:25 +0000)
Fix build breakage by 803d805bcef4ea7b7d6ef0b4929263e1160d6b3c:
make tcg_out_addsub2() always available.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/sparc/tcg-target.c

index 6d489fcc52b60eababb110dcca4fd875adc70032..025af9b379906817fc2f500b102a69dc29587439 100644 (file)
@@ -776,6 +776,7 @@ static void tcg_out_setcond2_i32(TCGContext *s, TCGCond cond, TCGArg ret,
         break;
     }
 }
+#endif
 
 static void tcg_out_addsub2(TCGContext *s, TCGArg rl, TCGArg rh,
                             TCGArg al, TCGArg ah, TCGArg bl, int blconst,
@@ -792,7 +793,6 @@ static void tcg_out_addsub2(TCGContext *s, TCGArg rl, TCGArg rh,
     tcg_out_arithc(s, rh, ah, bh, bhconst, oph);
     tcg_out_mov(s, TCG_TYPE_I32, rl, tmp);
 }
-#endif
 
 /* Generate global QEMU prologue and epilogue code */
 static void tcg_target_qemu_prologue(TCGContext *s)