summaryrefslogtreecommitdiff
path: root/cpu/beta_cpu/rob_impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/beta_cpu/rob_impl.hh')
-rw-r--r--cpu/beta_cpu/rob_impl.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpu/beta_cpu/rob_impl.hh b/cpu/beta_cpu/rob_impl.hh
index 862008429..86c4e2db1 100644
--- a/cpu/beta_cpu/rob_impl.hh
+++ b/cpu/beta_cpu/rob_impl.hh
@@ -139,9 +139,7 @@ bool
ROB<Impl>::isHeadReady()
{
if (numInstsInROB != 0) {
- DynInstPtr head_inst = cpu->instList.front();
-
- return head_inst->readyToCommit();
+ return cpu->instList.front()->readyToCommit();
}
return false;