Pass the error string directly to llvm_unreachable instead of the residual
authorJohn McCall <rjmccall@apple.com>
Fri, 18 Dec 2009 00:27:18 +0000 (00:27 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 18 Dec 2009 00:27:18 +0000 (00:27 +0000)
commitc226fe3c3e4382d3102c444f72cdca9ec35b1e51
tree76ba1312a1f766a0bb5ab42ba5e3805d44d19169
parentf8ad5bcdb5ce139d70902dbca7c2f6888f3beaec
Pass the error string directly to llvm_unreachable instead of the residual
(0 && "error").  Rough consensus seems to be that g++ *should* be diagnosing
this because the pointer makes it not an ICE in c++03.  Everyone agrees that
the current standard is silly and null-pointer-ness should not be based on
ICE-ness.  Excellent fight scene in Act II, denouement weak, two stars.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91644 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp