summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh2
1 files changed, 1 insertions, 1 deletions
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;
}