Fix a bug introduced by r59265. If lazy compilation is disabled, return actual functi...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 10 Dec 2008 01:33:59 +0000 (01:33 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 10 Dec 2008 01:33:59 +0000 (01:33 +0000)
commit369e02da1b0f7a183c7d15a5d87a1a2c3db5f45a
tree0cc6c5fdc9c8555cd2d27377ae5852a2ecd8f4a4
parent2dae65d13b958c42561ece77e7f344ffb00c26c7
Fix a bug introduced by r59265. If lazy compilation is disabled, return actual function ptr instead of ptr to stub if function is already compiled.

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