mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 10:01:42 +00:00
[SCCP] Switch over to DEBUG() and drop an #ifdef.
llvm-svn: 288325
This commit is contained in:
parent
e3bdd615c1
commit
33af6fe71e
@ -616,9 +616,7 @@ void SCCPSolver::getFeasibleSuccessors(TerminatorInst &TI,
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
dbgs() << "Unknown terminator instruction: " << TI << '\n';
|
||||
#endif
|
||||
DEBUG(dbgs() << "Unknown terminator instruction: " << TI << '\n');
|
||||
llvm_unreachable("SCCP: Don't know how to handle this terminator!");
|
||||
}
|
||||
|
||||
@ -672,9 +670,7 @@ bool SCCPSolver::isEdgeFeasible(BasicBlock *From, BasicBlock *To) {
|
||||
if (isa<IndirectBrInst>(TI))
|
||||
return true;
|
||||
|
||||
#ifndef NDEBUG
|
||||
dbgs() << "Unknown terminator instruction: " << *TI << '\n';
|
||||
#endif
|
||||
DEBUG(dbgs() << "Unknown terminator instruction: " << *TI << '\n');
|
||||
llvm_unreachable("SCCP: Don't know how to handle this terminator!");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user