summaryrefslogtreecommitdiff
path: root/src/mem/ruby/buffers
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-08-29 05:10:23 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-08-29 05:10:23 -0500
commit1bbca50491202c6527743fcca9030d55b4ddc06b (patch)
tree8fb0e71ae58833d3a9b528ab2d6769245f09901a /src/mem/ruby/buffers
parenta08cc94936d4960f837731537b454a63657efd04 (diff)
downloadgem5-1bbca50491202c6527743fcca9030d55b4ddc06b.tar.xz
Ruby: Remove some unused code
Diffstat (limited to 'src/mem/ruby/buffers')
-rw-r--r--src/mem/ruby/buffers/MessageBuffer.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mem/ruby/buffers/MessageBuffer.cc b/src/mem/ruby/buffers/MessageBuffer.cc
index 9bb166e05..cab98cee9 100644
--- a/src/mem/ruby/buffers/MessageBuffer.cc
+++ b/src/mem/ruby/buffers/MessageBuffer.cc
@@ -161,16 +161,12 @@ MessageBuffer::enqueue(MsgPtr message, Time delta)
}
m_msgs_this_cycle++;
- // assert(m_max_size == -1 || m_size <= m_max_size + 1);
- // the plus one is a kluge because of a SLICC issue
-
if (!m_ordering_set) {
panic("Ordering property of %s has not been set", m_name);
}
// Calculate the arrival time of the message, that is, the first
// cycle the message can be dequeued.
- //printf ("delta %i \n", delta);
assert(delta>0);
Time current_time = g_eventQueue_ptr->getTime();
Time arrival_time = 0;