debase-ruby_core_source 0.10.5 → 0.10.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/README.md +1 -1
  4. data/debase-ruby_core_source.gemspec +3 -2
  5. data/lib/debase/ruby_core_source.rb +1 -1
  6. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/addr2line.h +21 -0
  7. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/ccan/build_assert/build_assert.h +40 -0
  8. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/ccan/check_type/check_type.h +63 -0
  9. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/ccan/container_of/container_of.h +142 -0
  10. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/ccan/list/list.h +788 -0
  11. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/ccan/str/str.h +16 -0
  12. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/constant.h +51 -0
  13. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/debug_counter.h +283 -0
  14. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/dln.h +51 -0
  15. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/encindex.h +69 -0
  16. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/eval_intern.h +333 -0
  17. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/gc.h +116 -0
  18. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/hrtime.h +168 -0
  19. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/id.h +252 -0
  20. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/id_table.h +31 -0
  21. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/insns.inc +249 -0
  22. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/insns_info.inc +9374 -0
  23. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/internal.h +2470 -0
  24. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/iseq.h +304 -0
  25. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/known_errors.inc +791 -0
  26. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/method.h +229 -0
  27. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/mjit.h +148 -0
  28. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/mjit_compile.inc +4226 -0
  29. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/node.h +449 -0
  30. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/node_name.inc +200 -0
  31. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/opt_sc.inc +109 -0
  32. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/optinsn.inc +128 -0
  33. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/optunifs.inc +43 -0
  34. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/parse.h +207 -0
  35. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/probes_helper.h +42 -0
  36. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/regenc.h +254 -0
  37. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/regint.h +938 -0
  38. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/regparse.h +370 -0
  39. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/revision.h +1 -0
  40. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/ruby_assert.h +60 -0
  41. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/ruby_atomic.h +244 -0
  42. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/siphash.h +48 -0
  43. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/symbol.h +112 -0
  44. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/thread_pthread.h +75 -0
  45. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/thread_win32.h +36 -0
  46. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/timev.h +53 -0
  47. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/transcode_data.h +139 -0
  48. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/transient_heap.h +60 -0
  49. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/version.h +73 -0
  50. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/vm.inc +4504 -0
  51. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/vm_call_iseq_optimized.inc +213 -0
  52. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/vm_core.h +1910 -0
  53. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/vm_debug.h +37 -0
  54. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/vm_exec.h +202 -0
  55. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/vm_insnhelper.h +316 -0
  56. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/vm_opts.h +70 -0
  57. data/lib/debase/ruby_core_source/ruby-2.6.5-p114/vmtc.inc +243 -0
  58. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/addr2line.h +21 -0
  59. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/builtin.h +78 -0
  60. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/ccan/build_assert/build_assert.h +40 -0
  61. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/ccan/check_type/check_type.h +63 -0
  62. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/ccan/container_of/container_of.h +142 -0
  63. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/ccan/list/list.h +788 -0
  64. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/ccan/str/str.h +16 -0
  65. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/constant.h +50 -0
  66. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/debug_counter.h +390 -0
  67. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/dln.h +51 -0
  68. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/encindex.h +69 -0
  69. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/eval_intern.h +312 -0
  70. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/gc.h +131 -0
  71. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/hrtime.h +168 -0
  72. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/id.h +290 -0
  73. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/id_table.h +34 -0
  74. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/insns.inc +253 -0
  75. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/insns_info.inc +9197 -0
  76. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/internal.h +2697 -0
  77. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/iseq.h +312 -0
  78. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/known_errors.inc +791 -0
  79. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/method.h +229 -0
  80. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/mjit.h +177 -0
  81. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/mjit_compile.inc +7779 -0
  82. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/node.h +476 -0
  83. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/node_name.inc +208 -0
  84. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/opt_sc.inc +109 -0
  85. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/optinsn.inc +128 -0
  86. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/optunifs.inc +43 -0
  87. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/parse.h +210 -0
  88. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/probes_helper.h +42 -0
  89. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/regenc.h +254 -0
  90. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/regint.h +938 -0
  91. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/regparse.h +370 -0
  92. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/revision.h +2 -0
  93. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/ruby_assert.h +15 -0
  94. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/ruby_atomic.h +244 -0
  95. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/siphash.h +48 -0
  96. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/symbol.h +119 -0
  97. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/thread_pthread.h +75 -0
  98. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/thread_win32.h +36 -0
  99. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/timev.h +56 -0
  100. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/transcode_data.h +139 -0
  101. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/transient_heap.h +62 -0
  102. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/variable.h +9 -0
  103. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/version.h +77 -0
  104. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/vm.inc +5466 -0
  105. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/vm_call_iseq_optimized.inc +237 -0
  106. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/vm_core.h +1968 -0
  107. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/vm_debug.h +34 -0
  108. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/vm_exec.h +193 -0
  109. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/vm_insnhelper.h +267 -0
  110. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/vm_opts.h +72 -0
  111. data/lib/debase/ruby_core_source/ruby-2.7.0-p0/vmtc.inc +247 -0
  112. data/lib/debase/ruby_core_source/version.rb +1 -1
  113. metadata +128 -8
