diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2014-08-13 06:57:27 -0400 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2014-08-13 06:57:27 -0400 |
commit | eb9226317d792b89a3ceed9b7653cc76953c2f06 (patch) | |
tree | 57cf88e1fdeace0afadc51e0e84a13115cb900bd /src/base/misc.hh | |
parent | 25f5a6733cbca02f0db9839a00dec30f9751b462 (diff) | |
download | gem5-eb9226317d792b89a3ceed9b7653cc76953c2f06.tar.xz |
base: Remove unused M5_PRAGMA_NORETURN
The M5_PRAGMA_NORETURN macro was only used in for
__exit_message. Since the macro only holds a stub definition and all
functions with noreturn semantics use the M5_ATTR_NORETURN, this
macros is completely redundant.
Diffstat (limited to 'src/base/misc.hh')
-rw-r--r-- | src/base/misc.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/base/misc.hh b/src/base/misc.hh index 82fe8c4c0..de44dc3f5 100644 --- a/src/base/misc.hh +++ b/src/base/misc.hh @@ -71,7 +71,6 @@ __exit_message(const char *prefix, int code, VARARGS_ALLARGS); } -M5_PRAGMA_NORETURN(__exit_message) #define exit_message(prefix, code, ...) \ __exit_message(prefix, code, __FUNCTION__, __FILE__, __LINE__, \ __VA_ARGS__) |