commit | 49072473bac39f888be9e3814de48215daacea46 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Tue Sep 08 01:23:52 2009 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Tue Sep 08 01:23:52 2009 +0000 |
tree | ba2f9aa70cdf611598e0dc29a314ed7775d34831 | |
parent | 45336a6f22de93b38d693fbdde0c96aa84f1e70f [diff] |
Verify types. Invalid types can be constructed when assertions are off. Make the verifier more robust by avoiding unprotected cast<> calls. Notably, Assert1(isa<>); cast<> is not safe as Assert1 does not terminate the program. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81179 91177308-0d34-0410-b5e6-96231b3b80d8