aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetAsmInfo.h
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 /include/llvm/Target/TargetAsmInfo.h
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 'include/llvm/Target/TargetAsmInfo.h')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index c93d189..e3a8a57 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -124,6 +124,7 @@ namespace llvm {
private:
mutable StringMap<Section> Sections;
mutable SectionFlags::FlagsStringsMapType FlagsStrings;
+ void fillDefaultValues();
protected:
//===------------------------------------------------------------------===//
// Properties to be set by the target writer, used to configure asm printer.
@@ -510,6 +511,7 @@ namespace llvm {
public:
TargetAsmInfo();
+ TargetAsmInfo(const TargetMachine &TM);
virtual ~TargetAsmInfo();
const Section* getNamedSection(const char *Name,