diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-12 22:43:04 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-12 22:43:04 +0000 |
commit | 46561ce249984ddea405ce837b53367a59fd9f3b (patch) | |
tree | 6e87143c921664274ffc1f90d542059b4957c06b /lib/IR/DIBuilder.cpp | |
parent | 56772ebe9a5ce3585d2d5cdca3fa1e7fcb29405d (diff) | |
download | external_llvm-46561ce249984ddea405ce837b53367a59fd9f3b.zip external_llvm-46561ce249984ddea405ce837b53367a59fd9f3b.tar.gz external_llvm-46561ce249984ddea405ce837b53367a59fd9f3b.tar.bz2 |
Remove unused "isMain" field from DICompileUnit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DIBuilder.cpp')
-rw-r--r-- | lib/IR/DIBuilder.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 5ee36ab..9369c2a 100644 --- a/lib/IR/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp @@ -98,8 +98,6 @@ void DIBuilder::createCompileUnit(unsigned Lang, StringRef Filename, MDString::get(VMContext, Filename), MDString::get(VMContext, Directory), MDString::get(VMContext, Producer), - // isMain field can be removed when we remove the legacy debug info. - ConstantInt::get(Type::getInt1Ty(VMContext), true), // isMain ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized), MDString::get(VMContext, Flags), ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeVer), |