aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2013-02-27 16:09:38 +0000
committerBlue Swirl <blauwirbel@gmail.com>2013-03-03 08:25:50 +0000
commit07ca08bac88f116e9beb05d48d07b406ace8fbc0 (patch)
tree047cb87d2175082f6dca0d14b61052e4dbbefb45 /tcg
parent288f1e3f87ec24abeac38399f175fe74243f7bc5 (diff)
downloadqemu-07ca08bac88f116e9beb05d48d07b406ace8fbc0.zip
qemu-07ca08bac88f116e9beb05d48d07b406ace8fbc0.tar.gz
qemu-07ca08bac88f116e9beb05d48d07b406ace8fbc0.tar.bz2
tcg-sparc: fix build
Fix build breakage by 803d805bcef4ea7b7d6ef0b4929263e1160d6b3c: make tcg_out_addsub2() always available. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/sparc/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c
index 6d489fc..025af9b 100644
--- a/tcg/sparc/tcg-target.c
+++ b/tcg/sparc/tcg-target.c
@@ -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)