summaryrefslogtreecommitdiff
path: root/src/cpu/o3/cpu.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-06-20 08:15:06 -0700
committerNathan Binkert <binkertn@umich.edu>2007-06-20 08:15:06 -0700
commitf65e2710ecb725f9f44e0e9edd8389f39720cd64 (patch)
tree48d60148364f956db79804ff05bc4675e9fe7615 /src/cpu/o3/cpu.hh
parentb47737dde7e9138a7e7511380d785f11417552d0 (diff)
downloadgem5-f65e2710ecb725f9f44e0e9edd8389f39720cd64.tar.xz
Don't do checker stuff if the checker is not defined
--HG-- extra : convert_revision : 1c920b050c21e592a386410e4e9f45354f8e4441
Diffstat (limited to 'src/cpu/o3/cpu.hh')
-rw-r--r--src/cpu/o3/cpu.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/o3/cpu.hh b/src/cpu/o3/cpu.hh
index e71d05c8e..b7533e311 100644
--- a/src/cpu/o3/cpu.hh
+++ b/src/cpu/o3/cpu.hh
@@ -42,6 +42,7 @@
#include "base/statistics.hh"
#include "base/timebuf.hh"
#include "config/full_system.hh"
+#include "config/use_checker.hh"
#include "cpu/activity.hh"
#include "cpu/base.hh"
#include "cpu/simple_thread.hh"
@@ -617,11 +618,13 @@ class FullO3CPU : public BaseO3CPU
/** The global sequence number counter. */
InstSeqNum globalSeqNum;//[Impl::MaxThreads];
+#if USE_CHECKER
/** Pointer to the checker, which can dynamically verify
* instruction results at run time. This can be set to NULL if it
* is not being used.
*/
Checker<DynInstPtr> *checker;
+#endif
#if FULL_SYSTEM
/** Pointer to the system. */