Finegrainify namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11958 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-28 19:52:49 +00:00
parent a85d46eea8
commit 8d8a6bc7a3
2 changed files with 6 additions and 12 deletions

View File

@ -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

View File

@ -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