If a function calls setjmp, never inline it into other functions. This is
authorChris Lattner <sabre@nondot.org>
Mon, 14 Jul 2008 00:46:56 +0000 (00:46 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Jul 2008 00:46:56 +0000 (00:46 +0000)
commitac77bfdbd4d83edbc17c9fd362b5d692cbbeff40
tree0e02698aea676d215294d39ea77881992112dbc2
parent4238453135ed5808b4515f516ed7ccd1fe8a5750
If a function calls setjmp, never inline it into other functions.  This is
a hack around the fact that we don't represent the CFG correctly for sj/lj.
It fixes PR2486.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53540 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineCost.cpp