From 7c599d056a41262681aa7fcd771eeed53a8e0bd2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 8 Aug 2009 20:52:13 +0000 Subject: make target-specific TLOF impls (except PIC16) create target-specific MCSection instances. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78500 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCSection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/MC/MCSection.cpp') diff --git a/lib/MC/MCSection.cpp b/lib/MC/MCSection.cpp index 2d5eb33b4d..ec6078ea37 100644 --- a/lib/MC/MCSection.cpp +++ b/lib/MC/MCSection.cpp @@ -40,8 +40,8 @@ Create(const StringRef &Name, bool IsDirective, SectionKind K, MCContext &Ctx) { } -MCSectionPECOFF *MCSectionPECOFF:: +MCSectionCOFF *MCSectionCOFF:: Create(const StringRef &Name, bool IsDirective, SectionKind K, MCContext &Ctx) { - return new (Ctx) MCSectionPECOFF(Name, IsDirective, K, Ctx); + return new (Ctx) MCSectionCOFF(Name, IsDirective, K, Ctx); } -- cgit v1.2.3