OSDN Git Service

[CodeGen] Report error rather than crash when unable to makeLibCall.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 26 Mar 2015 22:46:58 +0000 (22:46 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 26 Mar 2015 22:46:58 +0000 (22:46 +0000)
commitf55b1a5be4030a27eaf6a340a9e4b07bf626b423
tree8ba427d733561d4f29af664f31eaaf563757a811
parent5cb41128825e86a9c8a458cb6a176318c71d8b50
[CodeGen] Report error rather than crash when unable to makeLibCall.

Also, make the assumption explicit in the header.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233329 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/TargetLowering.cpp