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 | |
parent | 333983d0c2711b193042a4a484363a2b2e32bc5f (diff) | |
download | external_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
-rw-r--r-- | include/llvm-c/ExecutionEngine.h | 2 | ||||
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngineBindings.cpp | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h index 696d871..50fdb6b 100644 --- a/include/llvm-c/ExecutionEngine.h +++ b/include/llvm-c/ExecutionEngine.h @@ -141,8 +141,6 @@ LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned NumArgs, LLVMGenericValueRef *Args); -void *LLVMGetPointerToFunction(LLVMExecutionEngineRef EE, LLVMValueRef F); - void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F); void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M); 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)); } |