aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelLowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp
index 73fab21294..a17209e706 100644
--- a/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -37,11 +37,11 @@ public:
void Initialize(MCContext &Ctx, const TargetMachine &TM) {
TargetLoweringObjectFile::Initialize(Ctx, TM);
TextSection = getOrCreateSection("_text", true,
- SectionKind::get(SectionKind::Text));
+ SectionKind::getText());
DataSection = getOrCreateSection("_data", true,
- SectionKind::get(SectionKind::DataRel));
+ SectionKind::getDataRel());
ReadOnlySection = getOrCreateSection("_rodata", true,
- SectionKind::get(SectionKind::ReadOnly));
+ SectionKind::getReadOnly());
}
};
}