aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:21:39 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:21:39 +0000
commit8490322fa9d4c3359015510e772e231273476739 (patch)
tree48374c608ef1003ed47e6a57a9cbfffe159f00dd /lib/Target/X86/X86TargetMachine.cpp
parent541af7f769c89de8a7f52d563cf317ad7a86c245 (diff)
downloadexternal_llvm-8490322fa9d4c3359015510e772e231273476739.zip
external_llvm-8490322fa9d4c3359015510e772e231273476739.tar.gz
external_llvm-8490322fa9d4c3359015510e772e231273476739.tar.bz2
Use crazy template-based inheritance instead of virtual one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 5be5c5d..08753e7 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -54,7 +54,7 @@ const TargetAsmInfo *X86TargetMachine::createTargetAsmInfo() const {
case X86Subtarget::isWindows:
return new X86WinTargetAsmInfo(*this);
default:
- return new X86TargetAsmInfo(*this);
+ return new X86GenericTargetAsmInfo(*this);
}
}