diff options
author | Richard Henderson <rth@twiddle.net> | 2014-03-30 21:22:11 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-04-18 16:57:36 -0700 |
commit | f6c6afc1d41bf53394df15f62b25f15e1de72614 (patch) | |
tree | ab150de74af257fe4278118c6cdb88e2a5b9d09d /tcg/sparc | |
parent | d998e555d2a504d719b773b3164101aa36284a20 (diff) | |
download | qemu-f6c6afc1d41bf53394df15f62b25f15e1de72614.zip qemu-f6c6afc1d41bf53394df15f62b25f15e1de72614.tar.gz qemu-f6c6afc1d41bf53394df15f62b25f15e1de72614.tar.bz2 |
tcg: Add TCGType parameter to tcg_target_const_match
Most 64-bit targets need to be able to ignore the high bits
of a TCG_TYPE_I32 value.
Suggested-by: Stuart Brady <sdb@zubnet.me.uk>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/sparc')
-rw-r--r-- | tcg/sparc/tcg-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c index 152335c..73121e1 100644 --- a/tcg/sparc/tcg-target.c +++ b/tcg/sparc/tcg-target.c @@ -327,7 +327,7 @@ static int target_parse_constraint(TCGArgConstraint *ct, const char **pct_str) } /* test if a constant matches the constraint */ -static inline int tcg_target_const_match(tcg_target_long val, +static inline int tcg_target_const_match(tcg_target_long val, TCGType type, const TCGArgConstraint *arg_ct) { int ct = arg_ct->ct; |