Skip to content

Commit b30880e

Browse files
committed
[SandboxIR] Fix linking error caused by 840da2e
1 parent 36c210b commit b30880e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/SandboxIR/Tracker.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,12 @@ void ShuffleVectorSetMask::dump() const {
251251
CmpSwapOperands::CmpSwapOperands(CmpInst *Cmp) : Cmp(Cmp) {}
252252

253253
void CmpSwapOperands::revert(Tracker &Tracker) { Cmp->swapOperands(); }
254+
#ifndef NDEBUG
254255
void CmpSwapOperands::dump() const {
255256
dump(dbgs());
256257
dbgs() << "\n";
257258
}
259+
#endif
258260

259261
void Tracker::save() { State = TrackerState::Record; }
260262

0 commit comments

Comments
 (0)