From: Javier Bueno Date: Tue, 14 May 2019 09:16:43 +0000 (+0200) Subject: configs: Fix duplicate branchPred reference in Simulation.py X-Git-Tag: v19.0.0.0~852 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0a53b8024836b3916d78453f37f9068781232a8;p=gem5.git 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 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- 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