Minor error. Forgotten to remove brackets for threadPC.
authorVincentius Robby <acolyte@umich.edu>
Fri, 1 Jun 2007 16:24:49 +0000 (12:24 -0400)
committerVincentius Robby <acolyte@umich.edu>
Fri, 1 Jun 2007 16:24:49 +0000 (12:24 -0400)
--HG--
extra : convert_revision : 40a636a539e84decfca438c07adf022eed7b7780

src/cpu/simple/base.cc

index 5e078c502df3fb29beb6b726fcb5d790a8ed954b..6145b13a10770a22a2910d5d65901cf92b54269e 100644 (file)
@@ -342,7 +342,7 @@ BaseSimpleCPU::setupFetchRequest(Request *req)
 
     const Addr PCMask = ~(sizeof(MachInst) - 1);
     Addr fetchPC = thread->readPC() + fetchOffset;
-    req->setVirt(0, fetchPC & PCMask, sizeof(MachInst), 0, threadPC());
+    req->setVirt(0, fetchPC & PCMask, sizeof(MachInst), 0, threadPC);
 
     Fault fault = thread->translateInstReq(req);