mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
[GVNSink] Don't define operator<< in NDEBUG
Without debug macros enabled, the raw_ostream operator<< overload is unused. llvm-svn: 303852
This commit is contained in:
parent
e219c46616
commit
cc1d665bc2
@ -174,12 +174,14 @@ struct SinkingInstructionCandidate {
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef NDEBUG
|
||||
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
|
||||
const SinkingInstructionCandidate &C) {
|
||||
OS << "<Candidate Cost=" << C.Cost << " #Blocks=" << C.NumBlocks
|
||||
<< " #Insts=" << C.NumInstructions << " #PHIs=" << C.NumPHIs << ">";
|
||||
return OS;
|
||||
}
|
||||
#endif
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user