[llvm] r213465 - Fix -Asserts build introduced since r213456.
NAKAMURA Takumi
geek4civic at gmail.com
Sat Jul 19 17:00:42 PDT 2014
Author: chapuni
Date: Sat Jul 19 19:00:42 2014
New Revision: 213465
URL: http://llvm.org/viewvc/llvm-project?rev=213465&view=rev
Log:
Fix -Asserts build introduced since r213456.
Modified:
llvm/trunk/lib/Analysis/RegionInfo.cpp
llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp
Modified: llvm/trunk/lib/Analysis/RegionInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/RegionInfo.cpp?rev=213465&r1=213464&r2=213465&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/RegionInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/RegionInfo.cpp Sat Jul 19 19:00:42 2014
@@ -147,9 +147,11 @@ void RegionInfoPass::print(raw_ostream &
RI.print(OS);
}
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void RegionInfoPass::dump() const {
RI.dump();
}
+#endif
char RegionInfoPass::ID = 0;
Modified: llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp?rev=213465&r1=213464&r2=213465&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineRegionInfo.cpp Sat Jul 19 19:00:42 2014
@@ -111,9 +111,11 @@ void MachineRegionInfoPass::print(raw_os
RI.print(OS);
}
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MachineRegionInfoPass::dump() const {
RI.dump();
}
+#endif
char MachineRegionInfoPass::ID = 0;
More information about the llvm-commits
mailing list