Skip to content

Commit e867900

Browse files
author
Alexander Yermolovich
committed
changed comment
1 parent bf3bf2b commit e867900

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bolt/lib/Core/BinaryContext.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,8 @@ static void printDebugInfo(raw_ostream &OS, const MCInst &Instruction,
19591959
OS << " discriminator:" << Row.Discriminator;
19601960
}
19611961

1962-
/// Skip instructions that are not interesting for safe ICF.
1962+
/// Skip instructions that do not potentially manipulate or compare function
1963+
/// addresses.
19631964
static bool skipInstruction(const MCInst &Inst, const BinaryContext &BC) {
19641965
const bool IsX86 = BC.isX86();
19651966
return (BC.MIB->isPseudo(Inst) || BC.MIB->isUnconditionalBranch(Inst) ||

0 commit comments

Comments
 (0)