Add DWARF discriminator support to DILexicalBlocks.
[oota-llvm.git] / lib / IR / DebugInfo.cpp
index 506f2dd926e7616893c27a041d798ef1d94fe779..749e0b5057a76e05414bdfe28d9ad31108813719 100644 (file)
@@ -600,7 +600,7 @@ bool DISubrange::Verify() const {
 
 /// \brief Verify that the lexical block descriptor is well formed.
 bool DILexicalBlock::Verify() const {
-  return isLexicalBlock() && DbgNode->getNumOperands() == 6;
+  return isLexicalBlock() && DbgNode->getNumOperands() == 7;
 }
 
 /// \brief Verify that the file-scoped lexical block descriptor is well formed.