summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SafeStackColoring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/SafeStackColoring.cpp')
-rw-r--r--lib/CodeGen/SafeStackColoring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SafeStackColoring.cpp b/lib/CodeGen/SafeStackColoring.cpp
index 3938723a677..072e6e090e1 100644
--- a/lib/CodeGen/SafeStackColoring.cpp
+++ b/lib/CodeGen/SafeStackColoring.cpp
@@ -250,7 +250,7 @@ void StackColoring::calculateLiveIntervals() {
}
}
-#ifdef LLVM_ENABLE_DUMP
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void StackColoring::dumpAllocas() {
dbgs() << "Allocas:\n";
for (unsigned AllocaNo = 0; AllocaNo < NumAllocas; ++AllocaNo)