diff options
author | H. Peter Anvin <hpa@zytor.com> | 2018-02-22 14:52:50 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2018-02-22 14:52:50 -0800 |
commit | 6686fc627ec2f805bc74599912c46d0ee1a4047c (patch) | |
tree | ef794933e85f1c4f091a5685fcc936c0995eff19 /include/nasmlib.h | |
parent | 6feef84f25d4fa2a2ddd2b7307bd15b668ce6b20 (diff) | |
download | nasm-6686fc627ec2f805bc74599912c46d0ee1a4047c.tar.gz |
Introduce cold function attribute
Attribute to deemphasize certain code paths.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/nasmlib.h')
-rw-r--r-- | include/nasmlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nasmlib.h b/include/nasmlib.h index 78bb1e48..ae0473a1 100644 --- a/include/nasmlib.h +++ b/include/nasmlib.h @@ -111,7 +111,7 @@ void nasm_write(const void *, size_t, FILE *); /* * NASM assert failure */ -no_return nasm_assert_failed(const char *, int, const char *); +fatal_func nasm_assert_failed(const char *, int, const char *); #define nasm_assert(x) \ do { \ if (unlikely(!(x))) \ |