mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Release build: guard dump functions with "ifndef NDEBUG"
No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -632,6 +632,7 @@ INITIALIZE_PASS_DEPENDENCY(TargetLibraryInfo)
|
||||
INITIALIZE_AG_DEPENDENCY(AliasAnalysis)
|
||||
INITIALIZE_PASS_END(GVN, "gvn", "Global Value Numbering", false, false)
|
||||
|
||||
#ifndef NDEBUG
|
||||
void GVN::dump(DenseMap<uint32_t, Value*>& d) {
|
||||
errs() << "{\n";
|
||||
for (DenseMap<uint32_t, Value*>::iterator I = d.begin(),
|
||||
@@ -641,6 +642,7 @@ void GVN::dump(DenseMap<uint32_t, Value*>& d) {
|
||||
}
|
||||
errs() << "}\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
/// IsValueFullyAvailableInBlock - Return true if we can prove that the value
|
||||
/// we're analyzing is fully available in the specified block. As we go, keep
|
||||
|
Reference in New Issue
Block a user