Fix ALPHA_FS compile. The MachInst -> StaticInstPtr constructor is no longer a conver...
authorGabe Black <gblack@eecs.umich.edu>
Fri, 16 Mar 2007 10:57:34 +0000 (10:57 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 16 Mar 2007 10:57:34 +0000 (10:57 +0000)
--HG--
extra : convert_revision : ce9ecfc03a47642d105f2378208bbe923d6b765b

src/cpu/simple/base.cc

index cd139492aebc1e44790e2dc28fde39ae8a34d2ff..877dc5bd494cb9a1204f1ea996ef7c6fd3e12016 100644 (file)
@@ -418,7 +418,8 @@ BaseSimpleCPU::postExecute()
     if (thread->profile) {
         bool usermode = TheISA::inUserMode(tc);
         thread->profilePC = usermode ? 1 : thread->readPC();
-        ProfileNode *node = thread->profile->consume(tc, inst);
+        StaticInstPtr si(inst);
+        ProfileNode *node = thread->profile->consume(tc, si);
         if (node)
             thread->profileNode = node;
     }