From 269258831e47d2c15384012171a94a3c067deef5 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 28 Jul 2021 02:36:52 -0700 Subject: [PATCH] scons: Eliminate the "Arch" enum. This is not the one from the object file loader, it's another one which was only used by the System class. That use has been eliminated, so this enum can be as well. Change-Id: I476d7c1ef1bc1e34cbf904fc33c6735038e999c9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48712 Maintainer: Gabe Black Tested-by: kokoro Reviewed-by: Hoa Nguyen --- src/SConscript | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/SConscript b/src/SConscript index 31c82c191d..217df2c071 100644 --- a/src/SConscript +++ b/src/SConscript @@ -692,17 +692,6 @@ def makeTheISA(source, target, env): #ifndef __CONFIG_THE_ISA_HH__ #define __CONFIG_THE_ISA_HH__ -''') - - # create an enum for any run-time determination of the ISA, we - # reuse the same name as the namespaces - code('enum class Arch {') - for isa in isas: - code(' $0,', namespace(isa)) - code('};') - - code(''' - #define IS_NULL_ISA ${{is_null_isa}} #define TheISA ${{namespace(target_isa)}}