aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/AsmPrinter
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-18 23:03:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-18 23:03:22 +0000
commit4cb1e13769856716261a4d315f8202bd918502c3 (patch)
tree37be097eff658bad62348fef9c360a801f6303f3 /lib/Target/X86/AsmPrinter
parent8ad2f9873939b1815bd4f788969ca210df42a8d4 (diff)
downloadexternal_llvm-4cb1e13769856716261a4d315f8202bd918502c3.zip
external_llvm-4cb1e13769856716261a4d315f8202bd918502c3.tar.gz
external_llvm-4cb1e13769856716261a4d315f8202bd918502c3.tar.bz2
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
Diffstat (limited to 'lib/Target/X86/AsmPrinter')
-rw-r--r--lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
index adb2428..b6caf30 100644
--- a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
+++ b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
@@ -14,6 +14,7 @@
//
//===----------------------------------------------------------------------===//
+#include "X86.h"
#include "X86ATTAsmPrinter.h"
#include "X86IntelAsmPrinter.h"
#include "X86Subtarget.h"
@@ -36,9 +37,6 @@ FunctionPass *llvm::createX86CodePrinterPass(formatted_raw_ostream &o,
// Force static initialization.
extern "C" void LLVMInitializeX86AsmPrinter() {
- extern Target TheX86_32Target;
TargetRegistry::RegisterAsmPrinter(TheX86_32Target, createX86CodePrinterPass);
-
- extern Target TheX86_64Target;
TargetRegistry::RegisterAsmPrinter(TheX86_64Target, createX86CodePrinterPass);
}