Fix rb_compile_option_t comments [ci skip]

This commit is contained in:
yui-knk 2023-06-18 10:13:02 +09:00 коммит произвёл Yuichiro Kaneko
Родитель 7adab81907
Коммит 1740482d06
2 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -29,15 +29,15 @@ builtin_iseq_load(const char *feature_name, const struct rb_builtin_function *ta
vm->builtin_function_table = table; vm->builtin_function_table = table;
vm->builtin_inline_index = 0; vm->builtin_inline_index = 0;
static const rb_compile_option_t optimization = { static const rb_compile_option_t optimization = {
TRUE, /* int inline_const_cache; */ TRUE, /* unsigned int inline_const_cache; */
TRUE, /* int peephole_optimization; */ TRUE, /* unsigned int peephole_optimization; */
FALSE,/* int tailcall_optimization; */ FALSE,/* unsigned int tailcall_optimization; */
TRUE, /* int specialized_instruction; */ TRUE, /* unsigned int specialized_instruction; */
TRUE, /* int operands_unification; */ TRUE, /* unsigned int operands_unification; */
TRUE, /* int instructions_unification; */ TRUE, /* unsigned int instructions_unification; */
TRUE, /* int stack_caching; */ TRUE, /* unsigned int stack_caching; */
TRUE, /* int frozen_string_literal; */ TRUE, /* unsigned int frozen_string_literal; */
FALSE, /* int debug_frozen_string_literal; */ FALSE, /* unsigned int debug_frozen_string_literal; */
FALSE, /* unsigned int coverage_enabled; */ FALSE, /* unsigned int coverage_enabled; */
0, /* int debug_level; */ 0, /* int debug_level; */
}; };

Просмотреть файл

@ -180,15 +180,15 @@ static void
prelude_eval(VALUE code, VALUE name, int line) prelude_eval(VALUE code, VALUE name, int line)
{ {
static const rb_compile_option_t optimization = { static const rb_compile_option_t optimization = {
TRUE, /* int inline_const_cache; */ TRUE, /* unsigned int inline_const_cache; */
TRUE, /* int peephole_optimization; */ TRUE, /* unsigned int peephole_optimization; */
FALSE,/* int tailcall_optimization; */ FALSE,/* unsigned int tailcall_optimization; */
TRUE, /* int specialized_instruction; */ TRUE, /* unsigned int specialized_instruction; */
TRUE, /* int operands_unification; */ TRUE, /* unsigned int operands_unification; */
TRUE, /* int instructions_unification; */ TRUE, /* unsigned int instructions_unification; */
TRUE, /* int stack_caching; */ TRUE, /* unsigned int stack_caching; */
TRUE, /* int frozen_string_literal; */ TRUE, /* unsigned int frozen_string_literal; */
FALSE, /* int debug_frozen_string_literal; */ FALSE, /* unsigned int debug_frozen_string_literal; */
FALSE, /* unsigned int coverage_enabled; */ FALSE, /* unsigned int coverage_enabled; */
0, /* int debug_level; */ 0, /* int debug_level; */
}; };