Fix NDEBUG build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-05-27 15:18:34 +00:00
parent 899cab6126
commit 3e6e3602d5

View File

@ -84,6 +84,7 @@ MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
return IP;
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MCSection::dump() {
raw_ostream &OS = llvm::errs();
@ -96,6 +97,7 @@ void MCSection::dump() {
}
OS << "]>";
}
#endif
MCSection::iterator MCSection::begin() { return Fragments.begin(); }