diff options
author | Korey Sewell <ksewell@umich.edu> | 2009-03-04 22:37:45 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2009-03-04 22:37:45 -0500 |
commit | 9e1dc7f20549e9590c5b1450be17ff03057e346f (patch) | |
tree | 29e8dd06790c50fa35ae1feba632bba0be72ce0d /src/cpu/inorder/first_stage.cc | |
parent | 7c8d54421665ccbc204487cb6a9faa31c1b3c243 (diff) | |
download | gem5-9e1dc7f20549e9590c5b1450be17ff03057e346f.tar.xz |
InOrderCPU: Clean up Constructors to initialize variables correctly (i.e. in a way for the compiler to play *nice*)
Diffstat (limited to 'src/cpu/inorder/first_stage.cc')
-rw-r--r-- | src/cpu/inorder/first_stage.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cpu/inorder/first_stage.cc b/src/cpu/inorder/first_stage.cc index be4431a03..5e389b256 100644 --- a/src/cpu/inorder/first_stage.cc +++ b/src/cpu/inorder/first_stage.cc @@ -40,15 +40,12 @@ using namespace std; using namespace ThePipeline; FirstStage::FirstStage(Params *params, unsigned stage_num) - : PipelineStage(params, stage_num) + : PipelineStage(params, stage_num), numFetchingThreads(1), + fetchPolicy(FirstStage::RoundRobin) { for(int tid=0; tid < this->numThreads; tid++) { stageStatus[tid] = Running; } - - numFetchingThreads = 1; - - fetchPolicy = RoundRobin; } void |