diff options
author | Nathan Binkert <nate@binkert.org> | 2008-07-10 21:35:42 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-07-10 21:35:42 -0700 |
commit | 93517dd90cf232b779beeebb162984d543e7e33c (patch) | |
tree | 256358f26bec2bb8183c6d5a029f09bac5866cee /src/sim/sim_events.cc | |
parent | 7a83c50a597f73f302ab5fcf372faa35c56a1b06 (diff) | |
download | gem5-93517dd90cf232b779beeebb162984d543e7e33c.tar.xz |
eventq: Clean up the Event class so that it uses fewer bytes. This
will hopefullly allow it to fit in a cache line.
Diffstat (limited to 'src/sim/sim_events.cc')
-rw-r--r-- | src/sim/sim_events.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/sim_events.cc b/src/sim/sim_events.cc index 09087ef84..5fe59286c 100644 --- a/src/sim/sim_events.cc +++ b/src/sim/sim_events.cc @@ -49,7 +49,7 @@ SimLoopExitEvent::process() // if this got scheduled on a different queue (e.g. the committed // instruction queue) then make a corresponding event on the main // queue. - if (theQueue() != &mainEventQueue) { + if (queue() != &mainEventQueue) { exitSimLoop(cause, code); delete this; } |