configs: Fix duplicate branchPred reference in Simulation.py
authorJavier Bueno <javier.bueno@metempsy.com>
Tue, 14 May 2019 09:16:43 +0000 (11:16 +0200)
committerJavier Bueno Hedo <javier.bueno@metempsy.com>
Tue, 14 May 2019 12:47:18 +0000 (12:47 +0000)
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>

configs/common/Simulation.py

index 078ec0f2232e31618d3995f290b7280b817cd24e..56107c1e676f7981e8264efe363dcc06a05472a9 100644 (file)
@@ -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