4
4
vm_opts.h - VM optimize option
7
$Date: 2007-05-21 13:46:51 +0900 (月, 21 5月 2007) $
7
$Date: 2007-08-19 13:16:13 +0900 (日, 19 8月 2007) $
9
9
Copyright (C) 2004-2006 Koichi Sasada
14
14
#ifndef VM_OPTS_H_INCLUDED
15
15
#define VM_OPTS_H_INCLUDED
18
* You can change these options at runtime by VM::CompileOption.
19
* Following definitions are default values.
22
#define OPT_TRACE_INSTRUCTION 0
23
#define OPT_TAILCALL_OPTIMIZATION 0
24
#define OPT_PEEPHOLE_OPTIMIZATION 1
25
#define OPT_SPECIALISED_INSTRUCTION 1
26
#define OPT_INLINE_CONST_CACHE 1
30
* You can't change these options at runtime.
17
33
/* C compiler depend */
18
34
#define OPT_DIRECT_THREADED_CODE 1
19
35
#define OPT_CALL_THREADED_CODE 0
21
/* architecture independent */
23
37
/* VM running option */
24
38
#define OPT_CHECKED_RUN 1
25
#define OPT_TRACE_INSTRUCTION 0 /* default value */
28
#define OPT_INLINE_CONST_CACHE 1
29
#define OPT_TAILCALL_OPTIMIZATION 0 /* default value */
30
#define OPT_PEEPHOLE_OPTIMIZATION 1
31
#define OPT_SPECIALISED_INSTRUCTION 1
34
39
#define OPT_INLINE_METHOD_CACHE 1
35
40
#define OPT_BLOCKINLINING 0
37
42
/* architecture independent, affects generated code */
38
43
#define OPT_OPERANDS_UNIFICATION 0
39
44
#define OPT_INSTRUCTIONS_UNIFICATION 0
41
/* code generation parameter */
42
45
#define OPT_UNIFY_ALL_COMBINATION 0
43
46
#define OPT_STACK_CACHING 0