O3: Fix GCC 4.2.4 complaint

This commit is contained in:
Ali Saidi 2011-02-13 16:51:15 -05:00
parent 0cede15d6c
commit 7c763b34c9

View file

@ -749,7 +749,7 @@ InstructionQueue<Impl>::scheduleReadyInsts()
DynInstPtr deferred_mem_inst; DynInstPtr deferred_mem_inst;
int total_deferred_mem_issued = 0; int total_deferred_mem_issued = 0;
while (total_deferred_mem_issued < totalWidth && while (total_deferred_mem_issued < totalWidth &&
(deferred_mem_inst = getDeferredMemInstToExecute()) != NULL) { (deferred_mem_inst = getDeferredMemInstToExecute()) != 0) {
issueToExecuteQueue->access(0)->size++; issueToExecuteQueue->access(0)->size++;
instsToExecute.push_back(deferred_mem_inst); instsToExecute.push_back(deferred_mem_inst);
total_deferred_mem_issued++; total_deferred_mem_issued++;