mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
There is no need to add file as context for subroutine type. The subroutine type does not need any context.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f1f6de1c9b
commit
2bd6269417
@ -434,9 +434,9 @@ DIType DIBuilder::createSubroutineType(DIFile File, DIArray ParameterTypes) {
|
||||
// TAG_subroutine_type is encoded in DICompositeType format.
|
||||
Value *Elts[] = {
|
||||
GetTagConstant(VMContext, dwarf::DW_TAG_subroutine_type),
|
||||
getNonCompileUnitScope(File),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
MDString::get(VMContext, ""),
|
||||
File,
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), 0),
|
||||
|
Loading…
Reference in New Issue
Block a user