commit | 19f49ac624abaae43f6e44605e09aa4515de7456 | [log] [tgz] |
---|---|---|
author | Manman Ren <mren@apple.com> | Tue Sep 11 22:23:19 2012 +0000 |
committer | Manman Ren <mren@apple.com> | Tue Sep 11 22:23:19 2012 +0000 |
tree | 486897fd73627db2af5b7e552bd09a3bdec28c5b | |
parent | 2aaba00a6bfdbd8f0810867260c2d1e867fc515a [diff] [blame] |
Release build: guard dump functions with "#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163339. llvm-svn: 163653
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp index bd10a4b..5bdc1ff 100644 --- a/llvm/lib/CodeGen/VirtRegMap.cpp +++ b/llvm/lib/CodeGen/VirtRegMap.cpp
@@ -126,7 +126,7 @@ OS << '\n'; } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void VirtRegMap::dump() const { print(dbgs()); }