OSDN Git Service

revert the addition of Preverves(CallGraph), per Duncan's comments
authorNuno Lopes <nunoplopes@sapo.pt>
Wed, 1 Oct 2008 09:13:40 +0000 (09:13 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Wed, 1 Oct 2008 09:13:40 +0000 (09:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56917 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/Internalize.cpp

index 4a30e14..47fe5fe 100644 (file)
@@ -14,7 +14,6 @@
 //===----------------------------------------------------------------------===//
 
 #define DEBUG_TYPE "internalize"
-#include "llvm/Analysis/CallGraph.h"
 #include "llvm/Transforms/IPO.h"
 #include "llvm/Pass.h"
 #include "llvm/Module.h"
@@ -56,7 +55,6 @@ namespace {
 
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
       AU.setPreservesCFG();
-      AU.addPreserved<CallGraph>();
     }
   };
 } // end anonymous namespace