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 | 082a77f1c932d9dbb7237f1b9dea9fd2989e1081 (patch) | |
tree | 40f96b734a1151e51f5c04404055c1cb57bc767e /llvm/lib/AsmParser/llvmAsmParser.cpp.cvs | |
parent | 00e5e0ea8f9b5dff15567605d16bcd1ca8d9866d (diff) | |
download | bcm5719-llvm-082a77f1c932d9dbb7237f1b9dea9fd2989e1081.tar.gz bcm5719-llvm-082a77f1c932d9dbb7237f1b9dea9fd2989e1081.zip |
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.
llvm-svn: 33283
Diffstat (limited to 'llvm/lib/AsmParser/llvmAsmParser.cpp.cvs')
0 files changed, 0 insertions, 0 deletions