1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[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 2b6b11a19d
commit 3becf3dbb5

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