summaryrefslogtreecommitdiff
path: root/src/cpu/o3/impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/o3/impl.hh')
-rw-r--r--src/cpu/o3/impl.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/o3/impl.hh b/src/cpu/o3/impl.hh
index 8905bdb1c..a0007e542 100644
--- a/src/cpu/o3/impl.hh
+++ b/src/cpu/o3/impl.hh
@@ -65,6 +65,7 @@ struct O3CPUImpl
* what should be used, and not DynInst *.
*/
typedef RefCountingPtr<DynInst> DynInstPtr;
+ typedef RefCountingPtr<const DynInst> DynInstConstPtr;
/** The O3CPU type to be used. */
typedef FullO3CPU<O3CPUImpl> O3CPU;