diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-17 02:47:33 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-17 02:47:33 +0000 |
commit | 93947c3985ebfd3ee574e02101a75f924641006b (patch) | |
tree | cbaad7d4e70df22230318a43fcac6ac10ebc9b2f /lib/AsmParser/llvmAsmParser.cpp.cvs | |
parent | 0a11af1f73916b53cd4eb4ebac37527facd9cf3b (diff) |
For PR1117:
Make the assembler generate a nice error message if a bad cast instruction
is attempted instead of asserting out. This is made possible by the
recently exposed method CastInst::castIsValid() which checks the validity
of any cast instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
0 files changed, 0 insertions, 0 deletions