Add DISubprogram is not null check.
authorDevang Patel <dpatel@apple.com>
Wed, 15 Apr 2009 20:11:08 +0000 (20:11 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 15 Apr 2009 20:11:08 +0000 (20:11 +0000)
commit8818b8f4437a56fc8f75a134f015c3b807e61f10
tree720cd0ed4cb624685c88e971307d318273daf336
parentc23e4968790395053f3f52aeb3342637fcaafdbf
Add DISubprogram is not null check.
This fixes test/CodeGen//2009-01-21-invalid-debug-info.m test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69210 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp