Skip to content

Commit 7de9bba

Browse files
Bill Nellmemfrob
authored andcommitted
[BOLT] Fix BOLT build
Summary: The latest change to MCInstrAnalysis broke then clang build. This fixes it. (cherry picked from FBD6262308)
1 parent b0e2be9 commit 7de9bba

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

bolt/Passes/BinaryPasses.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class DynoStatsPrintPass : public BinaryFunctionPass {
7171
, Title(Title) {
7272
}
7373

74-
const char *getName() const {
74+
const char *getName() const override {
7575
return "print dyno-stats after optimizations";
7676
}
7777

bolt/Passes/HFSortPlus.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,7 @@ class AdjacencyMatrix {
116116

117117
void dump(const Cluster *A) const {
118118
outs() << "Cluster " << A->id() << ":";
119-
forallAdjacent(A,
120-
[this,A](const Cluster *B) {
121-
outs() << " " << B->id();
122-
});
119+
forallAdjacent(A, [](const Cluster *B) { outs() << " " << B->id(); });
123120
}
124121

125122
void dump() const {

0 commit comments

Comments
 (0)