forked from OSchip/llvm-project
[Target] dumpr() is defined only in debug builds.
This fixes the clang build on macOS. llvm-svn: 319923
This commit is contained in:
parent
9ffa988b5d
commit
9c60c7dcf4
|
@ -729,7 +729,9 @@ void NodeTemplate::print(raw_ostream &OS, const SelectionDAG &G) const {
|
||||||
|
|
||||||
void ResultStack::print(raw_ostream &OS, const SelectionDAG &G) const {
|
void ResultStack::print(raw_ostream &OS, const SelectionDAG &G) const {
|
||||||
OS << "Input node:\n";
|
OS << "Input node:\n";
|
||||||
|
#ifndef NDEBUG
|
||||||
InpNode->dumpr(&G);
|
InpNode->dumpr(&G);
|
||||||
|
#endif
|
||||||
OS << "Result templates:\n";
|
OS << "Result templates:\n";
|
||||||
for (unsigned I = 0, E = List.size(); I != E; ++I) {
|
for (unsigned I = 0, E = List.size(); I != E; ++I) {
|
||||||
OS << '[' << I << "] ";
|
OS << '[' << I << "] ";
|
||||||
|
|
Loading…
Reference in New Issue