Remove unnecessary caching of the subtarget for HexagonFrameLowering and remove the...
[oota-llvm.git] / lib / Target / Hexagon / HexagonTargetObjectFile.h
index ac87814b4b63b3a1fe98e48c49da644a57f8cbe5..1bd1272befcf3bb36f6d719a214acc5ac6f60c09 100644 (file)
@@ -19,7 +19,7 @@ namespace llvm {
     const MCSectionELF *SmallDataSection;
     const MCSectionELF *SmallBSSSection;
   public:
-    virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
+    void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
 
     /// IsGlobalInSmallSection - Return true if this global address should be
     /// placed into small data/bss section.
@@ -31,8 +31,8 @@ namespace llvm {
 
     bool IsSmallDataEnabled () const;
     const MCSection *SelectSectionForGlobal(const GlobalValue *GV,
-                                            SectionKind Kind, Mangler *Mang,
-                                            TargetMachine &TM) const;
+                                        SectionKind Kind, Mangler &Mang,
+                                        const TargetMachine &TM) const override;
   };
 
 } // namespace llvm