diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-25 03:19:12 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-25 03:19:12 +0000 |
commit | 837448bc194532831e463970bf891b4cbc75e618 (patch) | |
tree | ede2f6710df22c7c02cc82faea1a9be6a0a4e1a7 /llvm/include/llvm-c/ExecutionEngine.h | |
parent | ba5899c5635e806a6aeb4c82516205344acae359 (diff) | |
download | llvm-837448bc194532831e463970bf891b4cbc75e618.zip llvm-837448bc194532831e463970bf891b4cbc75e618.tar.gz llvm-837448bc194532831e463970bf891b4cbc75e618.tar.bz2 |
Revert "Exposing MCJIT through C API"
This reverts commit 8c31b298149ca3c3f2bbd9e8aa9a01c4d91f3d74.
It looks like this commit broke some bots:
http://lab.llvm.org:8011/builders/llvm-ppc64-linux2/builds/5209
llvm-svn: 180248
Diffstat (limited to 'llvm/include/llvm-c/ExecutionEngine.h')
-rw-r--r-- | llvm/include/llvm-c/ExecutionEngine.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/include/llvm-c/ExecutionEngine.h b/llvm/include/llvm-c/ExecutionEngine.h index 8b654d5..be76331 100644 --- a/llvm/include/llvm-c/ExecutionEngine.h +++ b/llvm/include/llvm-c/ExecutionEngine.h @@ -34,17 +34,11 @@ extern "C" { */ void LLVMLinkInJIT(void); -void LLVMLinkInMCJIT(void); void LLVMLinkInInterpreter(void); typedef struct LLVMOpaqueGenericValue *LLVMGenericValueRef; typedef struct LLVMOpaqueExecutionEngine *LLVMExecutionEngineRef; -struct LLVMMCJITCompilerOptions { - unsigned OptLevel; - LLVMBool NoFramePointerElim; -}; - /*===-- Operations on generic values --------------------------------------===*/ LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, @@ -81,28 +75,6 @@ LLVMBool LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef *OutJIT, unsigned OptLevel, char **OutError); -/** - * Create an MCJIT execution engine for a module, with the given options. It is - * the responsibility of the caller to ensure that all fields in Options up to - * the given SizeOfOptions are initialized. It is correct to pass a smaller value - * of SizeOfOptions that omits some fields, and it is also correct to set any - * field to zero. The canonical way of using this is: - * - * LLVMMCJITCompilerOptions options; - * memset(&options, 0, sizeof(options)); - * ... fill in those options you care about - * LLVMCreateMCJITCompilerForModule(&jit, mod, &options, sizeof(options), &error); - * - * Note that this is also correct, though possibly suboptimal: - * - * LLVMCreateMCJITCompilerForModule(&jit, mod, 0, 0, &error); - */ -LLVMBool LLVMCreateMCJITCompilerForModule(LLVMExecutionEngineRef *OutJIT, - LLVMModuleRef M, - struct LLVMMCJITCompilerOptions *Options, - size_t SizeOfOptions, - char **OutError); - /** Deprecated: Use LLVMCreateExecutionEngineForModule instead. */ LLVMBool LLVMCreateExecutionEngine(LLVMExecutionEngineRef *OutEE, LLVMModuleProviderRef MP, |