Use stubs when we have them, otherwise use code we already have,
authorEric Christopher <echristo@apple.com>
Thu, 12 Nov 2009 03:12:18 +0000 (03:12 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 12 Nov 2009 03:12:18 +0000 (03:12 +0000)
commit116664a697f9c2cdccc0df46c53f65c9f6bb22fe
treeab644f43aea3a4594c08c4abf8b1cb173b493975
parentdfa9261f6835f728d9009f16fa51cff25cf20aa9
Use stubs when we have them, otherwise use code we already have,
otherwise create a stub.

Add a test to make sure we don't create extraneous stubs.

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