summaryrefslogtreecommitdiff
path: root/cpu/profile.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/profile.hh')
-rw-r--r--cpu/profile.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/profile.hh b/cpu/profile.hh
index 58cd7e79f..18061f9bf 100644
--- a/cpu/profile.hh
+++ b/cpu/profile.hh
@@ -68,7 +68,7 @@ class FunctionProfile
FunctionProfile(const SymbolTable *symtab);
~FunctionProfile();
- ProfileNode *consume(ExecContext *xc, StaticInstPtr<TheISA> inst);
+ ProfileNode *consume(ExecContext *xc, StaticInstPtr inst);
ProfileNode *consume(const std::vector<Addr> &stack);
void clear();
void dump(ExecContext *xc, std::ostream &out) const;
@@ -76,7 +76,7 @@ class FunctionProfile
};
inline ProfileNode *
-FunctionProfile::consume(ExecContext *xc, StaticInstPtr<TheISA> inst)
+FunctionProfile::consume(ExecContext *xc, StaticInstPtr inst)
{
if (!trace.trace(xc, inst))
return NULL;