diff options
author | Anders Waldenborg <anders@0x63.nu> | 2013-09-20 07:00:36 +0000 |
---|---|---|
committer | Anders Waldenborg <anders@0x63.nu> | 2013-09-20 07:00:36 +0000 |
commit | f46e5eadc307beaef6e8dd0602bb4c63ca41fd50 (patch) | |
tree | 2e9e232d689e7e623b7e1b1f404545e2df508184 /lib/ExecutionEngine/ExecutionEngineBindings.cpp | |
parent | 333983d0c2711b193042a4a484363a2b2e32bc5f (diff) | |
download | llvm-f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.tar.gz llvm-f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.tar.bz2 llvm-f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.tar.xz |
Revert "llvm-c: Add LLVMGetPointerToFunction"
This reverts r191030
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/ExecutionEngineBindings.cpp')
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngineBindings.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngineBindings.cpp b/lib/ExecutionEngine/ExecutionEngineBindings.cpp index f7abf95f5e..88e73bf253 100644 --- a/lib/ExecutionEngine/ExecutionEngineBindings.cpp +++ b/lib/ExecutionEngine/ExecutionEngineBindings.cpp @@ -276,10 +276,6 @@ LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, return wrap(Result); } -void *LLVMGetPointerToFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) { - return unwrap(EE)->getPointerToFunction(unwrap<Function>(F)); -} - void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) { unwrap(EE)->freeMachineCodeForFunction(unwrap<Function>(F)); } |