summaryrefslogtreecommitdiff
path: root/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-13 22:05:21 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-13 22:05:21 +0000
commite0805a992ddd2823604969c8aac61a2f339f3c01 (patch)
tree578af0e2f53bd21cc6b2cd3b55da245368e457e8 /lib/IR/DebugInfo.cpp
parenta991b254f71173f3911be3b313b5304dd9b3b862 (diff)
downloadllvm-e0805a992ddd2823604969c8aac61a2f339f3c01.tar.gz
llvm-e0805a992ddd2823604969c8aac61a2f339f3c01.tar.bz2
llvm-e0805a992ddd2823604969c8aac61a2f339f3c01.tar.xz
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
Diffstat (limited to 'lib/IR/DebugInfo.cpp')
-rw-r--r--lib/IR/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp
index 6a15033b40..1932615f18 100644
--- a/lib/IR/DebugInfo.cpp
+++ b/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.