1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[Target] dumpr() is defined only in debug builds.

This fixes the clang build on macOS.

llvm-svn: 319923
This commit is contained in:
Davide Italiano 2017-12-06 18:54:17 +00:00
parent 6ae446173e
commit 15744ca954

View File

@ -729,7 +729,9 @@ void NodeTemplate::print(raw_ostream &OS, const SelectionDAG &G) const {
void ResultStack::print(raw_ostream &OS, const SelectionDAG &G) const {
OS << "Input node:\n";
#ifndef NDEBUG
InpNode->dumpr(&G);
#endif
OS << "Result templates:\n";
for (unsigned I = 0, E = List.size(); I != E; ++I) {
OS << '[' << I << "] ";