diff options
Diffstat (limited to 'lib/Transforms/Scalar/PiNodeInsertion.cpp')
-rw-r--r-- | lib/Transforms/Scalar/PiNodeInsertion.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/Transforms/Scalar/PiNodeInsertion.cpp b/lib/Transforms/Scalar/PiNodeInsertion.cpp index 89ec20e069..d8fd554de4 100644 --- a/lib/Transforms/Scalar/PiNodeInsertion.cpp +++ b/lib/Transforms/Scalar/PiNodeInsertion.cpp @@ -41,8 +41,7 @@ #include "llvm/iPHINode.h" #include "llvm/Support/CFG.h" #include "Support/Statistic.h" - -namespace llvm { +using namespace llvm; namespace { Statistic<> NumInserted("pinodes", "Number of Pi nodes inserted"); @@ -66,7 +65,7 @@ namespace { RegisterOpt<PiNodeInserter> X("pinodes", "Pi Node Insertion"); } -Pass *createPiNodeInsertionPass() { return new PiNodeInserter(); } +Pass *llvm::createPiNodeInsertionPass() { return new PiNodeInserter(); } bool PiNodeInserter::runOnFunction(Function &F) { @@ -183,6 +182,3 @@ bool PiNodeInserter::insertPiNodeFor(Value *V, BasicBlock *Succ, Value *Rep) { ++NumInserted; return true; } - - -} // End llvm namespace |