mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Put Target definitions inside Target specific header, and llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,11 +7,12 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "ARM.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Target/TargetRegistry.h"
|
||||
using namespace llvm;
|
||||
|
||||
Target TheARMTarget;
|
||||
Target llvm::TheARMTarget;
|
||||
|
||||
static unsigned ARM_JITMatchQuality() {
|
||||
#if defined(__arm__)
|
||||
@@ -47,7 +48,7 @@ static unsigned ARM_ModuleMatchQuality(const Module &M) {
|
||||
return ARM_JITMatchQuality()/2;
|
||||
}
|
||||
|
||||
Target TheThumbTarget;
|
||||
Target llvm::TheThumbTarget;
|
||||
|
||||
static unsigned Thumb_JITMatchQuality() {
|
||||
#if defined(__thumb__)
|
||||
|
Reference in New Issue
Block a user