Fix typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2010-03-25 06:26:14 +00:00
parent d1baa252c4
commit d4c6c3a7c3

View File

@ -65,7 +65,7 @@ private:
/// DbgValMap. /// DbgValMap.
class SDDbgInfo { class SDDbgInfo {
SmallVector<SDDbgValue*, 32> DbgValues; SmallVector<SDDbgValue*, 32> DbgValues;
DenseMap<const SDNode*, SmallVector<SDDbgValue*, 2> > DbgVblMap; DenseMap<const SDNode*, SmallVector<SDDbgValue*, 2> > DbgValMap;
void operator=(const SDDbgInfo&); // Do not implement. void operator=(const SDDbgInfo&); // Do not implement.
SDDbgInfo(const SDDbgInfo&); // Do not implement. SDDbgInfo(const SDDbgInfo&); // Do not implement.
@ -74,12 +74,12 @@ public:
void add(SDDbgValue *V, const SDNode *Node = 0) { void add(SDDbgValue *V, const SDNode *Node = 0) {
if (Node) if (Node)
DbgVblMap[Node].push_back(V); DbgValMap[Node].push_back(V);
DbgValues.push_back(V); DbgValues.push_back(V);
} }
void clear() { void clear() {
DbgVblMap.clear(); DbgValMap.clear();
DbgValues.clear(); DbgValues.clear();
} }
@ -88,7 +88,7 @@ public:
} }
SmallVector<SDDbgValue*,2> &getSDDbgValues(const SDNode *Node) { SmallVector<SDDbgValue*,2> &getSDDbgValues(const SDNode *Node) {
return DbgVblMap[Node]; return DbgValMap[Node];
} }
typedef SmallVector<SDDbgValue*,32>::iterator DbgIterator; typedef SmallVector<SDDbgValue*,32>::iterator DbgIterator;