Commit fb50d4134d6533f4151b3dd1faf1b8bad83639d1
1 parent
72a9747b
Make TCG br op available
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4093 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
5 additions
and
0 deletions
tcg/tcg-op.h
... | ... | @@ -155,6 +155,11 @@ static inline void gen_set_label(int n) |
155 | 155 | tcg_gen_op1i(INDEX_op_set_label, n); |
156 | 156 | } |
157 | 157 | |
158 | +static inline void tcg_gen_br(int label) | |
159 | +{ | |
160 | + tcg_gen_op1i(INDEX_op_br, label); | |
161 | +} | |
162 | + | |
158 | 163 | static inline void tcg_gen_mov_i32(TCGv ret, TCGv arg) |
159 | 164 | { |
160 | 165 | tcg_gen_op2(INDEX_op_mov_i32, ret, arg); | ... | ... |