DebugInfo: Assume valid pointer in DISubprogram::replaceFunction()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 19:41:30 +0000 (19:41 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 19:41:30 +0000 (19:41 +0000)
commiteed6a11f81db8a86b3630a5e90fb072d99368f8d
tree7bfca3e84dc06faf9ff774ffc4430e2dfadf600e
parentd4b4e3e20f1a212dbeb6f5b2876df4b550259e92
DebugInfo: Assume valid pointer in DISubprogram::replaceFunction()

Other accessors assume this already; not sure how `replaceFunction()`
got left behind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234782 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h