mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11958 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a85d46eea8
commit
8d8a6bc7a3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user