Skip to content

Commit 0bc316a

Browse files
committed
drop alignTo
Created using spr 1.3.4
1 parent 1e1ef44 commit 0bc316a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/lib/Profile/Heatmap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void Heatmap::print(raw_ostream &OS) const {
8181
// the Address.
8282
auto startLine = [&](uint64_t Address, bool Empty = false) {
8383
changeColor(DefaultColor);
84-
const uint64_t LineAddress = alignTo(Address, BytesPerLine);
84+
const uint64_t LineAddress = Address / BytesPerLine * BytesPerLine;
8585

8686
if (MaxAddress > 0xffffffff)
8787
OS << format("0x%016" PRIx64 ": ", LineAddress);

0 commit comments

Comments
 (0)