diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-13 22:05:21 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-13 22:05:21 +0000 |
commit | 0d221159a0ceff14a6436193d860b263f1664e08 (patch) | |
tree | 36db285d62c5905a8b7b2a49f236cdea1907d114 /llvm/lib/IR | |
parent | 66586653b7ce5bcae79ab8a9857d292c6daa484d (diff) | |
download | bcm5719-llvm-0d221159a0ceff14a6436193d860b263f1664e08.tar.gz bcm5719-llvm-0d221159a0ceff14a6436193d860b263f1664e08.zip |
Remove the unused 4th operand for DIFile debug info metadata
llvm-svn: 176983
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r-- | llvm/lib/IR/DIBuilder.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index aacd9c41f3a..5a82ed04bfe 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -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)); } diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 6a15033b40f..1932615f183 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -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. |