commit | 77e300e8f0b8db8eec448cae9c87d7c5bfad9757 | [log] [tgz] |
---|---|---|
author | Manman Ren <mren@apple.com> | Thu Sep 06 19:06:06 2012 +0000 |
committer | Manman Ren <mren@apple.com> | Thu Sep 06 19:06:06 2012 +0000 |
tree | 17cbbb95fb7d5d677d61377147f61c7aa3a55b0b | |
parent | 45c5c57179e8b4938042431f8e12c9bfad67b3c8 [diff] [blame] |
Release build: guard dump functions with "ifndef NDEBUG" No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163339 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp index c25f39d..2d8f235 100644 --- a/lib/CodeGen/ScheduleDAGInstrs.cpp +++ b/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -1012,7 +1012,9 @@ } void ScheduleDAGInstrs::dumpNode(const SUnit *SU) const { +#ifndef NDEBUG SU->getInstr()->dump(); +#endif } std::string ScheduleDAGInstrs::getGraphNodeLabel(const SUnit *SU) const {