diff options
author | Nathan Binkert <nate@binkert.org> | 2011-01-10 11:11:20 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-01-10 11:11:20 -0800 |
commit | bd18ac82877072a87745aaf7a104e7bb036c6c66 (patch) | |
tree | 0fb980aea5b81d79160105fbf505670be0cf5e72 /src/mem/ruby/tester/RaceyDriver.cc | |
parent | 8e262adf4fcc009776810b9795f907fcd468591c (diff) | |
download | gem5-bd18ac82877072a87745aaf7a104e7bb036c6c66.tar.xz |
ruby: get rid of ruby's Debug.hh
Get rid of the Debug class
Get rid of ASSERT and use assert
Use DPRINTFR for ProtocolTrace
Diffstat (limited to 'src/mem/ruby/tester/RaceyDriver.cc')
-rw-r--r-- | src/mem/ruby/tester/RaceyDriver.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mem/ruby/tester/RaceyDriver.cc b/src/mem/ruby/tester/RaceyDriver.cc index a9f716334..bc41b0281 100644 --- a/src/mem/ruby/tester/RaceyDriver.cc +++ b/src/mem/ruby/tester/RaceyDriver.cc @@ -27,10 +27,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* - * $Id$ - * - */ +#include <cassert> + #include "mem/ruby/common/Global.hh" #include "mem/ruby/tester/Tester_Globals.hh" #include "mem/ruby/tester/RaceyDriver.hh" @@ -77,7 +75,7 @@ void RaceyDriver::go() { void RaceyDriver::hitCallback(int64_t request_id) { - ASSERT(requests.find(request_id) != requests.end()); + assert(requests.find(request_id) != requests.end()); int proc = requests[request_id].first; Address address = requests[request_id].second.address; uint8_t * data = new uint8_t[4]; |