diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-09-24 22:21:39 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-09-24 22:21:39 +0000 |
commit | 8490322fa9d4c3359015510e772e231273476739 (patch) | |
tree | 48374c608ef1003ed47e6a57a9cbfffe159f00dd /include/llvm/Target/TargetAsmInfo.h | |
parent | 541af7f769c89de8a7f52d563cf317ad7a86c245 (diff) | |
download | external_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.h | 2 |
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, |