aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-09 04:18:28 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-09 04:18:28 +0000
commit2611dd4448e1f0ddbff630531a0047360228d717 (patch)
treef8202c140037f97c0d614727075b86d768a6049b /lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
parent12f82b7e37ae9133819a215225c13595fbcba9e2 (diff)
Get lib/Analysis/DataStructure to compile with VC++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/MemoryDepAnalysis.cpp')
-rw-r--r--lib/Analysis/DataStructure/MemoryDepAnalysis.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp b/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
index 51485dab89..9a65c488bf 100644
--- a/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
+++ b/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;