mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-28 05:19:42 +00:00
Use the correct DIArray types in DICompileUnit::replace*().
Thanks to Yaron Keren for noticing! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1085,10 +1085,10 @@ public:
|
|||||||
/// deleted on a uniquing collision. In practice, uniquing collisions on \a
|
/// deleted on a uniquing collision. In practice, uniquing collisions on \a
|
||||||
/// DICompileUnit should be fairly rare.
|
/// DICompileUnit should be fairly rare.
|
||||||
/// @{
|
/// @{
|
||||||
void replaceEnumTypes(DISubprogramArray N) {
|
void replaceEnumTypes(DICompositeTypeArray N) {
|
||||||
replaceOperandWith(4, N.get());
|
replaceOperandWith(4, N.get());
|
||||||
}
|
}
|
||||||
void replaceRetainedTypes(DISubprogramArray N) {
|
void replaceRetainedTypes(DITypeArray N) {
|
||||||
replaceOperandWith(5, N.get());
|
replaceOperandWith(5, N.get());
|
||||||
}
|
}
|
||||||
void replaceSubprograms(DISubprogramArray N) {
|
void replaceSubprograms(DISubprogramArray N) {
|
||||||
@@ -1097,7 +1097,7 @@ public:
|
|||||||
void replaceGlobalVariables(DIGlobalVariableArray N) {
|
void replaceGlobalVariables(DIGlobalVariableArray N) {
|
||||||
replaceOperandWith(7, N.get());
|
replaceOperandWith(7, N.get());
|
||||||
}
|
}
|
||||||
void replaceImportedEntities(DIGlobalVariableArray N) {
|
void replaceImportedEntities(DIImportedEntityArray N) {
|
||||||
replaceOperandWith(8, N.get());
|
replaceOperandWith(8, N.get());
|
||||||
}
|
}
|
||||||
/// @}
|
/// @}
|
||||||
|
|||||||
Reference in New Issue
Block a user