mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user