DebugInfo: Reuse existing LexicalScope to retrieve the scope's MDNode, rather than...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 5 Jun 2014 01:30:50 +0000 (01:30 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 5 Jun 2014 01:30:50 +0000 (01:30 +0000)
commit7a986ec4ded2597ff42ad21f87ff91b194fdb98d
tree50324b8f983d0964444523060aa2b6048237d395
parent75096077d49c50478e8f252e41432387030a5fe5
DebugInfo: Reuse existing LexicalScope to retrieve the scope's MDNode, rather than looking it up through the DebugLoc.

No functional change intended, just streamlines the abstract variable
lookup/construction to use a common entry point.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210234 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h