mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 03:32:10 +00:00
Make DwarfCompileUnit::Skeleton more narrowly typed (DwarfCompileUnit* instead of DwarfUnit*) now that it's specific to DwarfCompileUnit anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221060 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ea8769cbe8
commit
b2dae39d05
@ -34,7 +34,7 @@ class DwarfCompileUnit : public DwarfUnit {
|
|||||||
unsigned stmtListIndex;
|
unsigned stmtListIndex;
|
||||||
|
|
||||||
/// Skeleton unit associated with this unit.
|
/// Skeleton unit associated with this unit.
|
||||||
DwarfUnit *Skeleton;
|
DwarfCompileUnit *Skeleton;
|
||||||
|
|
||||||
/// \brief Construct a DIE for the given DbgVariable without initializing the
|
/// \brief Construct a DIE for the given DbgVariable without initializing the
|
||||||
/// DbgVariable's DIE reference.
|
/// DbgVariable's DIE reference.
|
||||||
@ -46,7 +46,7 @@ public:
|
|||||||
DwarfDebug *DW, DwarfFile *DWU);
|
DwarfDebug *DW, DwarfFile *DWU);
|
||||||
|
|
||||||
DwarfCompileUnit *getSkeleton() const {
|
DwarfCompileUnit *getSkeleton() const {
|
||||||
return static_cast<DwarfCompileUnit *>(Skeleton);
|
return Skeleton;
|
||||||
}
|
}
|
||||||
|
|
||||||
void initStmtList(MCSymbol *DwarfLineSectionSym);
|
void initStmtList(MCSymbol *DwarfLineSectionSym);
|
||||||
@ -155,7 +155,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Set the skeleton unit associated with this unit.
|
/// Set the skeleton unit associated with this unit.
|
||||||
void setSkeleton(DwarfUnit &Skel) { Skeleton = &Skel; }
|
void setSkeleton(DwarfCompileUnit &Skel) { Skeleton = &Skel; }
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end llvm namespace
|
} // end llvm namespace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user