diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-02 05:23:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 05:23:52 +0000 |
commit | 24def37c85cad01845e5fb2efc87e4d5471a2a6a (patch) | |
tree | ddcaa8f07463ca91b8ddc573e9a524d5809d18ef /lib/Target/ARM/ARMTargetMachine.cpp | |
parent | d90183d25dcbc0eabde56319fed4e8d6ace2e6eb (diff) |
ARM TAI no longer needs a TM, but createTargetAsmInfo() still does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetMachine.cpp')
-rw-r--r-- | lib/Target/ARM/ARMTargetMachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index 9f70ab9005..96552ede20 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -78,9 +78,9 @@ const TargetAsmInfo *ARMBaseTargetMachine::createTargetAsmInfo() const { switch (Subtarget.TargetType) { default: llvm_unreachable("Unknown ARM subtarget kind"); case ARMSubtarget::isDarwin: - return new ARMDarwinTargetAsmInfo(*this); + return new ARMDarwinTargetAsmInfo(); case ARMSubtarget::isELF: - return new ARMELFTargetAsmInfo(*this); + return new ARMELFTargetAsmInfo(); } } |