Remove the unused 4th operand for DIFile debug info metadata

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176983 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie
2013-03-13 22:05:21 +00:00
parent a991b254f7
commit e0805a992d
43 changed files with 63 additions and 62 deletions

View File

@@ -121,7 +121,6 @@ DIFile DIBuilder::createFile(StringRef Filename, StringRef Directory) {
GetTagConstant(VMContext, dwarf::DW_TAG_file_type),
MDString::get(VMContext, Filename),
MDString::get(VMContext, Directory),
NULL // TheCU
};
return DIFile(MDNode::get(VMContext, Elts));
}

View File

@@ -531,7 +531,7 @@ bool DINameSpace::Verify() const {
/// \brief Verify that the file descriptor is well formed.
bool DIFile::Verify() const {
return isFile() && DbgNode->getNumOperands() == 4;
return isFile() && DbgNode->getNumOperands() == 3;
}
/// \brief Verify that the enumerator descriptor is well formed.