aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PowerPC/PowerPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PowerPCTargetMachine.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/lib/Target/PowerPC/PowerPCTargetMachine.cpp
index 88b33f098e..9a9a020b64 100644
--- a/lib/Target/PowerPC/PowerPCTargetMachine.cpp
+++ b/lib/Target/PowerPC/PowerPCTargetMachine.cpp
@@ -17,14 +17,13 @@
#include "llvm/Target/TargetMachineImpls.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/Passes.h"
-
-namespace llvm {
+using namespace llvm;
// allocatePowerPCTargetMachine - Allocate and return a subclass of
// TargetMachine that implements the PowerPC backend.
//
-TargetMachine *allocatePowerPCTargetMachine(const Module &M,
- IntrinsicLowering *IL) {
+TargetMachine *llvm::allocatePowerPCTargetMachine(const Module &M,
+ IntrinsicLowering *IL) {
return new PowerPCTargetMachine(M, IL);
}
@@ -58,4 +57,3 @@ void PowerPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
PM.add(createPrologEpilogCodeInserter());
}
-} // end namespace llvm