summaryrefslogtreecommitdiff
path: root/tcg/aarch64
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-03-30 21:22:11 -0700
committerRichard Henderson <rth@twiddle.net>2014-04-18 16:57:36 -0700
commitf6c6afc1d41bf53394df15f62b25f15e1de72614 (patch)
treeab150de74af257fe4278118c6cdb88e2a5b9d09d /tcg/aarch64
parentd998e555d2a504d719b773b3164101aa36284a20 (diff)
downloadqemu-f6c6afc1d41bf53394df15f62b25f15e1de72614.tar.gz
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/aarch64')
-rw-r--r--tcg/aarch64/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/aarch64/tcg-target.c b/tcg/aarch64/tcg-target.c
index d5500fffdc..4d2e956bef 100644
--- a/tcg/aarch64/tcg-target.c
+++ b/tcg/aarch64/tcg-target.c
@@ -180,7 +180,7 @@ static inline bool is_limm(uint64_t val)
return (val & (val - 1)) == 0;
}
-static int tcg_target_const_match(tcg_target_long val,
+static int tcg_target_const_match(tcg_target_long val, TCGType type,
const TCGArgConstraint *arg_ct)
{
int ct = arg_ct->ct;