diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-07-04 10:43:46 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-07-04 10:43:46 -0500 |
commit | 16ac48e6a419b75e6a9e86fab9cd2fd62ef9a574 (patch) | |
tree | 3b4753b480fb2b6cb8ff35680d72990831a4be44 /src/mem/slicc/symbols | |
parent | baa3eb0de3b2b0f4a7edf35c5d165b11d1d95872 (diff) | |
download | gem5-16ac48e6a419b75e6a9e86fab9cd2fd62ef9a574.tar.xz |
ruby: drop NetworkMessage class
This patch drops the NetworkMessage class. The relevant data members and functions
have been moved to the Message class, which was the parent of NetworkMessage.
Diffstat (limited to 'src/mem/slicc/symbols')
-rw-r--r-- | src/mem/slicc/symbols/Type.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mem/slicc/symbols/Type.py b/src/mem/slicc/symbols/Type.py index 2afd9958c..e6e704000 100644 --- a/src/mem/slicc/symbols/Type.py +++ b/src/mem/slicc/symbols/Type.py @@ -61,10 +61,8 @@ class Type(Symbol): # check for interface that this Type implements if "interface" in self: interface = self["interface"] - if interface in ("Message", "NetworkMessage"): + if interface in ("Message"): self["message"] = "yes" - if interface == "NetworkMessage": - self["networkmessage"] = "yes" # FIXME - all of the following id comparisons are fragile hacks if self.ident in ("CacheMemory"): @@ -97,9 +95,7 @@ class Type(Symbol): @property def isPrimitive(self): return "primitive" in self - @property - def isNetworkMessage(self): - return "networkmessage" in self + @property def isMessage(self): return "message" in self |