Put Target definitions inside Target specific header, and llvm namespace.
[oota-llvm.git] / lib / Target / PowerPC / TargetInfo / PowerPCTargetInfo.cpp
index 0502e37f3fec200efea62c3ee71a0cc5f28b9920..ca1f490b00180013e07b7257e44410e4f3de8f1c 100644 (file)
@@ -7,11 +7,12 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "PPC.h"
 #include "llvm/Module.h"
 #include "llvm/Target/TargetRegistry.h"
 using namespace llvm;
 
-Target ThePPC32Target;
+Target llvm::ThePPC32Target;
 
 static unsigned PPC32_JITMatchQuality() {
 #if defined(__POWERPC__) || defined (__ppc__) || defined(_POWER) || defined(__PPC__)
@@ -47,7 +48,7 @@ static unsigned PPC32_ModuleMatchQuality(const Module &M) {
   return PPC32_JITMatchQuality()/2;
 }
 
-Target ThePPC64Target;
+Target llvm::ThePPC64Target;
 
 static unsigned PPC64_JITMatchQuality() {
 #if defined(__POWERPC__) || defined (__ppc__) || defined(_POWER) || defined(__PPC__)