Move remaining LLVM_ENABLE_DUMP conditionals out of the headers
authorAlp Toker <alp@nuanti.com>
Tue, 1 Jul 2014 21:19:13 +0000 (21:19 +0000)
committerAlp Toker <alp@nuanti.com>
Tue, 1 Jul 2014 21:19:13 +0000 (21:19 +0000)
commita96332b9c7d065ce73ec3836f4a613b0b45d580f
treee6e1685528f99e521221c400da595684e2ba7a44
parent49ec6e933f9a200605dd83834c2c7556d618b6d7
Move remaining LLVM_ENABLE_DUMP conditionals out of the headers

This macro is sometimes defined manually but isn't (and doesn't need to be) in
llvm-config.h so shouldn't appear in the headers, likewise NDEBUG.

Instead switch them over to LLVM_DUMP_METHOD on the definitions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212130 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineScheduler.h
include/llvm/CodeGen/RegisterPressure.h
include/llvm/CodeGen/ScheduleDFS.h
lib/CodeGen/MachineScheduler.cpp
lib/CodeGen/RegisterPressure.cpp
lib/CodeGen/ScheduleDAGInstrs.cpp