ruby: Change PerfectCacheMemory::lookup to return pointer
authorJoel Hestness <jthestness@gmail.com>
Fri, 14 Aug 2015 05:19:39 +0000 (00:19 -0500)
committerJoel Hestness <jthestness@gmail.com>
Fri, 14 Aug 2015 05:19:39 +0000 (00:19 -0500)
commitbf06911b3f6d992dc78489d66410f4580a17db7b
tree74799214cc889c3531d263543af4d144d5a3bf9c
parent9567c839fecfdb29a59f9da50cf706fcb22a2bb1
ruby: Change PerfectCacheMemory::lookup to return pointer

CacheMemory and DirectoryMemory lookup functions return pointers to entries
stored in the memory. Bring PerfectCacheMemory in line with this convention,
and clean up SLICC code generation that was in place solely to handle
references like that which was returned by PerfectCacheMemory::lookup.
src/mem/protocol/MOESI_CMP_directory-L2cache.sm
src/mem/protocol/MOESI_CMP_token-L2cache.sm
src/mem/ruby/structures/PerfectCacheMemory.hh
src/mem/slicc/ast/MethodCallExprAST.py