Debug Info: code clean up.
authorManman Ren <manman.ren@gmail.com>
Tue, 22 Oct 2013 20:59:19 +0000 (20:59 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 22 Oct 2013 20:59:19 +0000 (20:59 +0000)
commitd56c9db9603c3e2edf43405142dee60559559919
tree7610492864c1d2e265ed607b249df7332309848a
parentdd620a9ff5c8340617f22decedcbecbd2f0a1582
Debug Info: code clean up.

Remove unnecessary creation of LexicalScope in collectDeadVariables.
The created LexicialScope was only used to get isAbstractScope, which
should be false from the creation:
"new LexicalScope(NULL, DIDescriptor(SP), NULL, false);".

We can also remove a DenseMap that holds the created LexicalScopes.

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