diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-09-07 22:06:40 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-09-07 22:06:40 +0000 |
commit | a0f3d17daac73c9c71aad497b298cbe82848f726 (patch) | |
tree | 66926558c3c809eb673cc06c4bd7a2cc9d0cec7a /lib/Target/X86/X86TargetMachine.h | |
parent | 8e8de8f7765a08ab3aa4f48b302cf19ccb9740e2 (diff) | |
download | llvm-a0f3d17daac73c9c71aad497b298cbe82848f726.tar.gz llvm-a0f3d17daac73c9c71aad497b298cbe82848f726.tar.bz2 llvm-a0f3d17daac73c9c71aad497b298cbe82848f726.tar.xz |
Make target asm info a property of the target machine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.h')
-rw-r--r-- | lib/Target/X86/X86TargetMachine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetMachine.h b/lib/Target/X86/X86TargetMachine.h index 9b50c7e408..0bbef0582f 100644 --- a/lib/Target/X86/X86TargetMachine.h +++ b/lib/Target/X86/X86TargetMachine.h @@ -21,6 +21,7 @@ #include "X86InstrInfo.h" #include "X86JITInfo.h" #include "X86Subtarget.h" +#include "X86TargetAsmInfo.h" #include "X86ISelLowering.h" namespace llvm { @@ -50,6 +51,9 @@ public: static unsigned getModuleMatchQuality(const Module &M); static unsigned getJITMatchQuality(); + virtual const TargetAsmInfo *createTargetAsmInfo() const { + return static_cast<const TargetAsmInfo *>(new X86TargetAsmInfo(*this)); + } // Set up the pass pipeline. virtual bool addInstSelector(FunctionPassManager &PM, bool Fast); |