mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user