summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp b/llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
index 51485dab891..9a65c488bff 100644
--- a/llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
+++ b/llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
@@ -49,7 +49,8 @@ namespace llvm {
/// not copied over from one table to another since it is no longer useful.
///--------------------------------------------------------------------------
-struct ModRefTable {
+class ModRefTable {
+public:
typedef hash_map<Instruction*, ModRefInfo> ModRefMap;
typedef ModRefMap::const_iterator const_map_iterator;
typedef ModRefMap:: iterator map_iterator;
OpenPOWER on IntegriCloud