summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-11-20 10:23:50 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-11-20 10:23:50 +0000
commit638d2d74bc4d9e972aed6479889a894d74e838ba (patch)
tree1b18fc76dd5eb3326d6a7955a16a6b6079ee0515 /include
parent3a902d0ae7763e952eb2fa70e2b07ccb038ae235 (diff)
downloadllvm-638d2d74bc4d9e972aed6479889a894d74e838ba.tar.gz
llvm-638d2d74bc4d9e972aed6479889a894d74e838ba.tar.bz2
llvm-638d2d74bc4d9e972aed6479889a894d74e838ba.tar.xz
Fix a place where the declaration didn't use LLVM_ENABLE_DUMP but the
definition did. The last part of PR14324. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineScheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineScheduler.h b/include/llvm/CodeGen/MachineScheduler.h
index 08f9182805..88f347e4b5 100644
--- a/include/llvm/CodeGen/MachineScheduler.h
+++ b/include/llvm/CodeGen/MachineScheduler.h
@@ -181,7 +181,7 @@ public:
return Queue.begin() + idx;
}
-#ifndef NDEBUG
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void dump();
#endif
};