Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/48712 )

Change subject: scons: Eliminate the "Arch" enum.
......................................................................

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
---
M src/SConscript
1 file changed, 0 insertions(+), 11 deletions(-)



diff --git a/src/SConscript b/src/SConscript
index d3a3c58..295a3f9 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -750,17 +750,6 @@
 #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)}}
 #define THE_ISA_STR "${{target_isa}}"

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/48712
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I476d7c1ef1bc1e34cbf904fc33c6735038e999c9
Gerrit-Change-Number: 48712
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to