diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:52:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:52:13 +0000 |
commit | 245fdfb9c36a0c872a0e7ecfea1355af450bee4c (patch) | |
tree | dd17849baf0b11596abd653829ee612bc9508ce6 /llvm/lib/MC/MCSection.cpp | |
parent | 5a9bc50fa8c22e6e64bff68bc0733ee820defbe5 (diff) | |
download | bcm5719-llvm-245fdfb9c36a0c872a0e7ecfea1355af450bee4c.tar.gz bcm5719-llvm-245fdfb9c36a0c872a0e7ecfea1355af450bee4c.zip |
make target-specific TLOF impls (except PIC16) create target-specific
MCSection instances.
llvm-svn: 78500
Diffstat (limited to 'llvm/lib/MC/MCSection.cpp')
-rw-r--r-- | llvm/lib/MC/MCSection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCSection.cpp b/llvm/lib/MC/MCSection.cpp index 2d5eb33b4d7..ec6078ea37b 100644 --- a/llvm/lib/MC/MCSection.cpp +++ b/llvm/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); } |