aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-21 17:58:45 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-21 17:58:45 +0000
commitfb50d4134d6533f4151b3dd1faf1b8bad83639d1 (patch)
treeb81ce1ed2e30f172e9c48d00bb8fdf3ab9770f65 /tcg
parent72a9747b79e2facf84a61248196d8fcf17665b35 (diff)
Make TCG br op available
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4093 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg-op.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h
index 185bedbb3e..2e8b5e8b6c 100644
--- a/tcg/tcg-op.h
+++ b/tcg/tcg-op.h
@@ -155,6 +155,11 @@ static inline void gen_set_label(int n)
tcg_gen_op1i(INDEX_op_set_label, n);
}
+static inline void tcg_gen_br(int label)
+{
+ tcg_gen_op1i(INDEX_op_br, label);
+}
+
static inline void tcg_gen_mov_i32(TCGv ret, TCGv arg)
{
tcg_gen_op2(INDEX_op_mov_i32, ret, arg);