mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-13 08:26:02 +00:00
MC: Initialize MCFragment::Offset, noticed by Cameron Esfahani.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -182,7 +182,8 @@ MCFragment::~MCFragment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent)
|
MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent)
|
||||||
: Kind(_Kind), Parent(_Parent), Atom(0), EffectiveSize(~UINT64_C(0))
|
: Kind(_Kind), Parent(_Parent), Atom(0), Offset(~UINT64_C(0)),
|
||||||
|
EffectiveSize(~UINT64_C(0))
|
||||||
{
|
{
|
||||||
if (Parent)
|
if (Parent)
|
||||||
Parent->getFragmentList().push_back(this);
|
Parent->getFragmentList().push_back(this);
|
||||||
|
Reference in New Issue
Block a user