diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-03-02 09:16:50 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-03-02 09:16:50 -0500 |
commit | adc419a13a698414a0623ce286cafebcdf2f272e (patch) | |
tree | c23df45d74fc761927fe7adc20a2b32ef55855fa /tests/quick/fs | |
parent | b129d7ce00a2cb6f0bbdcee90f0202cda8449117 (diff) | |
download | gem5-adc419a13a698414a0623ce286cafebcdf2f272e.tar.xz |
Ruby: Rename RubyPort::sendTiming to avoid overriding base class
This patch renames the sendTiming member function in the RubyPort to
avoid inadvertently hiding Port::sendTiming (discovered through some
rather painful debugging). The RubyPort does, in fact, rely on the
functionality of the queued port and the implementation merely
schedules a send the next cycle. The new name for the member function
is sendNextCycle to better reflect this behaviour.
In the unlikely event that we ever shift to using C++11 the member
functions in Port should have a "final" identifier to prevent any
overriding in derived classes.
Diffstat (limited to 'tests/quick/fs')
0 files changed, 0 insertions, 0 deletions