[ruby/irb] Improve help message for no meta commands
[ruby.git] / rjit_c.h
blob029f811637b534a6c44eee3422ea3f47aa91201c
1 // This file is parsed by tool/rjit/generate.rb to generate rjit_c.rb
2 #ifndef RJIT_C_H
3 #define RJIT_C_H
5 #include "ruby/internal/config.h"
6 #include "internal/string.h"
7 #include "internal/struct.h"
8 #include "internal/variable.h"
9 #include "vm_core.h"
10 #include "vm_callinfo.h"
11 #include "builtin.h"
12 #include "ccan/list/list.h"
13 #include "rjit.h"
14 #include "shape.h"
16 extern uint8_t *rb_rjit_mem_block;
18 #define RJIT_RUNTIME_COUNTERS(...) struct rb_rjit_runtime_counters { size_t __VA_ARGS__; };
19 RJIT_RUNTIME_COUNTERS(
20 rjit_insns_count,
22 send_args_splat_kw_splat,
23 send_args_splat,
24 send_args_splat_not_array,
25 send_args_splat_length_not_equal,
26 send_args_splat_cfunc_var_args,
27 send_args_splat_arity_error,
28 send_args_splat_ruby2_hash,
29 send_args_splat_cfunc_zuper,
30 send_args_splat_cfunc_ruby2_keywords,
31 send_kw_splat,
32 send_kwarg,
33 send_klass_megamorphic,
34 send_missing_cme,
35 send_private,
36 send_protected_check_failed,
37 send_tailcall,
38 send_notimplemented,
39 send_missing,
40 send_bmethod,
41 send_alias,
42 send_undef,
43 send_zsuper,
44 send_refined,
45 send_stackoverflow,
46 send_arity,
47 send_c_tracing,
48 send_is_a_class_mismatch,
49 send_instance_of_class_mismatch,
50 send_keywords,
52 send_blockiseq,
53 send_block_handler,
54 send_block_setup,
55 send_block_not_nil,
56 send_block_not_proxy,
57 send_block_arg,
59 send_iseq_kwparam,
60 send_iseq_accepts_no_kwarg,
61 send_iseq_has_opt,
62 send_iseq_has_kwrest,
63 send_iseq_ruby2_keywords,
64 send_iseq_has_rest_and_captured,
65 send_iseq_has_rest_and_kw_supplied,
66 send_iseq_has_no_kw,
67 send_iseq_zsuper,
68 send_iseq_materialized_block,
69 send_iseq_has_rest,
70 send_iseq_block_arg0_splat,
71 send_iseq_kw_call,
72 send_iseq_kw_splat,
73 send_iseq_splat,
74 send_iseq_has_rest_and_optional,
75 send_iseq_arity_error,
76 send_iseq_missing_optional_kw,
77 send_iseq_too_many_kwargs,
78 send_iseq_kwargs_mismatch,
79 send_iseq_splat_with_kw,
80 send_iseq_splat_arity_error,
81 send_iseq_has_rest_and_splat_not_equal,
83 send_cfunc_variadic,
84 send_cfunc_too_many_args,
85 send_cfunc_ruby_array_varg,
86 send_cfunc_splat_with_kw,
87 send_cfunc_tracing,
88 send_cfunc_argc_mismatch,
89 send_cfunc_toomany_args,
91 send_attrset_splat,
92 send_attrset_kwarg,
93 send_attrset_method,
95 send_ivar_splat,
96 send_ivar_opt_send,
98 send_optimized_send_no_args,
99 send_optimized_send_not_sym_or_str,
100 send_optimized_send_mid_class_changed,
101 send_optimized_send_mid_id_changed,
102 send_optimized_send_null_mid,
103 send_optimized_send_send,
104 send_optimized_call_block,
105 send_optimized_call_kwarg,
106 send_optimized_call_splat,
107 send_optimized_struct_aref_error,
109 send_optimized_block_call,
110 send_optimized_struct_aset,
112 send_bmethod_not_iseq,
113 send_bmethod_blockarg,
115 invokesuper_me_changed,
116 invokesuper_block,
118 invokeblock_none,
119 invokeblock_symbol,
120 invokeblock_proc,
121 invokeblock_tag_changed,
122 invokeblock_iseq_block_changed,
123 invokeblock_iseq_arity,
124 invokeblock_iseq_arg0_splat,
125 invokeblock_ifunc_args_splat,
126 invokeblock_ifunc_kw_splat,
127 invokeblock_iseq_arg0_args_splat,
128 invokeblock_iseq_arg0_has_kw,
130 getivar_megamorphic,
131 getivar_not_heap,
132 getivar_special_const,
133 getivar_too_complex,
135 optaref_arg_not_fixnum,
136 optaref_argc_not_one,
137 optaref_recv_not_array,
138 optaref_recv_not_hash,
139 optaref_send,
141 optgetconst_not_cached,
142 optgetconst_cref,
143 optgetconst_cache_miss,
145 setivar_frozen,
146 setivar_not_heap,
147 setivar_megamorphic,
148 setivar_too_complex,
150 expandarray_splat,
151 expandarray_postarg,
152 expandarray_not_array,
153 expandarray_rhs_too_small,
155 getblockpp_block_param_modified,
156 getblockpp_block_handler_none,
157 getblockpp_not_gc_guarded,
158 getblockpp_not_iseq_block,
160 compiled_block_count
162 #undef RJIT_RUNTIME_COUNTERS
163 extern struct rb_rjit_runtime_counters rb_rjit_counters;
165 #endif /* RJIT_C_H */