errorstr can be null, don't unconditionally set it. Only report that
authorChris Lattner <sabre@nondot.org>
Wed, 23 Sep 2009 02:03:49 +0000 (02:03 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Sep 2009 02:03:49 +0000 (02:03 +0000)
commitc72efbeb42a9eaa0a83b8bba4954dcaf9ae64103
treee69093a817a7cc7a49b1289979a7c2d8f26e2a3d
parentfbd39762e9db897ffd8e30ce7d387715cba6d4c1
errorstr can be null, don't unconditionally set it.  Only report that
"the jit has not been linked in" if the interpreter failed.

This fixes a unit test failure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82601 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/ExecutionEngine.cpp