aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-09-08 01:23:52 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-09-08 01:23:52 +0000
commitb2b0467e18a3bd4bfd22c6aeceb69139102428f8 (patch)
treec8057c5cc3618a151f5940d0426a17633e6b9004 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent6d5de59d09a9df73444fcb5a5ca51be4ca2301da (diff)
downloadllvm-b2b0467e18a3bd4bfd22c6aeceb69139102428f8.zip
llvm-b2b0467e18a3bd4bfd22c6aeceb69139102428f8.tar.gz
llvm-b2b0467e18a3bd4bfd22c6aeceb69139102428f8.tar.bz2
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/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions