aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-03-03 20:46:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-03-03 20:46:48 +0000
commita84f3d9a978d0cfdf0e4b5fbd1095a965a30110b (patch)
tree4290385002608d1dc7b37407644b224dd8bc9b7f /include/llvm/ADT
parentaedc3ec1e268735b1b7bbd430f5ac266b145c6bf (diff)
downloadexternal_llvm-a84f3d9a978d0cfdf0e4b5fbd1095a965a30110b.zip
external_llvm-a84f3d9a978d0cfdf0e4b5fbd1095a965a30110b.tar.gz
external_llvm-a84f3d9a978d0cfdf0e4b5fbd1095a965a30110b.tar.bz2
TopLevelMap[] reference is a pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r--include/llvm/ADT/ScopedHashTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/ScopedHashTable.h b/include/llvm/ADT/ScopedHashTable.h
index f325e2b..b5ca374 100644
--- a/include/llvm/ADT/ScopedHashTable.h
+++ b/include/llvm/ADT/ScopedHashTable.h
@@ -139,7 +139,7 @@ public:
}
V lookup(const K &Key) {
- return TopLevelMap[Key].getValue();
+ return TopLevelMap[Key]->getValue();
}
void insert(const K &Key, const V &Val) {