Minor compile fix. Not sure why this is broken.
[gem5.git] / src / cpu / base_dyn_inst_impl.hh
index f2109e88d7e31e5b8932ec1427ea568d8ef998f0..d6cdff5c597bb5b020d63f9ae296c6b0f3585b17 100644 (file)
@@ -193,7 +193,7 @@ BaseDynInst<Impl>::prefetch(Addr addr, unsigned flags)
     // note this is a local, not BaseDynInst::fault
     Fault trans_fault = cpu->translateDataReadReq(req);
 
-    if (trans_fault == NoFault && !(req->flags & UNCACHEABLE)) {
+    if (trans_fault == NoFault && !(req->isUncacheable())) {
         // It's a valid address to cacheable space.  Record key MemReq
         // parameters so we can generate another one just like it for
         // the timing access without calling translate() again (which