summaryrefslogtreecommitdiff
path: root/src/mem/ruby/common/Set.cc
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:21 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:21 -0800
commitcfe41d0a1bc3b778995cd1b22f8d58037300143b (patch)
tree93b720fd86a6a9a79dc4dc2632ff95fd5c0fa0c3 /src/mem/ruby/common/Set.cc
parent1907e39fd2c30ead9589f0bb6995972cbd0e153f (diff)
downloadgem5-cfe41d0a1bc3b778995cd1b22f8d58037300143b.tar.xz
ruby: Removed RubySystem::getNumberOfSequencers
removed the static function RubySystem::getNumberOfSequencers and replaced it with a python config variable
Diffstat (limited to 'src/mem/ruby/common/Set.cc')
-rw-r--r--src/mem/ruby/common/Set.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/ruby/common/Set.cc b/src/mem/ruby/common/Set.cc
index 467a09186..55648043c 100644
--- a/src/mem/ruby/common/Set.cc
+++ b/src/mem/ruby/common/Set.cc
@@ -51,7 +51,8 @@
Set::Set()
{
m_p_nArray = NULL;
- setSize(RubySystem::getNumberOfSequencers());
+ m_nArrayLen = 0;
+ m_nSize = 0;
}
// copy constructor