diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-09-08 01:23:52 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-09-08 01:23:52 +0000 |
commit | b2b0467e18a3bd4bfd22c6aeceb69139102428f8 (patch) | |
tree | c8057c5cc3618a151f5940d0426a17633e6b9004 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | 6d5de59d09a9df73444fcb5a5ca51be4ca2301da (diff) | |
download | bcm5719-llvm-b2b0467e18a3bd4bfd22c6aeceb69139102428f8.tar.gz bcm5719-llvm-b2b0467e18a3bd4bfd22c6aeceb69139102428f8.zip |
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.
llvm-svn: 81179
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
0 files changed, 0 insertions, 0 deletions