projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4df5d64
)
Cache: Fix for OS X 10.5 compiling.
author
Ali Saidi
<saidi@eecs.umich.edu>
Sun, 4 Nov 2007 23:57:36 +0000
(18:57 -0500)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Sun, 4 Nov 2007 23:57:36 +0000
(18:57 -0500)
--HG--
extra : convert_revision :
ba3c33ed524367280eefc096177d767168ac2cf6
src/mem/cache/tags/iic.cc
patch
|
blob
|
history
diff --git
a/src/mem/cache/tags/iic.cc
b/src/mem/cache/tags/iic.cc
index 2f95cdb0f05bdd7aef1ceccb0ba462132ce7c01c..20babe6bb305d60134fcf3f9dda37988a60c733a 100644
(file)
--- a/
src/mem/cache/tags/iic.cc
+++ b/
src/mem/cache/tags/iic.cc
@@
-233,7
+233,7
@@
IIC::findBlock(Addr addr, int &lat)
unsigned set = hash(addr);
int set_lat;
- unsigned long chain_ptr;
+ unsigned long chain_ptr
= tagNull
;
if (PROFILE_IIC)
setAccess.sample(set);
@@
-291,7
+291,7
@@
IIC::findBlock(Addr addr) const
Addr tag = extractTag(addr);
unsigned set = hash(addr);
- unsigned long chain_ptr;
+ unsigned long chain_ptr
= tagNull
;
IICTag *tag_ptr = sets[set].findTag(tag, chain_ptr);
if (tag_ptr == NULL && chain_ptr != tagNull) {