From 2cbe7c705be1cce44c5581fa58569cd95cc0f62d Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 1 Sep 2014 16:55:50 -0500 Subject: ruby: remove typedef of Index as int64 The Index type defined as typedef int64 does not really provide any help since in most places we use primitive types instead of Index. Also, the name Index is very generic that it does not merit being used as a typename. --- src/mem/ruby/structures/DirectoryMemory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mem/ruby/structures/DirectoryMemory.cc') diff --git a/src/mem/ruby/structures/DirectoryMemory.cc b/src/mem/ruby/structures/DirectoryMemory.cc index db165460c..2f972674f 100644 --- a/src/mem/ruby/structures/DirectoryMemory.cc +++ b/src/mem/ruby/structures/DirectoryMemory.cc @@ -171,7 +171,7 @@ DirectoryMemory::invalidateBlock(PhysAddress address) else { assert(isPresent(address)); - Index index = address.memoryModuleIndex(); + int64 index = address.memoryModuleIndex(); if (index < 0 || index > m_size) { ERROR_MSG("Directory Memory Assertion: " -- cgit v1.2.3