From c4de6a05229bbc42ae4b247541c823edb8d4ca76 Mon Sep 17 00:00:00 2001 From: Lisa Hsu Date: Thu, 17 Mar 2011 17:08:35 -0700 Subject: [PATCH] Ruby: minor bugfix, line did not adhere to some macro usage conventions. --- src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2