Partially revert r91626. Materializing extra functions to determine whether
authorJeffrey Yasskin <jyasskin@google.com>
Tue, 22 Dec 2009 23:47:23 +0000 (23:47 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Tue, 22 Dec 2009 23:47:23 +0000 (23:47 +0000)
commitc5818fb83750259f23f70e91ee9fb9b11d67160d
tree1d3b225a256beb93ab8489dc6ec22413296cbc9e
parent3dbcb55b40e3916d538fb6e21ba1662dc82c8fa6
Partially revert r91626.  Materializing extra functions to determine whether
they're available_externally broke VMKit, which was relying on the fact that
functions would only be materialized when they were first called.  We'll have
to wait for http://llvm.org/PR5737 to really fix this.

I also added a test for one of the F->isDeclaration() calls which wasn't
covered by anything else in the test suite.

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