Reapply r57340. VMKit does not presently rely on materializeFunction
authorDan Gohman <gohman@apple.com>
Thu, 19 Feb 2009 02:40:15 +0000 (02:40 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 19 Feb 2009 02:40:15 +0000 (02:40 +0000)
commita3ac0c105d26f8535d03031db7e97274b3ff8159
tree65182115ed7ea6e335aaa1083bf7b01b12958894
parent4b56f96bc60ca8cbd0daf74118484af99c591f91
Reapply r57340. VMKit does not presently rely on materializeFunction
being called with the lock released, and this fixes a race condition
in the JIT as used by lli.

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