Skip to content

Commit 73e0205

Browse files
Address a comment.
1 parent a1301cb commit 73e0205

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Bitcode/Reader/MetadataLoader.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,8 @@ class MetadataLoader::MetadataLoaderImpl {
540540
break;
541541
}
542542

543-
auto &PS = ParentSubprogram[InitialScope];
544-
PS = llvm::dyn_cast_or_null<DISubprogram>(S);
545-
return PS;
543+
return ParentSubprogram[InitialScope] =
544+
llvm::dyn_cast_or_null<DISubprogram>(S);
546545
}
547546

548547
/// Move local imports from DICompileUnit's 'imports' field to

0 commit comments

Comments
 (0)