mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Remove unused "isMain" field from DICompileUnit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user