Fix NDEBUG build after instruction ordering

This commit is contained in:
Reid Kleckner 2020-02-18 15:12:32 -08:00
parent e28d9bae4b
commit 1f44134243
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ BasicBlock::iterator skipDebugIntrinsics(BasicBlock::iterator It);
#ifdef NDEBUG
/// In release builds, this is a no-op. For !NDEBUG builds, the checks are
/// implemented in the .cpp file to avoid circular header deps.
inline void Instruction::validateInstrOrdering() const {}
inline void BasicBlock::validateInstrOrdering() const {}
#endif
} // end namespace llvm