diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-02-04 00:08:21 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-02-04 00:08:21 -0500 |
commit | 56ce8acd412747b728b7ad02537a3afd202ae8e8 (patch) | |
tree | 258f92450c7ece7a37f093c922b11b80698ec252 /src/cpu/inorder/resources/cache_unit.cc | |
parent | ab3d37d398a59e15cec656ca2b8790a7bc19ad48 (diff) | |
download | gem5-56ce8acd412747b728b7ad02537a3afd202ae8e8.tar.xz |
inorder: overload find-req fn
no need to have separate function name findSplitRequest, just overload the function
Diffstat (limited to 'src/cpu/inorder/resources/cache_unit.cc')
-rw-r--r-- | src/cpu/inorder/resources/cache_unit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/inorder/resources/cache_unit.cc b/src/cpu/inorder/resources/cache_unit.cc index 9f3c99356..03f1c1527 100644 --- a/src/cpu/inorder/resources/cache_unit.cc +++ b/src/cpu/inorder/resources/cache_unit.cc @@ -267,7 +267,7 @@ CacheUnit::findRequest(DynInstPtr inst) } ResReqPtr -CacheUnit::findSplitRequest(DynInstPtr inst, int idx) +CacheUnit::findRequest(DynInstPtr inst, int idx) { map<int, ResReqPtr>::iterator map_it = reqMap.begin(); map<int, ResReqPtr>::iterator map_end = reqMap.end(); @@ -915,7 +915,7 @@ CacheUnit::processCacheCompletion(PacketPtr pkt) // Cast to correct request type CacheRequest *cache_req = dynamic_cast<CacheReqPtr>( - findSplitRequest(cache_pkt->cacheReq->getInst(), cache_pkt->instIdx)); + findRequest(cache_pkt->cacheReq->getInst(), cache_pkt->instIdx)); if (!cache_req) { panic("[tid:%u]: [sn:%i]: Can't find slot for cache access to " |