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.
This commit is contained in:
Steve Reinhardt
2008-07-15 14:38:51 -04:00
parent 8e7ddce284
commit aa2bb4f7b9

View File

@@ -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__