Return a MCSection from MCFragment::getParent().

Another step in merging MCSectionData and MCSection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2015-05-26 00:36:57 +00:00
parent be38d7cb8c
commit f363960679
11 changed files with 86 additions and 67 deletions

View File

@@ -98,9 +98,7 @@ public:
FragmentType getKind() const { return Kind; }
MCSectionData *getParent() const {
return &Parent->getSectionData();
}
MCSection *getParent() const { return Parent; }
void setParent(MCSection *Value) { Parent = Value; }
const MCSymbol *getAtom() const { return Atom; }