Move helper classes into an anonymous namespace. NFC.

llvm-svn: 249356
This commit is contained in:
Benjamin Kramer 2015-10-05 21:20:26 +00:00
parent 737501c673
commit 808d2a070d
1 changed files with 2 additions and 0 deletions

View File

@ -292,6 +292,7 @@ const MCExpr *WinException::getLabelPlusOne(MCSymbol *Label) {
Asm->OutContext);
}
namespace {
/// Information describing an invoke range.
struct InvokeRange {
MCSymbol *BeginLabel = nullptr;
@ -329,6 +330,7 @@ private:
MachineBasicBlock::const_iterator MBBIEnd;
InvokeRange CurRange;
};
} // end anonymous namespace
/// Invoke label range iteration logic. Increment MBBI until we find the next
/// EH_LABEL pair, and then update MBBI to point after the end label.