summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-07-15 14:38:51 -0400
committerSteve Reinhardt <stever@gmail.com>2008-07-15 14:38:51 -0400
commitaa2bb4f7b9ec571a4430da25173fbb76d1b0c8bb (patch)
tree3d8fd9426857af26217d2d1d9b823e911ae03626
parent8e7ddce28493c93564aeb20f1856fbe6bff0ece4 (diff)
downloadgem5-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.
-rw-r--r--src/base/misc.hh9
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__