Fix a place where the declaration didn't use LLVM_ENABLE_DUMP but the
authorChandler Carruth <chandlerc@gmail.com>
Tue, 20 Nov 2012 10:23:50 +0000 (10:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 20 Nov 2012 10:23:50 +0000 (10:23 +0000)
definition did.

The last part of PR14324.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168363 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineScheduler.h

index 08f91828050829777eac84c28fde963a1be9bb56..88f347e4b52b50dfd1153c4eceb4e02cdd8b14e5 100644 (file)
@@ -181,7 +181,7 @@ public:
     return Queue.begin() + idx;
   }
 
-#ifndef NDEBUG
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
   void dump();
 #endif
 };