diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-09 06:02:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-09 06:02:20 +0000 |
commit | d7456026629fc1760a45e6e955e9834246493147 (patch) | |
tree | 4439882743f35a55edc3808366599b8d94d763dc /lib/Transforms/Scalar/PiNodeInsertion.cpp | |
parent | 559d519549072fc7c3ca3ee5dae78733096f22c0 (diff) |
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10725 91177308-0d34-0410-b5e6-96231b3b80d8
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 |