Use crazy template-based inheritance instead of virtual one.
[oota-llvm.git] / include / llvm / Target / TargetAsmInfo.h
index c93d189cc65629f4cfd30dcf30c484a1fbc56eb8..e3a8a5720e4be3a5ca26714c8b0a638308d8cc46 100644 (file)
@@ -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,