mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
Store a bit in MCSection saying if it was registered with MCAssembler.
With this we can replace a SetVector with a plain std::vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238706 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user