From: Chandler Carruth Date: Tue, 20 Nov 2012 10:23:50 +0000 (+0000) Subject: Fix a place where the declaration didn't use LLVM_ENABLE_DUMP but the X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=638d2d74bc4d9e972aed6479889a894d74e838ba;p=oota-llvm.git 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 --- diff --git a/include/llvm/CodeGen/MachineScheduler.h b/include/llvm/CodeGen/MachineScheduler.h index 08f91828050..88f347e4b52 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 };