diff options
Diffstat (limited to 'src/cpu/minor')
-rw-r--r-- | src/cpu/minor/func_unit.cc | 2 | ||||
-rw-r--r-- | src/cpu/minor/func_unit.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/minor/func_unit.cc b/src/cpu/minor/func_unit.cc index 1a75c4aa8..65dd1eefc 100644 --- a/src/cpu/minor/func_unit.cc +++ b/src/cpu/minor/func_unit.cc @@ -199,7 +199,7 @@ FUPipeline::advance() } MinorFUTiming * -FUPipeline::findTiming(StaticInstPtr inst) +FUPipeline::findTiming(const StaticInstPtr &inst) { #if THE_ISA == ARM_ISA /* This should work for any ISA with a POD mach_inst */ diff --git a/src/cpu/minor/func_unit.hh b/src/cpu/minor/func_unit.hh index 34da579b6..d99e527e8 100644 --- a/src/cpu/minor/func_unit.hh +++ b/src/cpu/minor/func_unit.hh @@ -257,7 +257,7 @@ class FUPipeline : public FUPipelineBase, public FuncUnit /** Find the extra timing information for this instruction. Returns * NULL if no decode info. is found */ - MinorFUTiming *findTiming(StaticInstPtr inst); + MinorFUTiming *findTiming(const StaticInstPtr &inst); /** Step the pipeline. Allow multiple steps? */ void advance(); |