[GVN] Switch dump() definition over to LLVM_DUMP_METHOD.

llvm-svn: 271932
This commit is contained in:
Davide Italiano 2016-06-06 19:24:27 +00:00
parent 19edbadfc5
commit 82c447823b
1 changed files with 1 additions and 2 deletions

View File

@ -597,7 +597,7 @@ PreservedAnalyses GVN::run(Function &F, AnalysisManager<Function> &AM) {
return Changed ? PreservedAnalyses::none() : PreservedAnalyses::all();
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD
void GVN::dump(DenseMap<uint32_t, Value*>& d) {
errs() << "{\n";
for (DenseMap<uint32_t, Value*>::iterator I = d.begin(),
@ -607,7 +607,6 @@ void GVN::dump(DenseMap<uint32_t, Value*>& d) {
}
errs() << "}\n";
}
#endif
/// Return true if we can prove that the value
/// we're analyzing is fully available in the specified block. As we go, keep