DebugInfo: Simplify logic in DISubprogram::Verify(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 30 Mar 2015 17:06:38 +0000 (17:06 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 30 Mar 2015 17:06:38 +0000 (17:06 +0000)
commitd9720a4749a437d47bb0f238e839e22d27506b77
treec42cd771420d13d4a5997f6074b52e6882ce6111
parenta3dbc680a7134dc64fdf8033699c17e2e4113472
DebugInfo: Simplify logic in DISubprogram::Verify(), NFC

Simplify the logic in `DISubprogram::Verify()` by using the new debug
info hierarchy directly instead of the `DebugLoc` wrapper.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233563 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp