AsmPrinter: Use DICompositeType in updateAcceleratorTables(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 20:45:26 +0000 (20:45 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 20:45:26 +0000 (20:45 +0000)
commit88c307a010221ec5a5eae00c136ac0d92d3beac5
tree480c2b396f9473a70f7910ee5556e135c3703840
parentdfe0e536ee24b7c04aad6897ff70fe4fc30e2245
AsmPrinter: Use DICompositeType in updateAcceleratorTables(), NFC

`DISubroutineType` is impossible at this `dyn_cast` site, since we're
only dealing with named types and `DISubroutineType` cannot be named.
Strengthen the `dyn_cast` to `DICompositeType`.

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