aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorAnders Waldenborg <anders@0x63.nu>2013-09-20 07:00:36 +0000
committerAnders Waldenborg <anders@0x63.nu>2013-09-20 07:00:36 +0000
commitf46e5eadc307beaef6e8dd0602bb4c63ca41fd50 (patch)
tree2e9e232d689e7e623b7e1b1f404545e2df508184 /lib/ExecutionEngine
parent333983d0c2711b193042a4a484363a2b2e32bc5f (diff)
downloadexternal_llvm-f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.zip
external_llvm-f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.tar.gz
external_llvm-f46e5eadc307beaef6e8dd0602bb4c63ca41fd50.tar.bz2
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')
-rw-r--r--lib/ExecutionEngine/ExecutionEngineBindings.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngineBindings.cpp b/lib/ExecutionEngine/ExecutionEngineBindings.cpp
index f7abf95..88e73bf 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));
}