summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-02-23 19:16:15 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2014-02-23 19:16:15 -0600
commit82378f7301552683a62c61427faa338ccf9281f6 (patch)
treec2237e5f2ca8cd13fde0605104086e8233fc22fc /src/mem/ruby
parent13ad07601b3d7cdc38f85ba5960b472f3ab29fa3 (diff)
downloadgem5-82378f7301552683a62c61427faa338ccf9281f6.tar.xz
ruby: slicc: remove unused COPY_HEAD functionality
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/buffers/MessageBuffer.cc8
-rw-r--r--src/mem/ruby/buffers/MessageBuffer.hh1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mem/ruby/buffers/MessageBuffer.cc b/src/mem/ruby/buffers/MessageBuffer.cc
index 2b4c235c6..9475f1514 100644
--- a/src/mem/ruby/buffers/MessageBuffer.cc
+++ b/src/mem/ruby/buffers/MessageBuffer.cc
@@ -115,14 +115,6 @@ MessageBuffer::areNSlotsAvailable(unsigned int n)
}
}
-const MsgPtr
-MessageBuffer::getMsgPtrCopy() const
-{
- assert(isReady());
-
- return m_prio_heap.front().m_msgptr->clone();
-}
-
const Message*
MessageBuffer::peek() const
{
diff --git a/src/mem/ruby/buffers/MessageBuffer.hh b/src/mem/ruby/buffers/MessageBuffer.hh
index 45870e608..b1a9f0004 100644
--- a/src/mem/ruby/buffers/MessageBuffer.hh
+++ b/src/mem/ruby/buffers/MessageBuffer.hh
@@ -107,7 +107,6 @@ class MessageBuffer
//! Function for extracting the message at the head of the
//! message queue. The function assumes that the queue is nonempty.
const Message* peek() const;
- const MsgPtr getMsgPtrCopy() const;
const MsgPtr&
peekMsgPtr() const