aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-28 19:53:18 +0000
committerChris Lattner <sabre@nondot.org>2004-02-28 19:53:18 +0000
commit9a89f37dc7b72ab14a752a65f7e271312f876e9d (patch)
treea6c0a6a972c688afbbdce05cb88c304b75e8b146 /lib/Target/PowerPC/PowerPCTargetMachine.cpp
parent8d8a6bc7a36ccf517354c325aa5ca9a127776d0f (diff)
fine grainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11959 91177308-0d34-0410-b5e6-96231b3b80d8
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