summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/MC/MCFragment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/lib/MC/MCFragment.cpp')
-rw-r--r--gnu/llvm/lib/MC/MCFragment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/llvm/lib/MC/MCFragment.cpp b/gnu/llvm/lib/MC/MCFragment.cpp
index 0ebcf21a422..d22b117972b 100644
--- a/gnu/llvm/lib/MC/MCFragment.cpp
+++ b/gnu/llvm/lib/MC/MCFragment.cpp
@@ -237,8 +237,8 @@ MCFragment::~MCFragment() = default;
MCFragment::MCFragment(FragmentType Kind, bool HasInstructions,
MCSection *Parent)
- : Kind(Kind), HasInstructions(HasInstructions), Parent(Parent),
- Atom(nullptr), Offset(~UINT64_C(0)) {
+ : Kind(Kind), HasInstructions(HasInstructions), LayoutOrder(0),
+ Parent(Parent), Atom(nullptr), Offset(~UINT64_C(0)) {
if (Parent && !isDummy())
Parent->getFragmentList().push_back(this);
}