ruby: message buffer: refactor code
authorNilay Vaish <nilay@cs.wisc.edu>
Mon, 24 Feb 2014 01:16:15 +0000 (19:16 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Mon, 24 Feb 2014 01:16:15 +0000 (19:16 -0600)
commit7572ab71b56b01e3ee7742dd385af81b49bd753d
treeb354d130838382c92439fe53d6e15c7bb55eea17
parentcde20fd476a2563bac54bb135fad0dd5e03112db
ruby: message buffer: refactor code
Code in two of the functions was exactly the same.  This patch moves
this code to a new function which is called from the two functions
mentioned initially.
src/mem/ruby/buffers/MessageBuffer.cc
src/mem/ruby/buffers/MessageBuffer.hh
src/mem/ruby/slicc_interface/AbstractController.hh