summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSectionMachO.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-03-07 18:49:54 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-03-07 18:49:54 +0000
commitcd481d3845a66619968efc06b3513d09533158a0 (patch)
tree0e52d17b79e19116f1c8b9568b627697fd7fa450 /llvm/lib/MC/MCSectionMachO.cpp
parent4bd13b7515af330fc1111fdac49953c52cb5ab6e (diff)
downloadbcm5719-llvm-cd481d3845a66619968efc06b3513d09533158a0.tar.gz
bcm5719-llvm-cd481d3845a66619968efc06b3513d09533158a0.zip
MC: Use MachO::SectionType for MCSectionMachO::getType's return type
This is a straightfoward replacement, it makes debugging a little easier. This has no functional impact. llvm-svn: 203264
Diffstat (limited to 'llvm/lib/MC/MCSectionMachO.cpp')
-rw-r--r--llvm/lib/MC/MCSectionMachO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCSectionMachO.cpp b/llvm/lib/MC/MCSectionMachO.cpp
index b8e51422998..29829463c18 100644
--- a/llvm/lib/MC/MCSectionMachO.cpp
+++ b/llvm/lib/MC/MCSectionMachO.cpp
@@ -102,7 +102,7 @@ void MCSectionMachO::PrintSwitchToSection(const MCAsmInfo &MAI,
return;
}
- unsigned SectionType = getType();
+ MachO::SectionType SectionType = getType();
assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE &&
"Invalid SectionType specified!");
OpenPOWER on IntegriCloud