aboutsummaryrefslogtreecommitdiff
path: root/include/exec/helper-head.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/exec/helper-head.h')
-rw-r--r--include/exec/helper-head.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/exec/helper-head.h b/include/exec/helper-head.h
index 0b5bd8398e..253e4d53fd 100644
--- a/include/exec/helper-head.h
+++ b/include/exec/helper-head.h
@@ -109,12 +109,11 @@
#define dh_is_signed(t) dh_is_signed_##t
#define dh_sizemask(t, n) \
- sizemask |= dh_is_64bit(t) << (n*2); \
- sizemask |= dh_is_signed(t) << (n*2+1)
+ ((dh_is_64bit(t) << (n*2)) | (dh_is_signed(t) << (n*2+1)))
#define dh_arg(t, n) \
args[n - 1] = glue(GET_TCGV_, dh_alias(t))(glue(arg, n)); \
- dh_sizemask(t, n)
+ sizemask |= dh_sizemask(t, n)
#define dh_arg_decl(t, n) glue(TCGv_, dh_alias(t)) glue(arg, n)