forked from OSchip/llvm-project
Fix NDEBUG build after instruction ordering
This commit is contained in:
parent
e28d9bae4b
commit
1f44134243
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue