summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure
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
commit14903e014844a98922be635e29d6130b66831ead (patch)
tree0de988d33802e743387bf55e7b164cd0673b7430 /llvm/lib/Analysis/DataStructure
parent39b0644b428aff695e9be60ed79cb3cd54584fec (diff)
downloadbcm5719-llvm-14903e014844a98922be635e29d6130b66831ead.tar.gz
bcm5719-llvm-14903e014844a98922be635e29d6130b66831ead.zip
Get lib/Analysis/DataStructure to compile with VC++
llvm-svn: 19412
Diffstat (limited to 'llvm/lib/Analysis/DataStructure')
-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