aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-11-26 10:37:34 -0800
committerRichard Henderson <richard.henderson@linaro.org>2018-12-26 06:40:15 +1100
commit3b50352b05eeafeb95cccd770f7aaba00bbdf6fe (patch)
tree18fffa537dbe09bfc00066a71a459107de771a70 /tcg
parentb8c92c6d2969e88b252f1d2351237a87981d1e74 (diff)
downloadqemu-3b50352b05eeafeb95cccd770f7aaba00bbdf6fe.zip
qemu-3b50352b05eeafeb95cccd770f7aaba00bbdf6fe.tar.gz
qemu-3b50352b05eeafeb95cccd770f7aaba00bbdf6fe.tar.bz2
tcg: Renumber TCG_CALL_* flags
Previously, the low 4 bits were used for TCG_CALL_TYPE_MASK, which was removed in 6a18ae2d2947532d5c26439548afa0481c4529f9. Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index ade692f..d9b101e 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -462,11 +462,11 @@ typedef TCGv_ptr TCGv_env;
/* call flags */
/* Helper does not read globals (either directly or through an exception). It
implies TCG_CALL_NO_WRITE_GLOBALS. */
-#define TCG_CALL_NO_READ_GLOBALS 0x0010
+#define TCG_CALL_NO_READ_GLOBALS 0x0001
/* Helper does not write globals */
-#define TCG_CALL_NO_WRITE_GLOBALS 0x0020
+#define TCG_CALL_NO_WRITE_GLOBALS 0x0002
/* Helper can be safely suppressed if the return value is not used. */
-#define TCG_CALL_NO_SIDE_EFFECTS 0x0040
+#define TCG_CALL_NO_SIDE_EFFECTS 0x0004
/* convenience version of most used call flags */
#define TCG_CALL_NO_RWG TCG_CALL_NO_READ_GLOBALS