File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -333,8 +333,6 @@ class MCContext {
333333 void reportCommon (SMLoc Loc,
334334 std::function<void (SMDiagnostic &, const SourceMgr *)>);
335335
336- MCFragment *allocInitialFragment (MCSection &Sec);
337-
338336 MCSymbolTableEntry &getSymbolTableEntry (StringRef Name);
339337
340338 MCSymbol *createSymbolImpl (const MCSymbolTableEntry *Name, bool IsTemporary);
Original file line number Diff line number Diff line change @@ -200,16 +200,6 @@ MCInst *MCContext::createMCInst() {
200200 return new (MCInstAllocator.Allocate ()) MCInst;
201201}
202202
203- // Allocate the initial MCFragment for the begin symbol.
204- MCFragment *MCContext::allocInitialFragment (MCSection &Sec) {
205- assert (!Sec.curFragList ()->Head );
206- auto *F = allocFragment<MCFragment>();
207- F->setParent (&Sec);
208- Sec.curFragList ()->Head = F;
209- Sec.curFragList ()->Tail = F;
210- return F;
211- }
212-
213203// ===----------------------------------------------------------------------===//
214204// Symbol Manipulation
215205// ===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments