From 9f795134f3ad884f8e3382551271b6f21fe37fe6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 29 Apr 2009 00:32:19 +0000 Subject: The second part of the change from -fast to -O#. This changes the JIT to accept an optimization level instead of a simple boolean telling it to generate code "fast" or the other type of "fast". llvm-svn: 70347 --- llvm/include/llvm-c/ExecutionEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/include/llvm-c/ExecutionEngine.h') diff --git a/llvm/include/llvm-c/ExecutionEngine.h b/llvm/include/llvm-c/ExecutionEngine.h index 8390c682dce..a31dc8246a3 100644 --- a/llvm/include/llvm-c/ExecutionEngine.h +++ b/llvm/include/llvm-c/ExecutionEngine.h @@ -62,7 +62,7 @@ int LLVMCreateInterpreter(LLVMExecutionEngineRef *OutInterp, int LLVMCreateJITCompiler(LLVMExecutionEngineRef *OutJIT, LLVMModuleProviderRef MP, - int Fast, + unsigned OptLevel, char **OutError); void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE); -- cgit v1.2.3