mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d1baa252c4
commit
d4c6c3a7c3
@ -65,7 +65,7 @@ private:
|
||||
/// DbgValMap.
|
||||
class SDDbgInfo {
|
||||
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.
|
||||
SDDbgInfo(const SDDbgInfo&); // Do not implement.
|
||||
@ -74,12 +74,12 @@ public:
|
||||
|
||||
void add(SDDbgValue *V, const SDNode *Node = 0) {
|
||||
if (Node)
|
||||
DbgVblMap[Node].push_back(V);
|
||||
DbgValMap[Node].push_back(V);
|
||||
DbgValues.push_back(V);
|
||||
}
|
||||
|
||||
void clear() {
|
||||
DbgVblMap.clear();
|
||||
DbgValMap.clear();
|
||||
DbgValues.clear();
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ public:
|
||||
}
|
||||
|
||||
SmallVector<SDDbgValue*,2> &getSDDbgValues(const SDNode *Node) {
|
||||
return DbgVblMap[Node];
|
||||
return DbgValMap[Node];
|
||||
}
|
||||
|
||||
typedef SmallVector<SDDbgValue*,32>::iterator DbgIterator;
|
||||
|
Loading…
x
Reference in New Issue
Block a user