summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
authorJavier Bueno <javier.bueno@metempsy.com>2019-05-14 11:16:43 +0200
committerJavier Bueno Hedo <javier.bueno@metempsy.com>2019-05-14 12:47:18 +0000
commitf0a53b8024836b3916d78453f37f9068781232a8 (patch)
tree3dfae1031958671de66258078c777ed55c23f438 /configs/common
parent27378ecbe40ea037c30f6790bfdc424ed64442b4 (diff)
downloadgem5-f0a53b8024836b3916d78453f37f9068781232a8.tar.xz
configs: Fix duplicate branchPred reference in Simulation.py
Change-Id: I5ef5fb7ebc5fc2a4776adc43643c4df27efc341c Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18769 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/Simulation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py
index 078ec0f22..56107c1e6 100644
--- a/configs/common/Simulation.py
+++ b/configs/common/Simulation.py
@@ -486,7 +486,7 @@ def run(options, root, testsys, cpu_class):
if options.indirect_bp_type:
IndirectBPClass = \
BPConfig.get_indirect(options.indirect_bp_type)
- switch_cpus[i].branchPred.branchPred.indirectBranchPred = \
+ switch_cpus[i].branchPred.indirectBranchPred = \
IndirectBPClass()
# If elastic tracing is enabled attach the elastic trace probe