Store a bit in MCSection saying if it was registered with MCAssembler.
[oota-llvm.git] / lib / MC / MCSection.cpp
index d39cb5db7318a20135949863bc4f59856ab16b31..9152f2b42a48578abc5eecffb1a58259dc269e8b 100644 (file)
@@ -21,7 +21,7 @@ using namespace llvm;
 
 MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin)
     : Begin(Begin), BundleGroupBeforeFirstInst(false), HasInstructions(false),
-      Variant(V), Kind(K) {}
+      IsRegistered(false), Variant(V), Kind(K) {}
 
 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) {
   if (!End)