diff options
Diffstat (limited to 'src/cpu/inorder/resources/execution_unit.cc')
-rw-r--r-- | src/cpu/inorder/resources/execution_unit.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/inorder/resources/execution_unit.cc b/src/cpu/inorder/resources/execution_unit.cc index d7151add1..6b89c8230 100644 --- a/src/cpu/inorder/resources/execution_unit.cc +++ b/src/cpu/inorder/resources/execution_unit.cc @@ -88,9 +88,10 @@ ExecutionUnit::execute(int slot_num) ResourceRequest* exec_req = reqs[slot_num]; DynInstPtr inst = reqs[slot_num]->inst; Fault fault = NoFault; - InstSeqNum seq_num = inst->seqNum; Tick cur_tick = curTick(); - +#if TRACING_ON + InstSeqNum seq_num = inst->seqNum; +#endif if (cur_tick == serializeTick) { DPRINTF(InOrderExecute, "Can not execute [tid:%i][sn:%i][PC:%s] %s. " "All instructions are being serialized this cycle\n", |