@@ -0,0 +1,304 @@
1
+ /**********************************************************************
2
+
3
+ iseq.h -
4
+
5
+ $Author: ko1 $
6
+ created at: 04/01/01 23:36:57 JST
7
+
8
+ Copyright (C) 2004-2008 Koichi Sasada
9
+
10
+ **********************************************************************/
11
+
12
+ #ifndef RUBY_ISEQ_H
13
+ #define RUBY_ISEQ_H 1
14
+
15
+ RUBY_EXTERN const int ruby_api_version[];
16
+ #define ISEQ_MAJOR_VERSION ((unsigned int)ruby_api_version[0])
17
+ #define ISEQ_MINOR_VERSION ((unsigned int)ruby_api_version[1])
18
+
19
+ #ifndef rb_iseq_t
20
+ typedef struct rb_iseq_struct rb_iseq_t;
21
+ #define rb_iseq_t rb_iseq_t
22
+ #endif
23
+
24
+ static inline size_t
25
+ rb_call_info_kw_arg_bytes(int keyword_len)
26
+ {
27
+ return sizeof(struct rb_call_info_kw_arg) + sizeof(VALUE) * (keyword_len - 1);
28
+ }
29
+
30
+ #define ISEQ_COVERAGE(iseq) iseq->body->variable.coverage
31
+ #define ISEQ_COVERAGE_SET(iseq, cov) RB_OBJ_WRITE(iseq, &iseq->body->variable.coverage, cov)
32
+ #define ISEQ_LINE_COVERAGE(iseq) RARRAY_AREF(ISEQ_COVERAGE(iseq), COVERAGE_INDEX_LINES)
33
+ #define ISEQ_BRANCH_COVERAGE(iseq) RARRAY_AREF(ISEQ_COVERAGE(iseq), COVERAGE_INDEX_BRANCHES)
34
+
35
+ #define ISEQ_PC2BRANCHINDEX(iseq) iseq->body->variable.pc2branchindex
36
+ #define ISEQ_PC2BRANCHINDEX_SET(iseq, h) RB_OBJ_WRITE(iseq, &iseq->body->variable.pc2branchindex, h)
37
+
38
+ #define ISEQ_FLIP_CNT(iseq) (iseq)->body->variable.flip_count
39
+
40
+ static inline rb_snum_t
41
+ ISEQ_FLIP_CNT_INCREMENT(const rb_iseq_t *iseq)
42
+ {
43
+ rb_snum_t cnt = iseq->body->variable.flip_count;
44
+ iseq->body->variable.flip_count += 1;
45
+ return cnt;
46
+ }
47
+
48
+ static inline VALUE *
49
+ ISEQ_ORIGINAL_ISEQ(const rb_iseq_t *iseq)
50
+ {
51
+ return iseq->body->variable.original_iseq;
52
+ }
53
+
54
+ static inline void
55
+ ISEQ_ORIGINAL_ISEQ_CLEAR(const rb_iseq_t *iseq)
56
+ {
57
+ void *ptr = iseq->body->variable.original_iseq;
58
+ iseq->body->variable.original_iseq = NULL;
59
+ if (ptr) {
60
+ ruby_xfree(ptr);
61
+ }
62
+ }
63
+
64
+ static inline VALUE *
65
+ ISEQ_ORIGINAL_ISEQ_ALLOC(const rb_iseq_t *iseq, long size)
66
+ {
67
+ return iseq->body->variable.original_iseq =
68
+ ruby_xmalloc2(size, sizeof(VALUE));
69
+ }
70
+
71
+ #define ISEQ_TRACE_EVENTS (RUBY_EVENT_LINE | \
72
+ RUBY_EVENT_CLASS | \
73
+ RUBY_EVENT_END | \
74
+ RUBY_EVENT_CALL | \
75
+ RUBY_EVENT_RETURN| \
76
+ RUBY_EVENT_B_CALL| \
77
+ RUBY_EVENT_B_RETURN| \
78
+ RUBY_EVENT_COVERAGE_LINE| \
79
+ RUBY_EVENT_COVERAGE_BRANCH)
80
+
81
+ #define ISEQ_NOT_LOADED_YET IMEMO_FL_USER1
82
+ #define ISEQ_USE_COMPILE_DATA IMEMO_FL_USER2
83
+ #define ISEQ_TRANSLATED IMEMO_FL_USER3
84
+ #define ISEQ_MARKABLE_ISEQ IMEMO_FL_USER4
85
+
86
+ #define ISEQ_EXECUTABLE_P(iseq) (FL_TEST_RAW((iseq), ISEQ_NOT_LOADED_YET | ISEQ_USE_COMPILE_DATA) == 0)
87
+
88
+ struct iseq_compile_data {
89
+ /* GC is needed */
90
+ const VALUE err_info;
91
+ VALUE mark_ary;
92
+ const VALUE catch_table_ary; /* Array */
93
+
94
+ /* GC is not needed */
95
+ struct iseq_label_data *start_label;
96
+ struct iseq_label_data *end_label;
97
+ struct iseq_label_data *redo_label;
98
+ const rb_iseq_t *current_block;
99
+ VALUE ensure_node;
100
+ VALUE for_iseq;
101
+ struct iseq_compile_data_ensure_node_stack *ensure_node_stack;
102
+ struct iseq_compile_data_storage *storage_head;
103
+ struct iseq_compile_data_storage *storage_current;
104
+ int loopval_popped; /* used by NODE_BREAK */
105
+ int last_line;
106
+ int label_no;
107
+ int node_level;
108
+ unsigned int ci_index;
109
+ unsigned int ci_kw_index;
110
+ const rb_compile_option_t *option;
111
+ struct rb_id_table *ivar_cache_table;
112
+ #if SUPPORT_JOKE
113
+ st_table *labels_table;
114
+ #endif
115
+ };
116
+
117
+ static inline struct iseq_compile_data *
118
+ ISEQ_COMPILE_DATA(const rb_iseq_t *iseq)
119
+ {
120
+ if (iseq->flags & ISEQ_USE_COMPILE_DATA) {
121
+ return iseq->aux.compile_data;
122
+ }
123
+ else {
124
+ return NULL;
125
+ }
126
+ }
127
+
128
+ static inline void
129
+ ISEQ_COMPILE_DATA_ALLOC(rb_iseq_t *iseq)
130
+ {
131
+ iseq->aux.compile_data = ZALLOC(struct iseq_compile_data);
132
+ iseq->flags |= ISEQ_USE_COMPILE_DATA;
133
+ }
134
+
135
+ static inline void
136
+ ISEQ_COMPILE_DATA_CLEAR(rb_iseq_t *iseq)
137
+ {
138
+ iseq->flags &= ~ISEQ_USE_COMPILE_DATA;
139
+ iseq->aux.compile_data = NULL;
140
+ }
141
+
142
+ static inline rb_iseq_t *
143
+ iseq_imemo_alloc(void)
144
+ {
145
+ return (rb_iseq_t *)rb_imemo_new(imemo_iseq, 0, 0, 0, 0);
146
+ }
147
+
148
+ VALUE rb_iseq_ibf_dump(const rb_iseq_t *iseq, VALUE opt);
149
+ void rb_ibf_load_iseq_complete(rb_iseq_t *iseq);
150
+ const rb_iseq_t *rb_iseq_ibf_load(VALUE str);
151
+ VALUE rb_iseq_ibf_load_extra_data(VALUE str);
152
+ void rb_iseq_init_trace(rb_iseq_t *iseq);
153
+ int rb_iseq_add_local_tracepoint_recursively(const rb_iseq_t *iseq, rb_event_flag_t turnon_events, VALUE tpval, unsigned int target_line);
154
+ int rb_iseq_remove_local_tracepoint_recursively(const rb_iseq_t *iseq, VALUE tpval);
155
+ const rb_iseq_t *rb_iseq_load_iseq(VALUE fname);
156
+
157
+ #if VM_INSN_INFO_TABLE_IMPL == 2
158
+ unsigned int *rb_iseq_insns_info_decode_positions(const struct rb_iseq_constant_body *body);
159
+ #endif
160
+
161
+ RUBY_SYMBOL_EXPORT_BEGIN
162
+
163
+ /* compile.c */
164
+ VALUE rb_iseq_compile_node(rb_iseq_t *iseq, const NODE *node);
165
+ VALUE rb_iseq_compile_ifunc(rb_iseq_t *iseq, const struct vm_ifunc *ifunc);
166
+ int rb_iseq_translate_threaded_code(rb_iseq_t *iseq);
167
+ VALUE *rb_iseq_original_iseq(const rb_iseq_t *iseq);
168
+ void rb_iseq_build_from_ary(rb_iseq_t *iseq, VALUE misc,
169
+ VALUE locals, VALUE args,
170
+ VALUE exception, VALUE body);
171
+
172
+ /* iseq.c */
173
+ VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt);
174
+ VALUE rb_iseq_parameters(const rb_iseq_t *iseq, int is_proc);
175
+ struct st_table *ruby_insn_make_insn_table(void);
176
+ unsigned int rb_iseq_line_no(const rb_iseq_t *iseq, size_t pos);
177
+ void rb_iseq_trace_set(const rb_iseq_t *iseq, rb_event_flag_t turnon_events);
178
+ void rb_iseq_trace_set_all(rb_event_flag_t turnon_events);
179
+ void rb_iseq_trace_on_all(void);
180
+ void rb_iseq_insns_info_encode_positions(const rb_iseq_t *iseq);
181
+
182
+ VALUE rb_iseqw_new(const rb_iseq_t *iseq);
183
+ const rb_iseq_t *rb_iseqw_to_iseq(VALUE iseqw);
184
+
185
+ VALUE rb_iseq_absolute_path(const rb_iseq_t *iseq); /* obsolete */
186
+ VALUE rb_iseq_label(const rb_iseq_t *iseq);
187
+ VALUE rb_iseq_base_label(const rb_iseq_t *iseq);
188
+ VALUE rb_iseq_first_lineno(const rb_iseq_t *iseq);
189
+ VALUE rb_iseq_method_name(const rb_iseq_t *iseq);
190
+ void rb_iseq_code_location(const rb_iseq_t *iseq, int *first_lineno, int *first_column, int *last_lineno, int *last_column);
191
+
192
+ void rb_iseq_remove_coverage_all(void);
193
+
194
+ /* proc.c */
195
+ const rb_iseq_t *rb_method_iseq(VALUE body);
196
+ const rb_iseq_t *rb_proc_get_iseq(VALUE proc, int *is_proc);
197
+
198
+ struct rb_compile_option_struct {
199
+ unsigned int inline_const_cache: 1;
200
+ unsigned int peephole_optimization: 1;
201
+ unsigned int tailcall_optimization: 1;
202
+ unsigned int specialized_instruction: 1;
203
+ unsigned int operands_unification: 1;
204
+ unsigned int instructions_unification: 1;
205
+ unsigned int stack_caching: 1;
206
+ unsigned int frozen_string_literal: 1;
207
+ unsigned int debug_frozen_string_literal: 1;
208
+ unsigned int coverage_enabled: 1;
209
+ int debug_level;
210
+ };
211
+
212
+ struct iseq_insn_info_entry {
213
+ int line_no;
214
+ rb_event_flag_t events;
215
+ };
216
+
217
+ struct iseq_catch_table_entry {
218
+ enum catch_type {
219
+ CATCH_TYPE_RESCUE = INT2FIX(1),
220
+ CATCH_TYPE_ENSURE = INT2FIX(2),
221
+ CATCH_TYPE_RETRY = INT2FIX(3),
222
+ CATCH_TYPE_BREAK = INT2FIX(4),
223
+ CATCH_TYPE_REDO = INT2FIX(5),
224
+ CATCH_TYPE_NEXT = INT2FIX(6)
225
+ } type;
226
+
227
+ /*
228
+ * iseq type:
229
+ * CATCH_TYPE_RESCUE, CATCH_TYPE_ENSURE:
230
+ * use iseq as continuation.
231
+ *
232
+ * CATCH_TYPE_BREAK (iter):
233
+ * use iseq as key.
234
+ *
235
+ * CATCH_TYPE_BREAK (while), CATCH_TYPE_RETRY,
236
+ * CATCH_TYPE_REDO, CATCH_TYPE_NEXT:
237
+ * NULL.
238
+ */
239
+ const rb_iseq_t *iseq;
240
+
241
+ unsigned int start;
242
+ unsigned int end;
243
+ unsigned int cont;
244
+ unsigned int sp;
245
+ };
246
+
247
+ PACKED_STRUCT_UNALIGNED(struct iseq_catch_table {
248
+ unsigned int size;
249
+ struct iseq_catch_table_entry entries[FLEX_ARY_LEN];
250
+ });
251
+
252
+ static inline int
253
+ iseq_catch_table_bytes(int n)
254
+ {
255
+ enum {
256
+ catch_table_entry_size = sizeof(struct iseq_catch_table_entry),
257
+ catch_table_entries_max = (INT_MAX - offsetof(struct iseq_catch_table, entries)) / catch_table_entry_size
258
+ };
259
+ if (n > catch_table_entries_max) rb_fatal("too large iseq_catch_table - %d", n);
260
+ return (int)(offsetof(struct iseq_catch_table, entries) +
261
+ n * catch_table_entry_size);
262
+ }
263
+
264
+ #define INITIAL_ISEQ_COMPILE_DATA_STORAGE_BUFF_SIZE (512)
265
+
266
+ struct iseq_compile_data_storage {
267
+ struct iseq_compile_data_storage *next;
268
+ unsigned int pos;
269
+ unsigned int size;
270
+ char buff[FLEX_ARY_LEN];
271
+ };
272
+
273
+ /* defined? */
274
+
275
+ enum defined_type {
276
+ DEFINED_NOT_DEFINED,
277
+ DEFINED_NIL = 1,
278
+ DEFINED_IVAR,
279
+ DEFINED_LVAR,
280
+ DEFINED_GVAR,
281
+ DEFINED_CVAR,
282
+ DEFINED_CONST,
283
+ DEFINED_METHOD,
284
+ DEFINED_YIELD,
285
+ DEFINED_ZSUPER,
286
+ DEFINED_SELF,
287
+ DEFINED_TRUE,
288
+ DEFINED_FALSE,
289
+ DEFINED_ASGN,
290
+ DEFINED_EXPR,
291
+ DEFINED_IVAR2,
292
+ DEFINED_REF,
293
+ DEFINED_FUNC
294
+ };
295
+
296
+ VALUE rb_iseq_defined_string(enum defined_type type);
297
+ void rb_iseq_make_compile_option(struct rb_compile_option_struct *option, VALUE opt);
298
+
299
+ /* vm.c */
300
+ VALUE rb_iseq_local_variables(const rb_iseq_t *iseq);
301
+
302
+ RUBY_SYMBOL_EXPORT_END
303
+
304
+ #endif /* RUBY_ISEQ_H */
@@ -0,0 +1,791 @@
1
+ /** -*-c-*-
2
+ * DO NOT EDIT
3
+ * This file is automatically generated by tool/generic_erb.rb from
4
+ * template/known_errors.inc.tmpl and defs/known_errors.def.
5
+ */
6
+
7
+ #ifdef E2BIG
8
+ defined_error("E2BIG", E2BIG)
9
+ #else
10
+ undefined_error("E2BIG")
11
+ #endif
12
+ #ifdef EACCES
13
+ defined_error("EACCES", EACCES)
14
+ #else
15
+ undefined_error("EACCES")
16
+ #endif
17
+ #ifdef EADDRINUSE
18
+ defined_error("EADDRINUSE", EADDRINUSE)
19
+ #else
20
+ undefined_error("EADDRINUSE")
21
+ #endif
22
+ #ifdef EADDRNOTAVAIL
23
+ defined_error("EADDRNOTAVAIL", EADDRNOTAVAIL)
24
+ #else
25
+ undefined_error("EADDRNOTAVAIL")
26
+ #endif
27
+ #ifdef EADV
28
+ defined_error("EADV", EADV)
29
+ #else
30
+ undefined_error("EADV")
31
+ #endif
32
+ #ifdef EAFNOSUPPORT
33
+ defined_error("EAFNOSUPPORT", EAFNOSUPPORT)
34
+ #else
35
+ undefined_error("EAFNOSUPPORT")
36
+ #endif
37
+ #ifdef EAGAIN
38
+ defined_error("EAGAIN", EAGAIN)
39
+ #else
40
+ undefined_error("EAGAIN")
41
+ #endif
42
+ #ifdef EALREADY
43
+ defined_error("EALREADY", EALREADY)
44
+ #else
45
+ undefined_error("EALREADY")
46
+ #endif
47
+ #ifdef EAUTH
48
+ defined_error("EAUTH", EAUTH)
49
+ #else
50
+ undefined_error("EAUTH")
51
+ #endif
52
+ #ifdef EBADARCH
53
+ defined_error("EBADARCH", EBADARCH)
54
+ #else
55
+ undefined_error("EBADARCH")
56
+ #endif
57
+ #ifdef EBADE
58
+ defined_error("EBADE", EBADE)
59
+ #else
60
+ undefined_error("EBADE")
61
+ #endif
62
+ #ifdef EBADEXEC
63
+ defined_error("EBADEXEC", EBADEXEC)
64
+ #else
65
+ undefined_error("EBADEXEC")
66
+ #endif
67
+ #ifdef EBADF
68
+ defined_error("EBADF", EBADF)
69
+ #else
70
+ undefined_error("EBADF")
71
+ #endif
72
+ #ifdef EBADFD
73
+ defined_error("EBADFD", EBADFD)
74
+ #else
75
+ undefined_error("EBADFD")
76
+ #endif
77
+ #ifdef EBADMACHO
78
+ defined_error("EBADMACHO", EBADMACHO)
79
+ #else
80
+ undefined_error("EBADMACHO")
81
+ #endif
82
+ #ifdef EBADMSG
83
+ defined_error("EBADMSG", EBADMSG)
84
+ #else
85
+ undefined_error("EBADMSG")
86
+ #endif
87
+ #ifdef EBADR
88
+ defined_error("EBADR", EBADR)
89
+ #else
90
+ undefined_error("EBADR")
91
+ #endif
92
+ #ifdef EBADRPC
93
+ defined_error("EBADRPC", EBADRPC)
94
+ #else
95
+ undefined_error("EBADRPC")
96
+ #endif
97
+ #ifdef EBADRQC
98
+ defined_error("EBADRQC", EBADRQC)
99
+ #else
100
+ undefined_error("EBADRQC")
101
+ #endif
102
+ #ifdef EBADSLT
103
+ defined_error("EBADSLT", EBADSLT)
104
+ #else
105
+ undefined_error("EBADSLT")
106
+ #endif
107
+ #ifdef EBFONT
108
+ defined_error("EBFONT", EBFONT)
109
+ #else
110
+ undefined_error("EBFONT")
111
+ #endif
112
+ #ifdef EBUSY
113
+ defined_error("EBUSY", EBUSY)
114
+ #else
115
+ undefined_error("EBUSY")
116
+ #endif
117
+ #ifdef ECANCELED
118
+ defined_error("ECANCELED", ECANCELED)
119
+ #else
120
+ undefined_error("ECANCELED")
121
+ #endif
122
+ #ifdef ECAPMODE
123
+ defined_error("ECAPMODE", ECAPMODE)
124
+ #else
125
+ undefined_error("ECAPMODE")
126
+ #endif
127
+ #ifdef ECHILD
128
+ defined_error("ECHILD", ECHILD)
129
+ #else
130
+ undefined_error("ECHILD")
131
+ #endif
132
+ #ifdef ECHRNG
133
+ defined_error("ECHRNG", ECHRNG)
134
+ #else
135
+ undefined_error("ECHRNG")
136
+ #endif
137
+ #ifdef ECOMM
138
+ defined_error("ECOMM", ECOMM)
139
+ #else
140
+ undefined_error("ECOMM")
141
+ #endif
142
+ #ifdef ECONNABORTED
143
+ defined_error("ECONNABORTED", ECONNABORTED)
144
+ #else
145
+ undefined_error("ECONNABORTED")
146
+ #endif
147
+ #ifdef ECONNREFUSED
148
+ defined_error("ECONNREFUSED", ECONNREFUSED)
149
+ #else
150
+ undefined_error("ECONNREFUSED")
151
+ #endif
152
+ #ifdef ECONNRESET
153
+ defined_error("ECONNRESET", ECONNRESET)
154
+ #else
155
+ undefined_error("ECONNRESET")
156
+ #endif
157
+ #ifdef EDEADLK
158
+ defined_error("EDEADLK", EDEADLK)
159
+ #else
160
+ undefined_error("EDEADLK")
161
+ #endif
162
+ #ifdef EDEADLOCK
163
+ defined_error("EDEADLOCK", EDEADLOCK)
164
+ #else
165
+ undefined_error("EDEADLOCK")
166
+ #endif
167
+ #ifdef EDESTADDRREQ
168
+ defined_error("EDESTADDRREQ", EDESTADDRREQ)
169
+ #else
170
+ undefined_error("EDESTADDRREQ")
171
+ #endif
172
+ #ifdef EDEVERR
173
+ defined_error("EDEVERR", EDEVERR)
174
+ #else
175
+ undefined_error("EDEVERR")
176
+ #endif
177
+ #ifdef EDOM
178
+ defined_error("EDOM", EDOM)
179
+ #else
180
+ undefined_error("EDOM")
181
+ #endif
182
+ #ifdef EDOOFUS
183
+ defined_error("EDOOFUS", EDOOFUS)
184
+ #else
185
+ undefined_error("EDOOFUS")
186
+ #endif
187
+ #ifdef EDOTDOT
188
+ defined_error("EDOTDOT", EDOTDOT)
189
+ #else
190
+ undefined_error("EDOTDOT")
191
+ #endif
192
+ #ifdef EDQUOT
193
+ defined_error("EDQUOT", EDQUOT)
194
+ #else
195
+ undefined_error("EDQUOT")
196
+ #endif
197
+ #ifdef EEXIST
198
+ defined_error("EEXIST", EEXIST)
199
+ #else
200
+ undefined_error("EEXIST")
201
+ #endif
202
+ #ifdef EFAULT
203
+ defined_error("EFAULT", EFAULT)
204
+ #else
205
+ undefined_error("EFAULT")
206
+ #endif
207
+ #ifdef EFBIG
208
+ defined_error("EFBIG", EFBIG)
209
+ #else
210
+ undefined_error("EFBIG")
211
+ #endif
212
+ #ifdef EFTYPE
213
+ defined_error("EFTYPE", EFTYPE)
214
+ #else
215
+ undefined_error("EFTYPE")
216
+ #endif
217
+ #ifdef EHOSTDOWN
218
+ defined_error("EHOSTDOWN", EHOSTDOWN)
219
+ #else
220
+ undefined_error("EHOSTDOWN")
221
+ #endif
222
+ #ifdef EHOSTUNREACH
223
+ defined_error("EHOSTUNREACH", EHOSTUNREACH)
224
+ #else
225
+ undefined_error("EHOSTUNREACH")
226
+ #endif
227
+ #ifdef EHWPOISON
228
+ defined_error("EHWPOISON", EHWPOISON)
229
+ #else
230
+ undefined_error("EHWPOISON")
231
+ #endif
232
+ #ifdef EIDRM
233
+ defined_error("EIDRM", EIDRM)
234
+ #else
235
+ undefined_error("EIDRM")
236
+ #endif
237
+ #ifdef EILSEQ
238
+ defined_error("EILSEQ", EILSEQ)
239
+ #else
240
+ undefined_error("EILSEQ")
241
+ #endif
242
+ #ifdef EINPROGRESS
243
+ defined_error("EINPROGRESS", EINPROGRESS)
244
+ #else
245
+ undefined_error("EINPROGRESS")
246
+ #endif
247
+ #ifdef EINTR
248
+ defined_error("EINTR", EINTR)
249
+ #else
250
+ undefined_error("EINTR")
251
+ #endif
252
+ #ifdef EINVAL
253
+ defined_error("EINVAL", EINVAL)
254
+ #else
255
+ undefined_error("EINVAL")
256
+ #endif
257
+ #ifdef EIO
258
+ defined_error("EIO", EIO)
259
+ #else
260
+ undefined_error("EIO")
261
+ #endif
262
+ #ifdef EIPSEC
263
+ defined_error("EIPSEC", EIPSEC)
264
+ #else
265
+ undefined_error("EIPSEC")
266
+ #endif
267
+ #ifdef EISCONN
268
+ defined_error("EISCONN", EISCONN)
269
+ #else
270
+ undefined_error("EISCONN")
271
+ #endif
272
+ #ifdef EISDIR
273
+ defined_error("EISDIR", EISDIR)
274
+ #else
275
+ undefined_error("EISDIR")
276
+ #endif
277
+ #ifdef EISNAM
278
+ defined_error("EISNAM", EISNAM)
279
+ #else
280
+ undefined_error("EISNAM")
281
+ #endif
282
+ #ifdef EKEYEXPIRED
283
+ defined_error("EKEYEXPIRED", EKEYEXPIRED)
284
+ #else
285
+ undefined_error("EKEYEXPIRED")
286
+ #endif
287
+ #ifdef EKEYREJECTED
288
+ defined_error("EKEYREJECTED", EKEYREJECTED)
289
+ #else
290
+ undefined_error("EKEYREJECTED")
291
+ #endif
292
+ #ifdef EKEYREVOKED
293
+ defined_error("EKEYREVOKED", EKEYREVOKED)
294
+ #else
295
+ undefined_error("EKEYREVOKED")
296
+ #endif
297
+ #ifdef EL2HLT
298
+ defined_error("EL2HLT", EL2HLT)
299
+ #else
300
+ undefined_error("EL2HLT")
301
+ #endif
302
+ #ifdef EL2NSYNC
303
+ defined_error("EL2NSYNC", EL2NSYNC)
304
+ #else
305
+ undefined_error("EL2NSYNC")
306
+ #endif
307
+ #ifdef EL3HLT
308
+ defined_error("EL3HLT", EL3HLT)
309
+ #else
310
+ undefined_error("EL3HLT")
311
+ #endif
312
+ #ifdef EL3RST
313
+ defined_error("EL3RST", EL3RST)
314
+ #else
315
+ undefined_error("EL3RST")
316
+ #endif
317
+ #ifdef ELAST
318
+ defined_error("ELAST", ELAST)
319
+ #else
320
+ undefined_error("ELAST")
321
+ #endif
322
+ #ifdef ELIBACC
323
+ defined_error("ELIBACC", ELIBACC)
324
+ #else
325
+ undefined_error("ELIBACC")
326
+ #endif
327
+ #ifdef ELIBBAD
328
+ defined_error("ELIBBAD", ELIBBAD)
329
+ #else
330
+ undefined_error("ELIBBAD")
331
+ #endif
332
+ #ifdef ELIBEXEC
333
+ defined_error("ELIBEXEC", ELIBEXEC)
334
+ #else
335
+ undefined_error("ELIBEXEC")
336
+ #endif
337
+ #ifdef ELIBMAX
338
+ defined_error("ELIBMAX", ELIBMAX)
339
+ #else
340
+ undefined_error("ELIBMAX")
341
+ #endif
342
+ #ifdef ELIBSCN
343
+ defined_error("ELIBSCN", ELIBSCN)
344
+ #else
345
+ undefined_error("ELIBSCN")
346
+ #endif
347
+ #ifdef ELNRNG
348
+ defined_error("ELNRNG", ELNRNG)
349
+ #else
350
+ undefined_error("ELNRNG")
351
+ #endif
352
+ #ifdef ELOOP
353
+ defined_error("ELOOP", ELOOP)
354
+ #else
355
+ undefined_error("ELOOP")
356
+ #endif
357
+ #ifdef EMEDIUMTYPE
358
+ defined_error("EMEDIUMTYPE", EMEDIUMTYPE)
359
+ #else
360
+ undefined_error("EMEDIUMTYPE")
361
+ #endif
362
+ #ifdef EMFILE
363
+ defined_error("EMFILE", EMFILE)
364
+ #else
365
+ undefined_error("EMFILE")
366
+ #endif
367
+ #ifdef EMLINK
368
+ defined_error("EMLINK", EMLINK)
369
+ #else
370
+ undefined_error("EMLINK")
371
+ #endif
372
+ #ifdef EMSGSIZE
373
+ defined_error("EMSGSIZE", EMSGSIZE)
374
+ #else
375
+ undefined_error("EMSGSIZE")
376
+ #endif
377
+ #ifdef EMULTIHOP
378
+ defined_error("EMULTIHOP", EMULTIHOP)
379
+ #else
380
+ undefined_error("EMULTIHOP")
381
+ #endif
382
+ #ifdef ENAMETOOLONG
383
+ defined_error("ENAMETOOLONG", ENAMETOOLONG)
384
+ #else
385
+ undefined_error("ENAMETOOLONG")
386
+ #endif
387
+ #ifdef ENAVAIL
388
+ defined_error("ENAVAIL", ENAVAIL)
389
+ #else
390
+ undefined_error("ENAVAIL")
391
+ #endif
392
+ #ifdef ENEEDAUTH
393
+ defined_error("ENEEDAUTH", ENEEDAUTH)
394
+ #else
395
+ undefined_error("ENEEDAUTH")
396
+ #endif
397
+ #ifdef ENETDOWN
398
+ defined_error("ENETDOWN", ENETDOWN)
399
+ #else
400
+ undefined_error("ENETDOWN")
401
+ #endif
402
+ #ifdef ENETRESET
403
+ defined_error("ENETRESET", ENETRESET)
404
+ #else
405
+ undefined_error("ENETRESET")
406
+ #endif
407
+ #ifdef ENETUNREACH
408
+ defined_error("ENETUNREACH", ENETUNREACH)
409
+ #else
410
+ undefined_error("ENETUNREACH")
411
+ #endif
412
+ #ifdef ENFILE
413
+ defined_error("ENFILE", ENFILE)
414
+ #else
415
+ undefined_error("ENFILE")
416
+ #endif
417
+ #ifdef ENOANO
418
+ defined_error("ENOANO", ENOANO)
419
+ #else
420
+ undefined_error("ENOANO")
421
+ #endif
422
+ #ifdef ENOATTR
423
+ defined_error("ENOATTR", ENOATTR)
424
+ #else
425
+ undefined_error("ENOATTR")
426
+ #endif
427
+ #ifdef ENOBUFS
428
+ defined_error("ENOBUFS", ENOBUFS)
429
+ #else
430
+ undefined_error("ENOBUFS")
431
+ #endif
432
+ #ifdef ENOCSI
433
+ defined_error("ENOCSI", ENOCSI)
434
+ #else
435
+ undefined_error("ENOCSI")
436
+ #endif
437
+ #ifdef ENODATA
438
+ defined_error("ENODATA", ENODATA)
439
+ #else
440
+ undefined_error("ENODATA")
441
+ #endif
442
+ #ifdef ENODEV
443
+ defined_error("ENODEV", ENODEV)
444
+ #else
445
+ undefined_error("ENODEV")
446
+ #endif
447
+ #ifdef ENOENT
448
+ defined_error("ENOENT", ENOENT)
449
+ #else
450
+ undefined_error("ENOENT")
451
+ #endif
452
+ #ifdef ENOEXEC
453
+ defined_error("ENOEXEC", ENOEXEC)
454
+ #else
455
+ undefined_error("ENOEXEC")
456
+ #endif
457
+ #ifdef ENOKEY
458
+ defined_error("ENOKEY", ENOKEY)
459
+ #else
460
+ undefined_error("ENOKEY")
461
+ #endif
462
+ #ifdef ENOLCK
463
+ defined_error("ENOLCK", ENOLCK)
464
+ #else
465
+ undefined_error("ENOLCK")
466
+ #endif
467
+ #ifdef ENOLINK
468
+ defined_error("ENOLINK", ENOLINK)
469
+ #else
470
+ undefined_error("ENOLINK")
471
+ #endif
472
+ #ifdef ENOMEDIUM
473
+ defined_error("ENOMEDIUM", ENOMEDIUM)
474
+ #else
475
+ undefined_error("ENOMEDIUM")
476
+ #endif
477
+ #ifdef ENOMEM
478
+ defined_error("ENOMEM", ENOMEM)
479
+ #else
480
+ undefined_error("ENOMEM")
481
+ #endif
482
+ #ifdef ENOMSG
483
+ defined_error("ENOMSG", ENOMSG)
484
+ #else
485
+ undefined_error("ENOMSG")
486
+ #endif
487
+ #ifdef ENONET
488
+ defined_error("ENONET", ENONET)
489
+ #else
490
+ undefined_error("ENONET")
491
+ #endif
492
+ #ifdef ENOPKG
493
+ defined_error("ENOPKG", ENOPKG)
494
+ #else
495
+ undefined_error("ENOPKG")
496
+ #endif
497
+ #ifdef ENOPOLICY
498
+ defined_error("ENOPOLICY", ENOPOLICY)
499
+ #else
500
+ undefined_error("ENOPOLICY")
501
+ #endif
502
+ #ifdef ENOPROTOOPT
503
+ defined_error("ENOPROTOOPT", ENOPROTOOPT)
504
+ #else
505
+ undefined_error("ENOPROTOOPT")
506
+ #endif
507
+ #ifdef ENOSPC
508
+ defined_error("ENOSPC", ENOSPC)
509
+ #else
510
+ undefined_error("ENOSPC")
511
+ #endif
512
+ #ifdef ENOSR
513
+ defined_error("ENOSR", ENOSR)
514
+ #else
515
+ undefined_error("ENOSR")
516
+ #endif
517
+ #ifdef ENOSTR
518
+ defined_error("ENOSTR", ENOSTR)
519
+ #else
520
+ undefined_error("ENOSTR")
521
+ #endif
522
+ #ifdef ENOSYS
523
+ defined_error("ENOSYS", ENOSYS)
524
+ #else
525
+ undefined_error("ENOSYS")
526
+ #endif
527
+ #ifdef ENOTBLK
528
+ defined_error("ENOTBLK", ENOTBLK)
529
+ #else
530
+ undefined_error("ENOTBLK")
531
+ #endif
532
+ #ifdef ENOTCAPABLE
533
+ defined_error("ENOTCAPABLE", ENOTCAPABLE)
534
+ #else
535
+ undefined_error("ENOTCAPABLE")
536
+ #endif
537
+ #ifdef ENOTCONN
538
+ defined_error("ENOTCONN", ENOTCONN)
539
+ #else
540
+ undefined_error("ENOTCONN")
541
+ #endif
542
+ #ifdef ENOTDIR
543
+ defined_error("ENOTDIR", ENOTDIR)
544
+ #else
545
+ undefined_error("ENOTDIR")
546
+ #endif
547
+ #ifdef ENOTEMPTY
548
+ defined_error("ENOTEMPTY", ENOTEMPTY)
549
+ #else
550
+ undefined_error("ENOTEMPTY")
551
+ #endif
552
+ #ifdef ENOTNAM
553
+ defined_error("ENOTNAM", ENOTNAM)
554
+ #else
555
+ undefined_error("ENOTNAM")
556
+ #endif
557
+ #ifdef ENOTRECOVERABLE
558
+ defined_error("ENOTRECOVERABLE", ENOTRECOVERABLE)
559
+ #else
560
+ undefined_error("ENOTRECOVERABLE")
561
+ #endif
562
+ #ifdef ENOTSOCK
563
+ defined_error("ENOTSOCK", ENOTSOCK)
564
+ #else
565
+ undefined_error("ENOTSOCK")
566
+ #endif
567
+ #ifdef ENOTSUP
568
+ defined_error("ENOTSUP", ENOTSUP)
569
+ #else
570
+ undefined_error("ENOTSUP")
571
+ #endif
572
+ #ifdef ENOTTY
573
+ defined_error("ENOTTY", ENOTTY)
574
+ #else
575
+ undefined_error("ENOTTY")
576
+ #endif
577
+ #ifdef ENOTUNIQ
578
+ defined_error("ENOTUNIQ", ENOTUNIQ)
579
+ #else
580
+ undefined_error("ENOTUNIQ")
581
+ #endif
582
+ #ifdef ENXIO
583
+ defined_error("ENXIO", ENXIO)
584
+ #else
585
+ undefined_error("ENXIO")
586
+ #endif
587
+ #ifdef EOPNOTSUPP
588
+ defined_error("EOPNOTSUPP", EOPNOTSUPP)
589
+ #else
590
+ undefined_error("EOPNOTSUPP")
591
+ #endif
592
+ #ifdef EOVERFLOW
593
+ defined_error("EOVERFLOW", EOVERFLOW)
594
+ #else
595
+ undefined_error("EOVERFLOW")
596
+ #endif
597
+ #ifdef EOWNERDEAD
598
+ defined_error("EOWNERDEAD", EOWNERDEAD)
599
+ #else
600
+ undefined_error("EOWNERDEAD")
601
+ #endif
602
+ #ifdef EPERM
603
+ defined_error("EPERM", EPERM)
604
+ #else
605
+ undefined_error("EPERM")
606
+ #endif
607
+ #ifdef EPFNOSUPPORT
608
+ defined_error("EPFNOSUPPORT", EPFNOSUPPORT)
609
+ #else
610
+ undefined_error("EPFNOSUPPORT")
611
+ #endif
612
+ #ifdef EPIPE
613
+ defined_error("EPIPE", EPIPE)
614
+ #else
615
+ undefined_error("EPIPE")
616
+ #endif
617
+ #ifdef EPROCLIM
618
+ defined_error("EPROCLIM", EPROCLIM)
619
+ #else
620
+ undefined_error("EPROCLIM")
621
+ #endif
622
+ #ifdef EPROCUNAVAIL
623
+ defined_error("EPROCUNAVAIL", EPROCUNAVAIL)
624
+ #else
625
+ undefined_error("EPROCUNAVAIL")
626
+ #endif
627
+ #ifdef EPROGMISMATCH
628
+ defined_error("EPROGMISMATCH", EPROGMISMATCH)
629
+ #else
630
+ undefined_error("EPROGMISMATCH")
631
+ #endif
632
+ #ifdef EPROGUNAVAIL
633
+ defined_error("EPROGUNAVAIL", EPROGUNAVAIL)
634
+ #else
635
+ undefined_error("EPROGUNAVAIL")
636
+ #endif
637
+ #ifdef EPROTO
638
+ defined_error("EPROTO", EPROTO)
639
+ #else
640
+ undefined_error("EPROTO")
641
+ #endif
642
+ #ifdef EPROTONOSUPPORT
643
+ defined_error("EPROTONOSUPPORT", EPROTONOSUPPORT)
644
+ #else
645
+ undefined_error("EPROTONOSUPPORT")
646
+ #endif
647
+ #ifdef EPROTOTYPE
648
+ defined_error("EPROTOTYPE", EPROTOTYPE)
649
+ #else
650
+ undefined_error("EPROTOTYPE")
651
+ #endif
652
+ #ifdef EPWROFF
653
+ defined_error("EPWROFF", EPWROFF)
654
+ #else
655
+ undefined_error("EPWROFF")
656
+ #endif
657
+ #ifdef EQFULL
658
+ defined_error("EQFULL", EQFULL)
659
+ #else
660
+ undefined_error("EQFULL")
661
+ #endif
662
+ #ifdef ERANGE
663
+ defined_error("ERANGE", ERANGE)
664
+ #else
665
+ undefined_error("ERANGE")
666
+ #endif
667
+ #ifdef EREMCHG
668
+ defined_error("EREMCHG", EREMCHG)
669
+ #else
670
+ undefined_error("EREMCHG")
671
+ #endif
672
+ #ifdef EREMOTE
673
+ defined_error("EREMOTE", EREMOTE)
674
+ #else
675
+ undefined_error("EREMOTE")
676
+ #endif
677
+ #ifdef EREMOTEIO
678
+ defined_error("EREMOTEIO", EREMOTEIO)
679
+ #else
680
+ undefined_error("EREMOTEIO")
681
+ #endif
682
+ #ifdef ERESTART
683
+ defined_error("ERESTART", ERESTART)
684
+ #else
685
+ undefined_error("ERESTART")
686
+ #endif
687
+ #ifdef ERFKILL
688
+ defined_error("ERFKILL", ERFKILL)
689
+ #else
690
+ undefined_error("ERFKILL")
691
+ #endif
692
+ #ifdef EROFS
693
+ defined_error("EROFS", EROFS)
694
+ #else
695
+ undefined_error("EROFS")
696
+ #endif
697
+ #ifdef ERPCMISMATCH
698
+ defined_error("ERPCMISMATCH", ERPCMISMATCH)
699
+ #else
700
+ undefined_error("ERPCMISMATCH")
701
+ #endif
702
+ #ifdef ESHLIBVERS
703
+ defined_error("ESHLIBVERS", ESHLIBVERS)
704
+ #else
705
+ undefined_error("ESHLIBVERS")
706
+ #endif
707
+ #ifdef ESHUTDOWN
708
+ defined_error("ESHUTDOWN", ESHUTDOWN)
709
+ #else
710
+ undefined_error("ESHUTDOWN")
711
+ #endif
712
+ #ifdef ESOCKTNOSUPPORT
713
+ defined_error("ESOCKTNOSUPPORT", ESOCKTNOSUPPORT)
714
+ #else
715
+ undefined_error("ESOCKTNOSUPPORT")
716
+ #endif
717
+ #ifdef ESPIPE
718
+ defined_error("ESPIPE", ESPIPE)
719
+ #else
720
+ undefined_error("ESPIPE")
721
+ #endif
722
+ #ifdef ESRCH
723
+ defined_error("ESRCH", ESRCH)
724
+ #else
725
+ undefined_error("ESRCH")
726
+ #endif
727
+ #ifdef ESRMNT
728
+ defined_error("ESRMNT", ESRMNT)
729
+ #else
730
+ undefined_error("ESRMNT")
731
+ #endif
732
+ #ifdef ESTALE
733
+ defined_error("ESTALE", ESTALE)
734
+ #else
735
+ undefined_error("ESTALE")
736
+ #endif
737
+ #ifdef ESTRPIPE
738
+ defined_error("ESTRPIPE", ESTRPIPE)
739
+ #else
740
+ undefined_error("ESTRPIPE")
741
+ #endif
742
+ #ifdef ETIME
743
+ defined_error("ETIME", ETIME)
744
+ #else
745
+ undefined_error("ETIME")
746
+ #endif
747
+ #ifdef ETIMEDOUT
748
+ defined_error("ETIMEDOUT", ETIMEDOUT)
749
+ #else
750
+ undefined_error("ETIMEDOUT")
751
+ #endif
752
+ #ifdef ETOOMANYREFS
753
+ defined_error("ETOOMANYREFS", ETOOMANYREFS)
754
+ #else
755
+ undefined_error("ETOOMANYREFS")
756
+ #endif
757
+ #ifdef ETXTBSY
758
+ defined_error("ETXTBSY", ETXTBSY)
759
+ #else
760
+ undefined_error("ETXTBSY")
761
+ #endif
762
+ #ifdef EUCLEAN
763
+ defined_error("EUCLEAN", EUCLEAN)
764
+ #else
765
+ undefined_error("EUCLEAN")
766
+ #endif
767
+ #ifdef EUNATCH
768
+ defined_error("EUNATCH", EUNATCH)
769
+ #else
770
+ undefined_error("EUNATCH")
771
+ #endif
772
+ #ifdef EUSERS
773
+ defined_error("EUSERS", EUSERS)
774
+ #else
775
+ undefined_error("EUSERS")
776
+ #endif
777
+ #ifdef EWOULDBLOCK
778
+ defined_error("EWOULDBLOCK", EWOULDBLOCK)
779
+ #else
780
+ undefined_error("EWOULDBLOCK")
781
+ #endif
782
+ #ifdef EXDEV
783
+ defined_error("EXDEV", EXDEV)
784
+ #else
785
+ undefined_error("EXDEV")
786
+ #endif
787
+ #ifdef EXFULL
788
+ defined_error("EXFULL", EXFULL)
789
+ #else
790
+ undefined_error("EXFULL")
791
+ #endif