[llvm] r191075 - Revert "llvm-c: Add LLVMGetPointerToFunction"
Anders Waldenborg
anders at 0x63.nu
Fri Sep 20 00:00:36 PDT 2013
Author: andersg
Date: Fri Sep 20 02:00:36 2013
New Revision: 191075
URL: http://llvm.org/viewvc/llvm-project?rev=191075&view=rev
Log:
Revert "llvm-c: Add LLVMGetPointerToFunction"
This reverts r191030
Modified:
llvm/trunk/include/llvm-c/ExecutionEngine.h
llvm/trunk/lib/ExecutionEngine/ExecutionEngineBindings.cpp
Modified: llvm/trunk/include/llvm-c/ExecutionEngine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/ExecutionEngine.h?rev=191075&r1=191074&r2=191075&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/ExecutionEngine.h (original)
+++ llvm/trunk/include/llvm-c/ExecutionEngine.h Fri Sep 20 02:00:36 2013
@@ -141,8 +141,6 @@ LLVMGenericValueRef LLVMRunFunction(LLVM
unsigned NumArgs,
LLVMGenericValueRef *Args);
-void *LLVMGetPointerToFunction(LLVMExecutionEngineRef EE, LLVMValueRef F);
-
void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F);
void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M);
Modified: llvm/trunk/lib/ExecutionEngine/ExecutionEngineBindings.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/ExecutionEngineBindings.cpp?rev=191075&r1=191074&r2=191075&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/ExecutionEngineBindings.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/ExecutionEngineBindings.cpp Fri Sep 20 02:00:36 2013
@@ -276,10 +276,6 @@ LLVMGenericValueRef LLVMRunFunction(LLVM
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));
}
More information about the llvm-commits
mailing list