From: Evan Cheng Date: Wed, 3 Mar 2010 20:46:48 +0000 (+0000) Subject: TopLevelMap[] reference is a pointer. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a84f3d9a978d0cfdf0e4b5fbd1095a965a30110b;p=oota-llvm.git TopLevelMap[] reference is a pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97661 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/ScopedHashTable.h b/include/llvm/ADT/ScopedHashTable.h index f325e2b9f30..b5ca374a7dd 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) {