Finegrainify namespacification

llvm-svn: 10270
This commit is contained in:
Chris Lattner 2003-11-30 06:13:25 +00:00
parent 121d04d1ae
commit d8218923ae
1 changed files with 2 additions and 4 deletions

View File

@ -14,8 +14,7 @@
#include "X86.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
namespace llvm {
using namespace llvm;
namespace {
struct PH : public MachineFunctionPass {
@ -28,7 +27,7 @@ namespace {
};
}
FunctionPass *createX86PeepholeOptimizerPass() { return new PH(); }
FunctionPass *llvm::createX86PeepholeOptimizerPass() { return new PH(); }
bool PH::runOnMachineFunction(MachineFunction &MF) {
bool Changed = false;
@ -134,4 +133,3 @@ bool PH::PeepholeOptimize(MachineBasicBlock &MBB,
}
}
} // End llvm namespace