diff options
author | Richard Henderson <rth@twiddle.net> | 2014-03-22 20:06:52 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-05-12 11:13:12 -0700 |
commit | cf066674280c65a9e035eca073ce3a05887af502 (patch) | |
tree | f2dce1a27d384289713798b12e5fe455209ef43a /tcg/tcg-opc.h | |
parent | dddbb2e1e3f8137d7e3f1faf9758c66cca0c94ea (diff) | |
download | qemu-cf066674280c65a9e035eca073ce3a05887af502.tar.gz qemu-cf066674280c65a9e035eca073ce3a05887af502.tar.bz2 qemu-cf066674280c65a9e035eca073ce3a05887af502.zip |
tcg: Make call address a constant parameter
Avoid allocating a tcg temporary to hold the constant address,
and instead place it directly into the op_call arguments.
At the same time, convert to the newly introduced tcg_out_call
backend function, rather than invoking tcg_out_op for the call.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg-opc.h')
-rw-r--r-- | tcg/tcg-opc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h index adb6ce1bb9..17168480b0 100644 --- a/tcg/tcg-opc.h +++ b/tcg/tcg-opc.h @@ -40,7 +40,7 @@ DEF(discard, 1, 0, 0, TCG_OPF_NOT_PRESENT) DEF(set_label, 0, 0, 1, TCG_OPF_BB_END | TCG_OPF_NOT_PRESENT) /* variable number of parameters */ -DEF(call, 0, 1, 2, TCG_OPF_CALL_CLOBBER) +DEF(call, 0, 0, 3, TCG_OPF_CALL_CLOBBER) DEF(br, 0, 0, 1, TCG_OPF_BB_END) |