Skip to content

Commit 86e21e1

Browse files
committed
[BOLT] Remove unused bool arguments from createMCObjectStreamer callers
1 parent 6c9086d commit 86e21e1

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

bolt/include/bolt/Core/BinaryContext.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,10 +1452,7 @@ class BinaryContext {
14521452
std::unique_ptr<MCObjectWriter> OW = MAB->createObjectWriter(OS);
14531453
std::unique_ptr<MCStreamer> Streamer(TheTarget->createMCObjectStreamer(
14541454
*TheTriple, *Ctx, std::unique_ptr<MCAsmBackend>(MAB), std::move(OW),
1455-
std::unique_ptr<MCCodeEmitter>(MCE), *STI,
1456-
/* RelaxAll */ false,
1457-
/* IncrementalLinkerCompatible */ false,
1458-
/* DWARFMustBeAtTheEnd */ false));
1455+
std::unique_ptr<MCCodeEmitter>(MCE), *STI));
14591456
return Streamer;
14601457
}
14611458

bolt/lib/Core/BinaryContext.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2367,10 +2367,7 @@ BinaryContext::calculateEmittedSize(BinaryFunction &BF, bool FixBranches) {
23672367
std::unique_ptr<MCObjectWriter> OW = MAB->createObjectWriter(VecOS);
23682368
std::unique_ptr<MCStreamer> Streamer(TheTarget->createMCObjectStreamer(
23692369
*TheTriple, *LocalCtx, std::unique_ptr<MCAsmBackend>(MAB), std::move(OW),
2370-
std::unique_ptr<MCCodeEmitter>(MCEInstance.MCE.release()), *STI,
2371-
/*RelaxAll=*/false,
2372-
/*IncrementalLinkerCompatible=*/false,
2373-
/*DWARFMustBeAtTheEnd=*/false));
2370+
std::unique_ptr<MCCodeEmitter>(MCEInstance.MCE.release()), *STI));
23742371

23752372
Streamer->initSections(false, *STI);
23762373

0 commit comments

Comments
 (0)