[ExecutionEngine] Use std::function rather than a function pointer for the
authorLang Hames <lhames@gmail.com>
Fri, 10 Jul 2015 22:56:47 +0000 (22:56 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 10 Jul 2015 22:56:47 +0000 (22:56 +0000)
commitb9b04eeb85b2bc4f54003a9436f792e13f4d37ad
treec137fbde74acb8557bc6bd5efe4e6db63ae707bc
parentc9978bab4bc4bafc2d2d2ca2c76f48c02c274df4
[ExecutionEngine] Use std::function rather than a function pointer for the
LazyFunctionCreator.

Patch by Pierre-Andre Saulais. Thanks Pierre!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241962 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/ExecutionEngine.h
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp