From: Lisa Hsu Date: Fri, 18 Mar 2011 00:08:35 +0000 (-0700) Subject: Ruby: minor bugfix, line did not adhere to some macro usage conventions. X-Git-Tag: stable_2012_02_02~474 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4de6a05229bbc42ae4b247541c823edb8d4ca76;p=gem5.git Ruby: minor bugfix, line did not adhere to some macro usage conventions. --- diff --git a/src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh b/src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh index 82c95c469..1858085cc 100644 --- a/src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh +++ b/src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh @@ -125,7 +125,7 @@ machineIDToMachineType(MachineID machID) inline NodeID L1CacheMachIDToProcessorNum(MachineID machID) { - assert(machID.type == MachineType_L1Cache); + assert(machID.type == MACHINETYPE_L1CACHE_ENUM); return machID.num; }