summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.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/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
parent6d5de59d09a9df73444fcb5a5ca51be4ca2301da (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud