projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MC: Use MachO::SectionType for MCSectionMachO::getType's return type
[oota-llvm.git]
/
lib
/
MC
/
MCSectionMachO.cpp
diff --git
a/lib/MC/MCSectionMachO.cpp
b/lib/MC/MCSectionMachO.cpp
index b8e5142299807f859c952eb2be709afc1fe0e3bd..29829463c18ff18cc09c015685979e52fc0e0a2e 100644
(file)
--- a/
lib/MC/MCSectionMachO.cpp
+++ b/
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!");