mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Eliminate unnecessary forwarding function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138006 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1035,6 +1035,9 @@ void CompileUnit::createGlobalVariableDIE(const MDNode *N) {
|
||||
return;
|
||||
|
||||
DIGlobalVariable GV(N);
|
||||
if (!GV.Verify())
|
||||
return;
|
||||
|
||||
DIE *VariableDIE = new DIE(GV.getTag());
|
||||
// Add to map.
|
||||
insertDIE(N, VariableDIE);
|
||||
|
Reference in New Issue
Block a user