summaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/CallGraphSCCPass.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-17 00:05:36 +0000
committerChris Lattner <sabre@nondot.org>2010-04-17 00:05:36 +0000
commit7e3e3252a187d10df89701fec292ef159362880e (patch)
treeffe805b31d7b7e9f6c3137210b27ba500f742bad /lib/Analysis/IPA/CallGraphSCCPass.cpp
parent9484689f14b486cbbcbb4d267126f0978e49afb5 (diff)
downloadllvm-7e3e3252a187d10df89701fec292ef159362880e.tar.gz
llvm-7e3e3252a187d10df89701fec292ef159362880e.tar.bz2
llvm-7e3e3252a187d10df89701fec292ef159362880e.tar.xz
disable r101565: an assert is getting triggered. More lurking badness no doubt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/CallGraphSCCPass.cpp')
-rw-r--r--lib/Analysis/IPA/CallGraphSCCPass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp
index 7b73c5dffc..cf4c0d2549 100644
--- a/lib/Analysis/IPA/CallGraphSCCPass.cpp
+++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp
@@ -420,8 +420,10 @@ void CallGraphSCC::ReplaceNode(CallGraphNode *Old, CallGraphNode *New) {
// Update the active scc_iterator so that it doesn't contain dangling
// pointers to the old CallGraphNode.
+#if 0
scc_iterator<CallGraph*> *CGI = (scc_iterator<CallGraph*>*)Context;
CGI->ReplaceNode(Old, New);
+#endif
}