From 62825876f4f1ebe3a93e1ddc0184144c287ce2d3 Mon Sep 17 00:00:00 2001 From: Aleksey Demakov Date: Fri, 5 Jun 2009 17:03:10 +0000 Subject: [PATCH] add JIT_OPTLEVEL_NONE and JIT_OPTLEVEL_NORMAL constants --- ChangeLog | 5 +++++ include/jit/jit-function.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 64a9776..9a9f294 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-05 Aleksey Demakov + + * include/jit/jit-function.h: add optimization level constants + JIT_OPTLEVEL_NONE and JIT_OPTLEVEL_NORMAL, + 2009-05-10 Aleksey Demakov * include/jit/jit-except.h (JIT_RESULT_UNDEFINED_LABEL): diff --git a/include/jit/jit-function.h b/include/jit/jit-function.h index 26429da..708b77d 100644 --- a/include/jit/jit-function.h +++ b/include/jit/jit-function.h @@ -27,6 +27,10 @@ extern "C" { #endif +/* Optimization levels */ +#define JIT_OPTLEVEL_NONE 0 +#define JIT_OPTLEVEL_NORMAL 1 + jit_function_t jit_function_create (jit_context_t context, jit_type_t signature) JIT_NOTHROW; jit_function_t jit_function_create_nested -- 2.47.3