diff options
author | Steve Reinhardt <stever@gmail.com> | 2008-07-15 14:38:51 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2008-07-15 14:38:51 -0400 |
commit | aa2bb4f7b9ec571a4430da25173fbb76d1b0c8bb (patch) | |
tree | 3d8fd9426857af26217d2d1d9b823e911ae03626 /src | |
parent | 8e7ddce28493c93564aeb20f1856fbe6bff0ece4 (diff) | |
download | gem5-aa2bb4f7b9ec571a4430da25173fbb76d1b0c8bb.tar.xz |
Get rid of useless m5_assert macro.
Its only purpose was to print the cycle number but that already
happens in the SIGABRT handler. No one used it anyway.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/misc.hh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/base/misc.hh b/src/base/misc.hh index 1509ea2d2..6b0025c34 100644 --- a/src/base/misc.hh +++ b/src/base/misc.hh @@ -113,13 +113,4 @@ __warn(const char *func, const char *file, int line, const std::string &format, } \ } while (0) -// -// assert() that prints out the current cycle -// -#define m5_assert(TEST) do { \ - if (!(TEST)) \ - ccprintf(std::cerr, "Assertion failure, curTick = %d\n", curTick); \ - assert(TEST); \ -} while (0) - #endif // __MISC_HH__ |