summaryrefslogtreecommitdiff
path: root/src/sim/sim_events.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-07-10 21:35:42 -0700
committerNathan Binkert <nate@binkert.org>2008-07-10 21:35:42 -0700
commit93517dd90cf232b779beeebb162984d543e7e33c (patch)
tree256358f26bec2bb8183c6d5a029f09bac5866cee /src/sim/sim_events.cc
parent7a83c50a597f73f302ab5fcf372faa35c56a1b06 (diff)
downloadgem5-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.cc2
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;
}