Fix NDEBUG build.

llvm-svn: 238332
This commit is contained in:
Rafael Espindola 2015-05-27 15:18:34 +00:00
parent a32d0e9ec0
commit 2e4be0ad03
1 changed files with 2 additions and 0 deletions

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(); }