commit | b720be6a50f4e1b3280d2b029ee38dda14577525 | [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 | ff0e2182d924a29c331f012eda1f3182f08e5451 | |
parent | 66b64bec6021e3f38af090429c7e41d1180df5a9 [diff] [blame] |
Release build: guard dump functions with "#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163339. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163653 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index 9250577..0464dca 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/lib/CodeGen/MachineBasicBlock.cpp
@@ -228,7 +228,7 @@ return 0; } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void MachineBasicBlock::dump() const { print(dbgs()); }