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.h | |
parent | dddbb2e1e3f8137d7e3f1faf9758c66cca0c94ea (diff) | |
download | qemu-cf066674280c65a9e035eca073ce3a05887af502.zip qemu-cf066674280c65a9e035eca073ce3a05887af502.tar.gz qemu-cf066674280c65a9e035eca073ce3a05887af502.tar.bz2 |
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.h')
-rw-r--r-- | tcg/tcg.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -725,7 +725,7 @@ void tcg_add_target_add_op_defs(const TCGTargetOpDef *tdefs); #define tcg_temp_free_ptr(T) tcg_temp_free_i64(TCGV_PTR_TO_NAT(T)) #endif -void tcg_gen_callN(TCGContext *s, TCGv_ptr func, unsigned int flags, +void tcg_gen_callN(TCGContext *s, void *func, unsigned int flags, int sizemask, TCGArg ret, int nargs, TCGArg *args); void tcg_gen_shifti_i64(TCGv_i64 ret, TCGv_i64 arg1, |