Debug Info: code clean up.
authorManman Ren <manman.ren@gmail.com>
Wed, 23 Oct 2013 23:05:28 +0000 (23:05 +0000)
committerManman Ren <manman.ren@gmail.com>
Wed, 23 Oct 2013 23:05:28 +0000 (23:05 +0000)
commitbe87b69a5f2f0b66939cef4d107a2cb8e4f4f4dc
treedc172f7405fc7975a735287da236df73188280f4
parenta1d25b6360a6f40bf1c5651950226640211dc6d0
Debug Info: code clean up.

Since we never insert DIE for DITemplateTypeParameter to a map, there is no need
to call getDIE in getOrCreateTemplateTypeParameterDIE. It is also renamed to
constructTemplateTypeParameterDIE to match with other construct functions
in CompileUnit.

Same applies to getOrCreateTemplateValueParameterDIE.

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