summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-12-19 21:42:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-12-19 21:42:07 +0000
commit9c2c05d70e84a8de4f2756c11b6d19d5c67ab527 (patch)
tree9f1e2e39e4ab9c8af93c4360f2c420cece38b003 /lib
parent6a98395fc616b9afbffaef02cf22d7ad707d2e6d (diff)
Delete APIs that have been deprecated since 2010.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/ExecutionEngine/ExecutionEngineBindings.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngineBindings.cpp b/lib/ExecutionEngine/ExecutionEngineBindings.cpp
index f7aba4cec04..ff7c4dce0d5 100644
--- a/lib/ExecutionEngine/ExecutionEngineBindings.cpp
+++ b/lib/ExecutionEngine/ExecutionEngineBindings.cpp
@@ -210,35 +210,6 @@ LLVMBool LLVMCreateMCJITCompilerForModule(
return 1;
}
-LLVMBool LLVMCreateExecutionEngine(LLVMExecutionEngineRef *OutEE,
- LLVMModuleProviderRef MP,
- char **OutError) {
- /* The module provider is now actually a module. */
- return LLVMCreateExecutionEngineForModule(OutEE,
- reinterpret_cast<LLVMModuleRef>(MP),
- OutError);
-}
-
-LLVMBool LLVMCreateInterpreter(LLVMExecutionEngineRef *OutInterp,
- LLVMModuleProviderRef MP,
- char **OutError) {
- /* The module provider is now actually a module. */
- return LLVMCreateInterpreterForModule(OutInterp,
- reinterpret_cast<LLVMModuleRef>(MP),
- OutError);
-}
-
-LLVMBool LLVMCreateJITCompiler(LLVMExecutionEngineRef *OutJIT,
- LLVMModuleProviderRef MP,
- unsigned OptLevel,
- char **OutError) {
- /* The module provider is now actually a module. */
- return LLVMCreateJITCompilerForModule(OutJIT,
- reinterpret_cast<LLVMModuleRef>(MP),
- OptLevel, OutError);
-}
-
-
void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) {
delete unwrap(EE);
}
@@ -282,11 +253,6 @@ void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){
unwrap(EE)->addModule(std::unique_ptr<Module>(unwrap(M)));
}
-void LLVMAddModuleProvider(LLVMExecutionEngineRef EE, LLVMModuleProviderRef MP){
- /* The module provider is now actually a module. */
- LLVMAddModule(EE, reinterpret_cast<LLVMModuleRef>(MP));
-}
-
LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
LLVMModuleRef *OutMod, char **OutError) {
Module *Mod = unwrap(M);
@@ -295,14 +261,6 @@ LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
return 0;
}
-LLVMBool LLVMRemoveModuleProvider(LLVMExecutionEngineRef EE,
- LLVMModuleProviderRef MP,
- LLVMModuleRef *OutMod, char **OutError) {
- /* The module provider is now actually a module. */
- return LLVMRemoveModule(EE, reinterpret_cast<LLVMModuleRef>(MP), OutMod,
- OutError);
-}
-
LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name,
LLVMValueRef *OutFn) {
if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {