mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Revert "llvm-c: Add LLVMGetPointerToFunction"
This reverts r191030 llvm-svn: 191075
This commit is contained in:
parent
6670549a2c
commit
70a0f09515
@ -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);
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user