diff options
| author | Manman Ren <mren@apple.com> | 2012-09-11 22:23:19 +0000 |
|---|---|---|
| committer | Manman Ren <mren@apple.com> | 2012-09-11 22:23:19 +0000 |
| commit | 19f49ac624abaae43f6e44605e09aa4515de7456 (patch) | |
| tree | 486897fd73627db2af5b7e552bd09a3bdec28c5b /llvm/lib/Target | |
| parent | 2aaba00a6bfdbd8f0810867260c2d1e867fc515a (diff) | |
| download | bcm5719-llvm-19f49ac624abaae43f6e44605e09aa4515de7456.tar.gz bcm5719-llvm-19f49ac624abaae43f6e44605e09aa4515de7456.zip | |
Release build: guard dump functions with
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)"
No functional change. Update r163339.
llvm-svn: 163653
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/X86FloatingPoint.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp index 9d5de814bec..141cde27b25 100644 --- a/llvm/lib/Target/X86/X86FloatingPoint.cpp +++ b/llvm/lib/Target/X86/X86FloatingPoint.cpp @@ -171,7 +171,7 @@ namespace { // Shuffle live registers to match the expectations of successor blocks. void finishBlockStack(); -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void dumpStack() const { dbgs() << "Stack contents:"; for (unsigned i = 0; i != StackTop; ++i) { diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp index 5fdc61ebd50..8e79af52fbe 100644 --- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -100,7 +100,7 @@ namespace { Base_Reg = Reg; } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void dump() { dbgs() << "X86ISelAddressMode " << this << '\n'; dbgs() << "Base_Reg "; |

