summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSection.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 20:52:13 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 20:52:13 +0000
commit245fdfb9c36a0c872a0e7ecfea1355af450bee4c (patch)
treedd17849baf0b11596abd653829ee612bc9508ce6 /llvm/lib/MC/MCSection.cpp
parent5a9bc50fa8c22e6e64bff68bc0733ee820defbe5 (diff)
downloadbcm5719-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.cpp4
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);
}
OpenPOWER on IntegriCloud