Ruby: vm_opts.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros
vm_opts.h File Reference

Go to the source code of this file.

## Macros
#define | OPT_TAILCALL_OPTIMIZATION 0
#define | OPT_PEEPHOLE_OPTIMIZATION 1
#define | OPT_SPECIALISED_INSTRUCTION 1
#define | OPT_INLINE_CONST_CACHE 1
#define | OPT_FROZEN_STRING_LITERAL 0
#define | OPT_DEBUG_FROZEN_STRING_LITERAL 0
#define | OPT_THREADED_CODE 0
#define | OPT_DIRECT_THREADED_CODE (OPT_THREADED_CODE == 0)
#define | OPT_TOKEN_THREADED_CODE (OPT_THREADED_CODE == 1)
#define | OPT_CALL_THREADED_CODE (OPT_THREADED_CODE == 2)
#define | OPT_CHECKED_RUN 1
#define | OPT_INLINE_METHOD_CACHE 1
#define | OPT_GLOBAL_METHOD_CACHE 1
#define | OPT_BLOCKINLINING 0
#define | OPT_IC_FOR_IVAR 1
#define | OPT_OPERANDS_UNIFICATION 1
#define | OPT_INSTRUCTIONS_UNIFICATION 0
#define | OPT_UNIFY_ALL_COMBINATION 0
#define | OPT_STACK_CACHING 0
#define | OPT_SUPPORT_JOKE 0
#define | OPT_SUPPORT_CALL_C_FUNCTION 0
#define | VM_COLLECT_USAGE_DETAILS 0

## Macro Definition Documentation

## ◆ OPT_BLOCKINLINING

#define OPT_BLOCKINLINING 0

Definition at line 48 of file vm_opts.h.

## ◆ OPT_CALL_THREADED_CODE

#define OPT_CALL_THREADED_CODE (OPT_THREADED_CODE == 2)

Definition at line 42 of file vm_opts.h.

## ◆ OPT_CHECKED_RUN

#define OPT_CHECKED_RUN 1

Definition at line 45 of file vm_opts.h.

## ◆ OPT_DEBUG_FROZEN_STRING_LITERAL

#define OPT_DEBUG_FROZEN_STRING_LITERAL 0

Definition at line 23 of file vm_opts.h.

## ◆ OPT_DIRECT_THREADED_CODE

#define OPT_DIRECT_THREADED_CODE (OPT_THREADED_CODE == 0)

Definition at line 40 of file vm_opts.h.

## ◆ OPT_FROZEN_STRING_LITERAL

#define OPT_FROZEN_STRING_LITERAL 0

Definition at line 22 of file vm_opts.h.

## ◆ OPT_GLOBAL_METHOD_CACHE

#define OPT_GLOBAL_METHOD_CACHE 1

Definition at line 47 of file vm_opts.h.

## ◆ OPT_IC_FOR_IVAR

#define OPT_IC_FOR_IVAR 1

Definition at line 51 of file vm_opts.h.

## ◆ OPT_INLINE_CONST_CACHE

#define OPT_INLINE_CONST_CACHE 1

Definition at line 21 of file vm_opts.h.

## ◆ OPT_INLINE_METHOD_CACHE

#define OPT_INLINE_METHOD_CACHE 1

Definition at line 46 of file vm_opts.h.

## ◆ OPT_INSTRUCTIONS_UNIFICATION

#define OPT_INSTRUCTIONS_UNIFICATION 0

Definition at line 56 of file vm_opts.h.

## ◆ OPT_OPERANDS_UNIFICATION

#define OPT_OPERANDS_UNIFICATION 1

Definition at line 55 of file vm_opts.h.

## ◆ OPT_PEEPHOLE_OPTIMIZATION

#define OPT_PEEPHOLE_OPTIMIZATION 1

Definition at line 19 of file vm_opts.h.

## ◆ OPT_SPECIALISED_INSTRUCTION

#define OPT_SPECIALISED_INSTRUCTION 1

Definition at line 20 of file vm_opts.h.

## ◆ OPT_STACK_CACHING

#define OPT_STACK_CACHING 0

Definition at line 58 of file vm_opts.h.

## ◆ OPT_SUPPORT_CALL_C_FUNCTION

#define OPT_SUPPORT_CALL_C_FUNCTION 0

Definition at line 66 of file vm_opts.h.

## ◆ OPT_SUPPORT_JOKE

#define OPT_SUPPORT_JOKE 0

Definition at line 62 of file vm_opts.h.

## ◆ OPT_TAILCALL_OPTIMIZATION

#define OPT_TAILCALL_OPTIMIZATION 0

Definition at line 18 of file vm_opts.h.

## ◆ OPT_THREADED_CODE

#define OPT_THREADED_CODE 0

Definition at line 37 of file vm_opts.h.

## ◆ OPT_TOKEN_THREADED_CODE

#define OPT_TOKEN_THREADED_CODE (OPT_THREADED_CODE == 1)

Definition at line 41 of file vm_opts.h.

## ◆ OPT_UNIFY_ALL_COMBINATION

#define OPT_UNIFY_ALL_COMBINATION 0

Definition at line 57 of file vm_opts.h.

## ◆ VM_COLLECT_USAGE_DETAILS

#define VM_COLLECT_USAGE_DETAILS 0

Definition at line 70 of file vm_opts.h.