mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
DebugInfo: Use DebugNodeRef in MDImportedEntity::getEntity()
A quick cleanup to sue `DebugNodeRef` instead of `Metadata*` for `MDImportedEntity::getEntity()`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234288 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -174,7 +174,8 @@ static DIImportedEntity
|
||||
createImportedModule(LLVMContext &C, dwarf::Tag Tag, DIScope Context,
|
||||
Metadata *NS, unsigned Line, StringRef Name,
|
||||
SmallVectorImpl<TrackingMDNodeRef> &AllImportedModules) {
|
||||
DIImportedEntity M = MDImportedEntity::get(C, Tag, Context, NS, Line, Name);
|
||||
DIImportedEntity M =
|
||||
MDImportedEntity::get(C, Tag, Context, DebugNodeRef(NS), Line, Name);
|
||||
AllImportedModules.emplace_back(M.get());
|
||||
return M;
|
||||
}
|
||||
|
Reference in New Issue
Block a user