Skip to content

Commit 07850f8

Browse files
committed
removed the unwanted .get() from the object wrapped by unique_ptr.
1 parent 8343a10 commit 07850f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/MachineTraceMetrics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ void MachineTraceMetrics::invalidate(const MachineBasicBlock *MBB) {
438438
BlockInfo[MBB->getNumber()].invalidate();
439439
for (auto &E : Ensembles)
440440
if (E)
441-
E.get()->invalidate(MBB);
441+
E->invalidate(MBB);
442442
}
443443

444444
bool MachineTraceMetrics::invalidate(
@@ -459,7 +459,7 @@ void MachineTraceMetrics::verifyAnalysis() const {
459459
assert(BlockInfo.size() == MF->getNumBlockIDs() && "Outdated BlockInfo size");
460460
for (auto &E : Ensembles)
461461
if (E)
462-
E.get()->verify();
462+
E->verify();
463463
#endif
464464
}
465465

0 commit comments

Comments
 (0)