summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAG.h
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-02-18 04:58:10 +0000
committerCameron Zwarich <zwarich@apple.com>2011-02-18 04:58:10 +0000
commit1646953538d5faf7baf49e16bd0590f822c231de (patch)
tree314293b4d7b56f57f31cbd9b078ea58d2d5e1a04 /include/llvm/CodeGen/SelectionDAG.h
parent78f7a25f9826ba66610b5bca83ebea71793abf59 (diff)
downloadllvm-1646953538d5faf7baf49e16bd0590f822c231de.tar.gz
llvm-1646953538d5faf7baf49e16bd0590f822c231de.tar.bz2
llvm-1646953538d5faf7baf49e16bd0590f822c231de.tar.xz
Roll out r125794 to help diagnose the llvm-gcc-i386-linux-selfhost failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index c9de95bebd..f708e2141e 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -100,6 +100,10 @@ public:
return DbgValMap[Node];
}
+ void removeSDDbgValues(const SDNode *Node) {
+ DbgValMap.erase(Node);
+ }
+
typedef SmallVector<SDDbgValue*,32>::iterator DbgIterator;
DbgIterator DbgBegin() { return DbgValues.begin(); }
DbgIterator DbgEnd() { return DbgValues.end(); }