aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-11-26 11:32:38 -0800
committerRichard Henderson <richard.henderson@linaro.org>2018-12-26 06:40:24 +1100
commit15d7409260498505e991e7b9d87118627165e613 (patch)
treefbe35dcaccb80620089d1a440ef9cb908aaa0b9f /tcg/tcg.h
parent3b50352b05eeafeb95cccd770f7aaba00bbdf6fe (diff)
downloadqemu-15d7409260498505e991e7b9d87118627165e613.zip
qemu-15d7409260498505e991e7b9d87118627165e613.tar.gz
qemu-15d7409260498505e991e7b9d87118627165e613.tar.bz2
tcg: Add TCG_CALL_NO_RETURN
Remember which helpers have been marked noreturn. Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index d9b101e..492d8dc 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -467,6 +467,8 @@ typedef TCGv_ptr TCGv_env;
#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 0x0004
+/* Helper is QEMU_NORETURN. */
+#define TCG_CALL_NO_RETURN 0x0008
/* convenience version of most used call flags */
#define TCG_CALL_NO_RWG TCG_CALL_NO_READ_GLOBALS