OSDN Git Service

disable r101565: an assert is getting triggered. More lurking badness no doubt.
authorChris Lattner <sabre@nondot.org>
Sat, 17 Apr 2010 00:05:36 +0000 (00:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 17 Apr 2010 00:05:36 +0000 (00:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101583 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/IPA/CallGraphSCCPass.cpp

index 7b73c5d..cf4c0d2 100644 (file)
@@ -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
 }