forked from OSchip/llvm-project
[GVN] Switch dump() definition over to LLVM_DUMP_METHOD.
llvm-svn: 271932
This commit is contained in:
parent
19edbadfc5
commit
82c447823b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue