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:
Daniel Dunbar
2009-07-18 23:03:22 +00:00
parent 8ad2f98739
commit 4cb1e13769
55 changed files with 79 additions and 57 deletions

View File

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