summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2011-02-13 16:51:15 -0500
committerAli Saidi <saidi@eecs.umich.edu>2011-02-13 16:51:15 -0500
commit7c763b34c9fc69a4e13a8f74df0f981fdf71f221 (patch)
tree2c2c2f84b43cec648547ceb9e9ada12d9823500c /src/cpu
parent0cede15d6c5213d83e4cd143014321b2ee7ec5eb (diff)
downloadgem5-7c763b34c9fc69a4e13a8f74df0f981fdf71f221.tar.xz
O3: Fix GCC 4.2.4 complaint
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/o3/inst_queue_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/inst_queue_impl.hh b/src/cpu/o3/inst_queue_impl.hh
index d6da4b818..aa21a0edc 100644
--- a/src/cpu/o3/inst_queue_impl.hh
+++ b/src/cpu/o3/inst_queue_impl.hh
@@ -749,7 +749,7 @@ InstructionQueue<Impl>::scheduleReadyInsts()
DynInstPtr deferred_mem_inst;
int total_deferred_mem_issued = 0;
while (total_deferred_mem_issued < totalWidth &&
- (deferred_mem_inst = getDeferredMemInstToExecute()) != NULL) {
+ (deferred_mem_inst = getDeferredMemInstToExecute()) != 0) {
issueToExecuteQueue->access(0)->size++;
instsToExecute.push_back(deferred_mem_inst);
total_deferred_mem_issued++;