diff options
Diffstat (limited to 'lib/Target/PIC16/PIC16Section.h')
-rw-r--r-- | lib/Target/PIC16/PIC16Section.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/PIC16/PIC16Section.h b/lib/Target/PIC16/PIC16Section.h index f69cc2c..0a2d091 100644 --- a/lib/Target/PIC16/PIC16Section.h +++ b/lib/Target/PIC16/PIC16Section.h @@ -21,8 +21,10 @@ namespace llvm { class MCSectionPIC16 : public MCSection { std::string Name; - MCSectionPIC16(const StringRef &name, SectionKind K, - MCContext &Ctx); + MCSectionPIC16(const StringRef &name, SectionKind K) + : MCSection(K), Name(name) { + } + public: const std::string &getName() const { return Name; } |