mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
Rename and move getCurrentSectionData.
I think this concludes the merge of MCSectionData and MCSection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238358 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -63,13 +63,11 @@ public:
|
||||
void EmitCFISections(bool EH, bool Debug) override;
|
||||
|
||||
protected:
|
||||
MCSection *getCurrentSectionData() const { return getCurrentSection().first; }
|
||||
|
||||
MCFragment *getCurrentFragment() const;
|
||||
|
||||
void insert(MCFragment *F) {
|
||||
flushPendingLabels(F);
|
||||
MCSection *CurSection = getCurrentSectionData();
|
||||
MCSection *CurSection = getCurrentSectionOnly();
|
||||
CurSection->getFragmentList().insert(CurInsertionPoint, F);
|
||||
F->setParent(CurSection);
|
||||
}
|
||||
|
||||
@@ -272,6 +272,7 @@ public:
|
||||
return SectionStack.back().first;
|
||||
return MCSectionSubPair();
|
||||
}
|
||||
MCSection *getCurrentSectionOnly() const { return getCurrentSection().first; }
|
||||
|
||||
/// \brief Return the previous section that the streamer is emitting code to.
|
||||
MCSectionSubPair getPreviousSection() const {
|
||||
|
||||
Reference in New Issue
Block a user