diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-28 19:52:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-28 19:52:49 +0000 |
commit | 8d8a6bc7a36ccf517354c325aa5ca9a127776d0f (patch) | |
tree | ce515ce62b22433c4246155d27829d6a0b09daca /lib/Target/SparcV8/SparcV8TargetMachine.cpp | |
parent | a85d46eea8f7eba8be2e9724c099abda68dbb20a (diff) | |
download | external_llvm-8d8a6bc7a36ccf517354c325aa5ca9a127776d0f.zip external_llvm-8d8a6bc7a36ccf517354c325aa5ca9a127776d0f.tar.gz external_llvm-8d8a6bc7a36ccf517354c325aa5ca9a127776d0f.tar.bz2 |
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV8/SparcV8TargetMachine.cpp')
-rw-r--r-- | lib/Target/SparcV8/SparcV8TargetMachine.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/Target/SparcV8/SparcV8TargetMachine.cpp b/lib/Target/SparcV8/SparcV8TargetMachine.cpp index a8389fa..d749a7c 100644 --- a/lib/Target/SparcV8/SparcV8TargetMachine.cpp +++ b/lib/Target/SparcV8/SparcV8TargetMachine.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; // allocateSparcV8TargetMachine - Allocate and return a subclass of // TargetMachine that implements the SparcV8 backend. // -TargetMachine *allocateSparcV8TargetMachine(const Module &M, - IntrinsicLowering *IL) { +TargetMachine *llvm::allocateSparcV8TargetMachine(const Module &M, + IntrinsicLowering *IL) { return new SparcV8TargetMachine(M, IL); } @@ -57,5 +56,3 @@ void SparcV8JITInfo::addPassesToJITCompile(FunctionPassManager &PM) { PM.add(createRegisterAllocator()); PM.add(createPrologEpilogCodeInserter()); } - -} // end namespace llvm |