summaryrefslogtreecommitdiff
path: root/src/cpu/pred/2bit_local.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/pred/2bit_local.hh')
-rw-r--r--src/cpu/pred/2bit_local.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cpu/pred/2bit_local.hh b/src/cpu/pred/2bit_local.hh
index 23683cc67..e008c6232 100644
--- a/src/cpu/pred/2bit_local.hh
+++ b/src/cpu/pred/2bit_local.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 ARM Limited
+ * Copyright (c) 2011, 2014 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -92,6 +92,9 @@ class LocalBP : public BPredUnit
*/
void update(Addr branch_addr, bool taken, void *bp_history, bool squashed);
+ void retireSquashed(void *bp_history)
+ { assert(bp_history == NULL); }
+
void squash(void *bp_history)
{ assert(bp_history == NULL); }