commit | bab6436b1726a2db21ab1e024540e98c02a5a009 | [log] [tgz] |
---|---|---|
author | Scott Michel <scottm@aero.org> | Sat Nov 22 23:49:26 2008 +0000 |
committer | Scott Michel <scottm@aero.org> | Sat Nov 22 23:49:26 2008 +0000 |
tree | 4c800bed4de2bc27e0980d9eb8bcbf2f0751a89a | |
parent | 7a1527389265ad5444ac1a4a3dd8901c2f20e902 [diff] |
Check for NULL before traversing the isa<> type hierarchy checking with a NULL-based reference. Note: Encountered this a few times on Tiger + gcc 4.0.1. Might just be a platform-specific compiler issue, but it's good defensive programming in any case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59890 91177308-0d34-0410-b5e6-96231b3b80d8