projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c3efb4
)
ruby: config bugfix
author
Derek Hower
<drh5@cs.wisc.edu>
Thu, 13 Aug 2009 15:37:09 +0000
(10:37 -0500)
committer
Derek Hower
<drh5@cs.wisc.edu>
Thu, 13 Aug 2009 15:37:09 +0000
(10:37 -0500)
src/mem/ruby/config/cfg.rb
patch
|
blob
|
history
diff --git
a/src/mem/ruby/config/cfg.rb
b/src/mem/ruby/config/cfg.rb
index 82f0d27766488a8162834e2b26bcdefdfc1b1902..4142bc964879e5d249a6d59c78ce4be981a7b0b2 100644
(file)
--- a/
src/mem/ruby/config/cfg.rb
+++ b/
src/mem/ruby/config/cfg.rb
@@
-309,7
+309,7
@@
class CacheController < NetPort
cache.controller = self
}
- if !@@total_cache_controllers.
has_
key?(mach_type)
+ if !@@total_cache_controllers.key?(mach_type)
@@total_cache_controllers[mach_type] = 0
end
@version = @@total_cache_controllers[mach_type]