OSDN Git Service

DebugInfo: Rewrite llvm::getDISubprogram(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 02:06:28 +0000 (02:06 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 02:06:28 +0000 (02:06 +0000)
commit81a8d62b948d81b623fa32348e90e2f16229ac59
treea317f803db3cd9034e63f7b5ce530368b83d288c
parenta04d764104c559ce9865d334239c8b69b7dad64d
DebugInfo: Rewrite llvm::getDISubprogram(), NFC

Simplify implementation of `llvm::getDISubprogram()`.  I might go
through and see how difficult it is to update the users, since this
function doesn't really seem necessary anymore.

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