1 /* This C file is generated by NIT to compile module table_computation. */
2 #include "table_computation._sep.h"
3 val_t
table_computation___ColorContext___color(val_t p0
, val_t p1
){
4 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
7 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
8 fra
.me
.file
= LOCATE_table_computation
;
10 fra
.me
.meth
= LOCATE_table_computation___ColorContext___color
;
13 fra
.me
.REG
[0] = NIT_NULL
;
14 fra
.me
.REG
[1] = NIT_NULL
;
17 /* ./compiling//table_computation.nit:32 */
18 REGB0
= TAG_Bool(ATTR_table_computation___ColorContext____colors(fra
.me
.REG
[0])!=NIT_NULL
);
19 if (UNTAG_Bool(REGB0
)) {
21 nit_abort("Uninitialized attribute %s", "_colors", LOCATE_table_computation
, 32);
23 fra
.me
.REG
[0] = ATTR_table_computation___ColorContext____colors(fra
.me
.REG
[0]);
24 fra
.me
.REG
[1] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[1]);
25 REGB0
= fra
.me
.REG
[1];
28 stack_frame_head
= fra
.me
.prev
;
31 val_t
table_computation___ColorContext___has_color(val_t p0
, val_t p1
){
32 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
35 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
36 fra
.me
.file
= LOCATE_table_computation
;
38 fra
.me
.meth
= LOCATE_table_computation___ColorContext___has_color
;
41 fra
.me
.REG
[0] = NIT_NULL
;
42 fra
.me
.REG
[1] = NIT_NULL
;
45 /* ./compiling//table_computation.nit:38 */
46 REGB0
= TAG_Bool(ATTR_table_computation___ColorContext____colors(fra
.me
.REG
[0])!=NIT_NULL
);
47 if (UNTAG_Bool(REGB0
)) {
49 nit_abort("Uninitialized attribute %s", "_colors", LOCATE_table_computation
, 38);
51 fra
.me
.REG
[0] = ATTR_table_computation___ColorContext____colors(fra
.me
.REG
[0]);
52 REGB0
= CALL_abstract_collection___MapRead___has_key(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[1]);
55 stack_frame_head
= fra
.me
.prev
;
58 void table_computation___ColorContext___color__eq(val_t p0
, val_t p1
, val_t p2
){
59 struct {struct stack_frame_t me
; val_t MORE_REG
[3];} fra
;
66 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
67 fra
.me
.file
= LOCATE_table_computation
;
69 fra
.me
.meth
= LOCATE_table_computation___ColorContext___color__eq
;
72 fra
.me
.REG
[0] = NIT_NULL
;
73 fra
.me
.REG
[1] = NIT_NULL
;
74 fra
.me
.REG
[2] = NIT_NULL
;
75 fra
.me
.REG
[3] = NIT_NULL
;
79 /* ./compiling//table_computation.nit:44 */
80 REGB1
= TAG_Bool(ATTR_table_computation___ColorContext____colors(fra
.me
.REG
[0])!=NIT_NULL
);
81 if (UNTAG_Bool(REGB1
)) {
83 nit_abort("Uninitialized attribute %s", "_colors", LOCATE_table_computation
, 44);
85 fra
.me
.REG
[2] = ATTR_table_computation___ColorContext____colors(fra
.me
.REG
[0]);
86 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[1], REGB0
);
87 /* ./compiling//table_computation.nit:46 */
89 REGB2
= CALL_table_computation___TableElt___length(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
90 /* ./../lib/standard//kernel.nit:332 */
92 /* ./../lib/standard//kernel.nit:212 */
93 REGB3
= TAG_Bool(UNTAG_Int(REGB1
)<UNTAG_Int(REGB2
));
94 /* ./../lib/standard//kernel.nit:332 */
95 if (UNTAG_Bool(REGB3
)) {
96 /* ./compiling//table_computation.nit:46 */
98 /* ./compiling//table_computation.nit:47 */
99 REGB4
= TAG_Bool(ATTR_table_computation___ColorContext____colors(fra
.me
.REG
[0])!=NIT_NULL
);
100 if (UNTAG_Bool(REGB4
)) {
102 nit_abort("Uninitialized attribute %s", "_colors", LOCATE_table_computation
, 47);
104 fra
.me
.REG
[2] = ATTR_table_computation___ColorContext____colors(fra
.me
.REG
[0]);
105 fra
.me
.REG
[3] = CALL_table_computation___TableElt___item(fra
.me
.REG
[1])(fra
.me
.REG
[1], REGB3
);
106 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[3], REGB0
);
107 /* ./compiling//table_computation.nit:48 */
109 /* ./../lib/standard//kernel.nit:215 */
110 REGB3
= TAG_Int(UNTAG_Int(REGB0
)+UNTAG_Int(REGB3
));
111 /* ./compiling//table_computation.nit:48 */
113 /* ./../lib/standard//kernel.nit:334 */
115 /* ./../lib/standard//kernel.nit:215 */
116 REGB3
= TAG_Int(UNTAG_Int(REGB1
)+UNTAG_Int(REGB3
));
117 /* ./../lib/standard//kernel.nit:334 */
120 /* ./../lib/standard//kernel.nit:332 */
125 stack_frame_head
= fra
.me
.prev
;
128 void table_computation___ColorContext___init(val_t p0
, int* init_table
){
129 int itpos0
= VAL2OBJ(p0
)->vft
[INIT_TABLE_POS_ColorContext
].i
;
130 struct {struct stack_frame_t me
;} fra
;
132 if (init_table
[itpos0
]) return;
133 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
134 fra
.me
.file
= LOCATE_table_computation
;
136 fra
.me
.meth
= LOCATE_table_computation___ColorContext___init
;
137 fra
.me
.has_broke
= 0;
139 stack_frame_head
= fra
.me
.prev
;
140 init_table
[itpos0
] = 1;
143 val_t
table_computation___TableInformation___max_class_table_length(val_t p0
){
144 struct {struct stack_frame_t me
;} fra
;
147 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
148 fra
.me
.file
= LOCATE_table_computation
;
150 fra
.me
.meth
= LOCATE_table_computation___TableInformation___max_class_table_length
;
151 fra
.me
.has_broke
= 0;
153 fra
.me
.REG
[0] = NIT_NULL
;
155 /* ./compiling//table_computation.nit:56 */
156 REGB0
= TAG_Bool(ATTR_table_computation___TableInformation____max_class_table_length(fra
.me
.REG
[0])!=NIT_NULL
);
157 if (UNTAG_Bool(REGB0
)) {
159 nit_abort("Uninitialized attribute %s", "_max_class_table_length", LOCATE_table_computation
, 56);
161 REGB0
= ATTR_table_computation___TableInformation____max_class_table_length(fra
.me
.REG
[0]);
162 stack_frame_head
= fra
.me
.prev
;
165 void table_computation___TableInformation___max_class_table_length__eq(val_t p0
, val_t p1
){
166 struct {struct stack_frame_t me
;} fra
;
169 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
170 fra
.me
.file
= LOCATE_table_computation
;
172 fra
.me
.meth
= LOCATE_table_computation___TableInformation___max_class_table_length__eq
;
173 fra
.me
.has_broke
= 0;
175 fra
.me
.REG
[0] = NIT_NULL
;
178 /* ./compiling//table_computation.nit:56 */
179 ATTR_table_computation___TableInformation____max_class_table_length(fra
.me
.REG
[0]) = REGB0
;
180 stack_frame_head
= fra
.me
.prev
;
183 val_t
table_computation___CompiledClass___local_class(val_t p0
){
184 struct {struct stack_frame_t me
;} fra
;
187 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
188 fra
.me
.file
= LOCATE_table_computation
;
190 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___local_class
;
191 fra
.me
.has_broke
= 0;
193 fra
.me
.REG
[0] = NIT_NULL
;
195 /* ./compiling//table_computation.nit:63 */
196 REGB0
= TAG_Bool(ATTR_table_computation___CompiledClass____local_class(fra
.me
.REG
[0])!=NIT_NULL
);
197 if (UNTAG_Bool(REGB0
)) {
199 nit_abort("Uninitialized attribute %s", "_local_class", LOCATE_table_computation
, 63);
201 fra
.me
.REG
[0] = ATTR_table_computation___CompiledClass____local_class(fra
.me
.REG
[0]);
202 stack_frame_head
= fra
.me
.prev
;
203 return fra
.me
.REG
[0];
205 val_t
table_computation___CompiledClass___id(val_t p0
){
206 struct {struct stack_frame_t me
;} fra
;
209 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
210 fra
.me
.file
= LOCATE_table_computation
;
212 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___id
;
213 fra
.me
.has_broke
= 0;
215 fra
.me
.REG
[0] = NIT_NULL
;
217 /* ./compiling//table_computation.nit:66 */
218 REGB0
= TAG_Bool(ATTR_table_computation___CompiledClass____id(fra
.me
.REG
[0])!=NIT_NULL
);
219 if (UNTAG_Bool(REGB0
)) {
221 nit_abort("Uninitialized attribute %s", "_id", LOCATE_table_computation
, 66);
223 REGB0
= ATTR_table_computation___CompiledClass____id(fra
.me
.REG
[0]);
224 stack_frame_head
= fra
.me
.prev
;
227 void table_computation___CompiledClass___id__eq(val_t p0
, val_t p1
){
228 struct {struct stack_frame_t me
;} fra
;
231 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
232 fra
.me
.file
= LOCATE_table_computation
;
234 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___id__eq
;
235 fra
.me
.has_broke
= 0;
237 fra
.me
.REG
[0] = NIT_NULL
;
240 /* ./compiling//table_computation.nit:66 */
241 ATTR_table_computation___CompiledClass____id(fra
.me
.REG
[0]) = REGB0
;
242 stack_frame_head
= fra
.me
.prev
;
245 val_t
table_computation___CompiledClass___class_table(val_t p0
){
246 struct {struct stack_frame_t me
;} fra
;
249 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
250 fra
.me
.file
= LOCATE_table_computation
;
252 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___class_table
;
253 fra
.me
.has_broke
= 0;
255 fra
.me
.REG
[0] = NIT_NULL
;
257 /* ./compiling//table_computation.nit:69 */
258 REGB0
= TAG_Bool(ATTR_table_computation___CompiledClass____class_table(fra
.me
.REG
[0])!=NIT_NULL
);
259 if (UNTAG_Bool(REGB0
)) {
261 nit_abort("Uninitialized attribute %s", "_class_table", LOCATE_table_computation
, 69);
263 fra
.me
.REG
[0] = ATTR_table_computation___CompiledClass____class_table(fra
.me
.REG
[0]);
264 stack_frame_head
= fra
.me
.prev
;
265 return fra
.me
.REG
[0];
267 val_t
table_computation___CompiledClass___instance_table(val_t p0
){
268 struct {struct stack_frame_t me
;} fra
;
271 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
272 fra
.me
.file
= LOCATE_table_computation
;
274 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___instance_table
;
275 fra
.me
.has_broke
= 0;
277 fra
.me
.REG
[0] = NIT_NULL
;
279 /* ./compiling//table_computation.nit:72 */
280 REGB0
= TAG_Bool(ATTR_table_computation___CompiledClass____instance_table(fra
.me
.REG
[0])!=NIT_NULL
);
281 if (UNTAG_Bool(REGB0
)) {
283 nit_abort("Uninitialized attribute %s", "_instance_table", LOCATE_table_computation
, 72);
285 fra
.me
.REG
[0] = ATTR_table_computation___CompiledClass____instance_table(fra
.me
.REG
[0]);
286 stack_frame_head
= fra
.me
.prev
;
287 return fra
.me
.REG
[0];
289 val_t
table_computation___CompiledClass___class_layout(val_t p0
){
290 struct {struct stack_frame_t me
;} fra
;
293 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
294 fra
.me
.file
= LOCATE_table_computation
;
296 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___class_layout
;
297 fra
.me
.has_broke
= 0;
299 fra
.me
.REG
[0] = NIT_NULL
;
301 /* ./compiling//table_computation.nit:75 */
302 REGB0
= TAG_Bool(ATTR_table_computation___CompiledClass____class_layout(fra
.me
.REG
[0])!=NIT_NULL
);
303 if (UNTAG_Bool(REGB0
)) {
305 nit_abort("Uninitialized attribute %s", "_class_layout", LOCATE_table_computation
, 75);
307 fra
.me
.REG
[0] = ATTR_table_computation___CompiledClass____class_layout(fra
.me
.REG
[0]);
308 stack_frame_head
= fra
.me
.prev
;
309 return fra
.me
.REG
[0];
311 void table_computation___CompiledClass___class_layout__eq(val_t p0
, val_t p1
){
312 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
314 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
315 fra
.me
.file
= LOCATE_table_computation
;
317 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___class_layout__eq
;
318 fra
.me
.has_broke
= 0;
320 fra
.me
.REG
[0] = NIT_NULL
;
321 fra
.me
.REG
[1] = NIT_NULL
;
324 /* ./compiling//table_computation.nit:75 */
325 ATTR_table_computation___CompiledClass____class_layout(fra
.me
.REG
[0]) = fra
.me
.REG
[1];
326 stack_frame_head
= fra
.me
.prev
;
329 val_t
table_computation___CompiledClass___instance_layout(val_t p0
){
330 struct {struct stack_frame_t me
;} fra
;
333 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
334 fra
.me
.file
= LOCATE_table_computation
;
336 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___instance_layout
;
337 fra
.me
.has_broke
= 0;
339 fra
.me
.REG
[0] = NIT_NULL
;
341 /* ./compiling//table_computation.nit:78 */
342 REGB0
= TAG_Bool(ATTR_table_computation___CompiledClass____instance_layout(fra
.me
.REG
[0])!=NIT_NULL
);
343 if (UNTAG_Bool(REGB0
)) {
345 nit_abort("Uninitialized attribute %s", "_instance_layout", LOCATE_table_computation
, 78);
347 fra
.me
.REG
[0] = ATTR_table_computation___CompiledClass____instance_layout(fra
.me
.REG
[0]);
348 stack_frame_head
= fra
.me
.prev
;
349 return fra
.me
.REG
[0];
351 void table_computation___CompiledClass___instance_layout__eq(val_t p0
, val_t p1
){
352 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
354 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
355 fra
.me
.file
= LOCATE_table_computation
;
357 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___instance_layout__eq
;
358 fra
.me
.has_broke
= 0;
360 fra
.me
.REG
[0] = NIT_NULL
;
361 fra
.me
.REG
[1] = NIT_NULL
;
364 /* ./compiling//table_computation.nit:78 */
365 ATTR_table_computation___CompiledClass____instance_layout(fra
.me
.REG
[0]) = fra
.me
.REG
[1];
366 stack_frame_head
= fra
.me
.prev
;
369 void table_computation___CompiledClass___init(val_t p0
, val_t p1
, int* init_table
){
370 int itpos1
= VAL2OBJ(p0
)->vft
[INIT_TABLE_POS_CompiledClass
].i
;
371 struct {struct stack_frame_t me
; val_t MORE_REG
[2];} fra
;
373 if (init_table
[itpos1
]) return;
374 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
375 fra
.me
.file
= LOCATE_table_computation
;
377 fra
.me
.meth
= LOCATE_table_computation___CompiledClass___init
;
378 fra
.me
.has_broke
= 0;
380 fra
.me
.REG
[0] = NIT_NULL
;
381 fra
.me
.REG
[1] = NIT_NULL
;
382 fra
.me
.REG
[2] = NIT_NULL
;
385 /* ./compiling//table_computation.nit:81 */
386 fra
.me
.REG
[2] = fra
.me
.REG
[0];
387 CALL_table_computation___ColorContext___init(fra
.me
.REG
[0])(fra
.me
.REG
[0], init_table
);
388 ATTR_table_computation___CompiledClass____local_class(fra
.me
.REG
[2]) = fra
.me
.REG
[1];
389 stack_frame_head
= fra
.me
.prev
;
390 init_table
[itpos1
] = 1;
393 val_t
table_computation___MMConcreteClass___class_color_pos(val_t p0
){
394 struct {struct stack_frame_t me
;} fra
;
397 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
398 fra
.me
.file
= LOCATE_table_computation
;
400 fra
.me
.meth
= LOCATE_table_computation___MMConcreteClass___class_color_pos
;
401 fra
.me
.has_broke
= 0;
403 fra
.me
.REG
[0] = NIT_NULL
;
405 /* ./compiling//table_computation.nit:86 */
406 fra
.me
.REG
[0] = ATTR_table_computation___MMConcreteClass____class_color_pos(fra
.me
.REG
[0]);
407 REGB0
= TAG_Bool(fra
.me
.REG
[0]!=NIT_NULL
);
408 if (UNTAG_Bool(REGB0
)) {
410 nit_abort("Cast failed", NULL
, LOCATE_table_computation
, 86);
414 stack_frame_head
= fra
.me
.prev
;
415 return fra
.me
.REG
[0];
417 val_t
table_computation___MMConcreteClass___class_layout(val_t p0
){
418 struct {struct stack_frame_t me
;} fra
;
421 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
422 fra
.me
.file
= LOCATE_table_computation
;
424 fra
.me
.meth
= LOCATE_table_computation___MMConcreteClass___class_layout
;
425 fra
.me
.has_broke
= 0;
427 fra
.me
.REG
[0] = NIT_NULL
;
429 /* ./compiling//table_computation.nit:89 */
430 REGB0
= TAG_Bool(ATTR_table_computation___MMConcreteClass____class_layout(fra
.me
.REG
[0])!=NIT_NULL
);
431 if (UNTAG_Bool(REGB0
)) {
433 nit_abort("Uninitialized attribute %s", "_class_layout", LOCATE_table_computation
, 89);
435 fra
.me
.REG
[0] = ATTR_table_computation___MMConcreteClass____class_layout(fra
.me
.REG
[0]);
436 stack_frame_head
= fra
.me
.prev
;
437 return fra
.me
.REG
[0];
439 val_t
table_computation___MMConcreteClass___instance_layout(val_t p0
){
440 struct {struct stack_frame_t me
;} fra
;
443 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
444 fra
.me
.file
= LOCATE_table_computation
;
446 fra
.me
.meth
= LOCATE_table_computation___MMConcreteClass___instance_layout
;
447 fra
.me
.has_broke
= 0;
449 fra
.me
.REG
[0] = NIT_NULL
;
451 /* ./compiling//table_computation.nit:92 */
452 REGB0
= TAG_Bool(ATTR_table_computation___MMConcreteClass____instance_layout(fra
.me
.REG
[0])!=NIT_NULL
);
453 if (UNTAG_Bool(REGB0
)) {
455 nit_abort("Uninitialized attribute %s", "_instance_layout", LOCATE_table_computation
, 92);
457 fra
.me
.REG
[0] = ATTR_table_computation___MMConcreteClass____instance_layout(fra
.me
.REG
[0]);
458 stack_frame_head
= fra
.me
.prev
;
459 return fra
.me
.REG
[0];
461 void table_computation___MMConcreteClass___build_layout_in(val_t p0
, val_t p1
){
462 struct {struct stack_frame_t me
; val_t MORE_REG
[4];} fra
;
466 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
467 fra
.me
.file
= LOCATE_table_computation
;
469 fra
.me
.meth
= LOCATE_table_computation___MMConcreteClass___build_layout_in
;
470 fra
.me
.has_broke
= 0;
472 fra
.me
.REG
[0] = NIT_NULL
;
473 fra
.me
.REG
[1] = NIT_NULL
;
474 fra
.me
.REG
[2] = NIT_NULL
;
475 fra
.me
.REG
[3] = NIT_NULL
;
476 fra
.me
.REG
[4] = NIT_NULL
;
479 /* ./compiling//table_computation.nit:98 */
480 REGB0
= TAG_Bool(ATTR_table_computation___MMConcreteClass____class_layout(fra
.me
.REG
[0])!=NIT_NULL
);
481 if (UNTAG_Bool(REGB0
)) {
483 nit_abort("Uninitialized attribute %s", "_class_layout", LOCATE_table_computation
, 98);
485 fra
.me
.REG
[2] = ATTR_table_computation___MMConcreteClass____class_layout(fra
.me
.REG
[0]);
486 /* ./compiling//table_computation.nit:99 */
487 REGB0
= TAG_Bool(ATTR_table_computation___MMConcreteClass____instance_layout(fra
.me
.REG
[0])!=NIT_NULL
);
488 if (UNTAG_Bool(REGB0
)) {
490 nit_abort("Uninitialized attribute %s", "_instance_layout", LOCATE_table_computation
, 99);
492 fra
.me
.REG
[3] = ATTR_table_computation___MMConcreteClass____instance_layout(fra
.me
.REG
[0]);
493 /* ./compiling//table_computation.nit:101 */
494 fra
.me
.REG
[4] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
495 fra
.me
.REG
[4] = CALL_abstractmetamodel___MMGlobalClass___intro(fra
.me
.REG
[4])(fra
.me
.REG
[4]);
496 REGB0
= TAG_Bool(IS_EQUAL_OO(fra
.me
.REG
[4],fra
.me
.REG
[0]));
497 if (UNTAG_Bool(REGB0
)) {
499 REGB1
= CALL_kernel___Object_____eqeq(fra
.me
.REG
[4])(fra
.me
.REG
[4], fra
.me
.REG
[0]);
502 if (UNTAG_Bool(REGB0
)) {
503 /* ./compiling//table_computation.nit:102 */
504 fra
.me
.REG
[4] = NEW_TableEltClassId_table_computation___AbsTableEltClass___init(fra
.me
.REG
[0]);
505 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[4]);
506 /* ./compiling//table_computation.nit:103 */
507 fra
.me
.REG
[4] = NEW_TableEltClassColor_table_computation___AbsTableEltClass___init(fra
.me
.REG
[0]);
508 /* ./compiling//table_computation.nit:104 */
509 ATTR_table_computation___MMConcreteClass____class_color_pos(fra
.me
.REG
[0]) = fra
.me
.REG
[4];
510 /* ./compiling//table_computation.nit:105 */
511 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[4]);
512 /* ./compiling//table_computation.nit:106 */
513 fra
.me
.REG
[4] = NEW_TableEltClassInitTable_table_computation___AbsTableEltClass___init(fra
.me
.REG
[0]);
514 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[4]);
516 /* ./compiling//table_computation.nit:108 */
517 fra
.me
.REG
[0] = CALL_abstractmetamodel___MMLocalClass___local_local_properties(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
518 CALL_abstract_collection___Collection___iterate(fra
.me
.REG
[0])(fra
.me
.REG
[0], (&(fra
.me
)), ((fun_t
)OC_table_computation___MMConcreteClass___build_layout_in_1
));
519 /* ./compiling//table_computation.nit:122 */
520 REGB0
= CALL_abstract_collection___Collection___is_empty(fra
.me
.REG
[3])(fra
.me
.REG
[3]);
521 REGB0
= TAG_Bool(!UNTAG_Bool(REGB0
));
522 if (UNTAG_Bool(REGB0
)) {
523 /* ./compiling//table_computation.nit:123 */
524 fra
.me
.REG
[0] = NEW_ModuleTableEltGroup_table_computation___AbsTableElt___init();
525 /* ./compiling//table_computation.nit:124 */
526 fra
.me
.REG
[4] = CALL_table_computation___ModuleTableEltGroup___elements(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
527 CALL_abstract_collection___Sequence___append(fra
.me
.REG
[4])(fra
.me
.REG
[4], fra
.me
.REG
[3]);
528 /* ./compiling//table_computation.nit:125 */
529 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[0]);
531 /* ./compiling//table_computation.nit:128 */
532 REGB0
= CALL_abstract_collection___Collection___is_empty(fra
.me
.REG
[2])(fra
.me
.REG
[2]);
533 REGB0
= TAG_Bool(!UNTAG_Bool(REGB0
));
534 if (UNTAG_Bool(REGB0
)) {
535 /* ./compiling//table_computation.nit:129 */
536 fra
.me
.REG
[0] = NEW_ModuleTableEltGroup_table_computation___AbsTableElt___init();
537 /* ./compiling//table_computation.nit:130 */
538 fra
.me
.REG
[3] = CALL_table_computation___ModuleTableEltGroup___elements(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
539 CALL_abstract_collection___Sequence___append(fra
.me
.REG
[3])(fra
.me
.REG
[3], fra
.me
.REG
[2]);
540 /* ./compiling//table_computation.nit:131 */
541 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[0]);
543 stack_frame_head
= fra
.me
.prev
;
546 void OC_table_computation___MMConcreteClass___build_layout_in_1(struct stack_frame_t
*closctx
, val_t p0
, struct stack_frame_t
*closctx_param
, fun_t clos_fun0
){
547 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
552 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
553 fra
.me
.file
= LOCATE_table_computation
;
555 fra
.me
.meth
= LOCATE_table_computation___MMConcreteClass___build_layout_in
;
556 fra
.me
.has_broke
= 0;
558 fra
.me
.REG
[0] = NIT_NULL
;
559 fra
.me
.REG
[1] = NIT_NULL
;
560 fra
.me
.closure_ctx
= closctx_param
;
561 fra
.me
.closure_funs
= CREG
;
564 /* ./compiling//table_computation.nit:109 */
565 fra
.me
.REG
[1] = CALL_abstractmetamodel___MMLocalProperty___global(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
566 /* ./compiling//table_computation.nit:110 */
567 fra
.me
.REG
[1] = CALL_abstractmetamodel___MMGlobalProperty___intro(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
568 REGB0
= TAG_Bool(IS_EQUAL_OO(fra
.me
.REG
[1],fra
.me
.REG
[0]));
569 if (UNTAG_Bool(REGB0
)) {
571 REGB1
= CALL_kernel___Object_____eqeq(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[0]);
574 if (UNTAG_Bool(REGB0
)) {
575 /* ./compiling//table_computation.nit:111 */
576 REGB0
= TAG_Bool(VAL_ISA(fra
.me
.REG
[0], COLOR_MMAttribute
, ID_MMAttribute
)) /*cast MMAttribute*/;
577 if (UNTAG_Bool(REGB0
)) {
578 /* ./compiling//table_computation.nit:112 */
579 fra
.me
.REG
[1] = NEW_TableEltAttr_table_computation___TableEltProp___init(fra
.me
.REG
[0]);
580 CALL_abstract_collection___SimpleCollection___add(closctx
->REG
[3])(closctx
->REG
[3], fra
.me
.REG
[1]);
582 /* ./compiling//table_computation.nit:113 */
583 REGB0
= TAG_Bool(VAL_ISA(fra
.me
.REG
[0], COLOR_MMMethod
, ID_MMMethod
)) /*cast MMMethod*/;
584 if (UNTAG_Bool(REGB0
)) {
585 /* ./compiling//table_computation.nit:114 */
586 fra
.me
.REG
[1] = NEW_TableEltMeth_table_computation___TableEltProp___init(fra
.me
.REG
[0]);
587 CALL_abstract_collection___SimpleCollection___add(closctx
->REG
[2])(closctx
->REG
[2], fra
.me
.REG
[1]);
591 /* ./compiling//table_computation.nit:117 */
592 REGB0
= TAG_Bool(VAL_ISA(fra
.me
.REG
[0], COLOR_MMMethod
, ID_MMMethod
)) /*cast MMMethod*/;
593 if (UNTAG_Bool(REGB0
)) {
594 REGB0
= CALL_abstractmetamodel___MMLocalProperty___need_super(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
596 REGB1
= TAG_Bool(false);
599 if (UNTAG_Bool(REGB0
)) {
600 /* ./compiling//table_computation.nit:118 */
601 fra
.me
.REG
[0] = NEW_TableEltSuper_table_computation___TableEltProp___init(fra
.me
.REG
[0]);
602 CALL_abstract_collection___SimpleCollection___add(closctx
->REG
[2])(closctx
->REG
[2], fra
.me
.REG
[0]);
604 stack_frame_head
= fra
.me
.prev
;
607 val_t
table_computation___Program___table_information(val_t p0
){
608 struct {struct stack_frame_t me
;} fra
;
611 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
612 fra
.me
.file
= LOCATE_table_computation
;
614 fra
.me
.meth
= LOCATE_table_computation___Program___table_information
;
615 fra
.me
.has_broke
= 0;
617 fra
.me
.REG
[0] = NIT_NULL
;
619 /* ./compiling//table_computation.nit:137 */
620 REGB0
= TAG_Bool(ATTR_table_computation___Program____table_information(fra
.me
.REG
[0])!=NIT_NULL
);
621 if (UNTAG_Bool(REGB0
)) {
623 nit_abort("Uninitialized attribute %s", "_table_information", LOCATE_table_computation
, 137);
625 fra
.me
.REG
[0] = ATTR_table_computation___Program____table_information(fra
.me
.REG
[0]);
626 stack_frame_head
= fra
.me
.prev
;
627 return fra
.me
.REG
[0];
629 val_t
table_computation___Program___compiled_classes(val_t p0
){
630 struct {struct stack_frame_t me
;} fra
;
633 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
634 fra
.me
.file
= LOCATE_table_computation
;
636 fra
.me
.meth
= LOCATE_table_computation___Program___compiled_classes
;
637 fra
.me
.has_broke
= 0;
639 fra
.me
.REG
[0] = NIT_NULL
;
641 /* ./compiling//table_computation.nit:140 */
642 REGB0
= TAG_Bool(ATTR_table_computation___Program____compiled_classes(fra
.me
.REG
[0])!=NIT_NULL
);
643 if (UNTAG_Bool(REGB0
)) {
645 nit_abort("Uninitialized attribute %s", "_compiled_classes", LOCATE_table_computation
, 140);
647 fra
.me
.REG
[0] = ATTR_table_computation___Program____compiled_classes(fra
.me
.REG
[0]);
648 stack_frame_head
= fra
.me
.prev
;
649 return fra
.me
.REG
[0];
651 void table_computation___Program___do_table_computation(val_t p0
){
652 struct {struct stack_frame_t me
; val_t MORE_REG
[2];} fra
;
655 static val_t once_value_1
; /* Once value */
656 static val_t once_value_5
; /* Once value */
657 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
658 fra
.me
.file
= LOCATE_table_computation
;
660 fra
.me
.meth
= LOCATE_table_computation___Program___do_table_computation
;
661 fra
.me
.has_broke
= 0;
663 fra
.me
.REG
[0] = NIT_NULL
;
664 fra
.me
.REG
[1] = NIT_NULL
;
665 fra
.me
.REG
[2] = NIT_NULL
;
667 /* ./compiling//table_computation.nit:145 */
668 fra
.me
.REG
[1] = CALL_program___Program___tc(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
670 fra
.me
.REG
[2] = BOX_NativeString("Building tables");
672 fra
.me
.REG
[2] = NEW_String_string___String___with_native(fra
.me
.REG
[2], REGB0
);
673 once_value_1
= fra
.me
.REG
[2];
674 register_static_object(&once_value_1
);
675 } else fra
.me
.REG
[2] = once_value_1
;
676 fra
.me
.REG
[2] = fra
.me
.REG
[2];
678 CALL_mmloader___ToolContext___info(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[2], REGB0
);
679 /* ./compiling//table_computation.nit:146 */
680 fra
.me
.REG
[2] = CALL_program___Program___main_module(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
681 fra
.me
.REG
[2] = CALL_abstractmetamodel___MMModule___mhe(fra
.me
.REG
[2])(fra
.me
.REG
[2]);
682 REGB0
= TAG_Bool(fra
.me
.REG
[2]==NIT_NULL
);
683 if (UNTAG_Bool(REGB0
)) {
684 nit_abort("Reciever is null", NULL
, LOCATE_table_computation
, 146);
686 fra
.me
.REG
[2] = CALL_partial_order___PartialOrderElement___greaters_and_self(fra
.me
.REG
[2])(fra
.me
.REG
[2]);
687 CALL_abstract_collection___Collection___iterate(fra
.me
.REG
[2])(fra
.me
.REG
[2], (&(fra
.me
)), ((fun_t
)OC_table_computation___Program___do_table_computation_2
));
688 /* ./compiling//table_computation.nit:151 */
689 fra
.me
.REG
[2] = CALL_program___Program___tc(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
691 fra
.me
.REG
[1] = BOX_NativeString("Merging all tables");
693 fra
.me
.REG
[1] = NEW_String_string___String___with_native(fra
.me
.REG
[1], REGB0
);
694 once_value_5
= fra
.me
.REG
[1];
695 register_static_object(&once_value_5
);
696 } else fra
.me
.REG
[1] = once_value_5
;
697 fra
.me
.REG
[1] = fra
.me
.REG
[1];
699 CALL_mmloader___ToolContext___info(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[1], REGB0
);
700 /* ./compiling//table_computation.nit:152 */
701 CALL_table_computation___Program___do_global_table_analysis(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
702 stack_frame_head
= fra
.me
.prev
;
705 void OC_table_computation___Program___do_table_computation_2(struct stack_frame_t
*closctx
, val_t p0
, struct stack_frame_t
*closctx_param
, fun_t clos_fun0
){
706 struct {struct stack_frame_t me
; val_t MORE_REG
[3];} fra
;
710 static val_t once_value_3
; /* Once value */
711 static val_t once_value_4
; /* Once value */
712 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
713 fra
.me
.file
= LOCATE_table_computation
;
715 fra
.me
.meth
= LOCATE_table_computation___Program___do_table_computation
;
716 fra
.me
.has_broke
= 0;
718 fra
.me
.REG
[0] = NIT_NULL
;
719 fra
.me
.REG
[1] = NIT_NULL
;
720 fra
.me
.REG
[2] = NIT_NULL
;
721 fra
.me
.REG
[3] = NIT_NULL
;
722 fra
.me
.closure_ctx
= closctx_param
;
723 fra
.me
.closure_funs
= CREG
;
726 /* ./compiling//table_computation.nit:147 */
727 fra
.me
.REG
[1] = CALL_program___Program___tc(closctx
->REG
[0])(closctx
->REG
[0]);
729 fra
.me
.REG
[2] = NEW_Array_array___Array___with_capacity(REGB0
);
731 fra
.me
.REG
[3] = BOX_NativeString("Building tables for module: ");
733 fra
.me
.REG
[3] = NEW_String_string___String___with_native(fra
.me
.REG
[3], REGB0
);
734 once_value_3
= fra
.me
.REG
[3];
735 register_static_object(&once_value_3
);
736 } else fra
.me
.REG
[3] = once_value_3
;
737 fra
.me
.REG
[3] = fra
.me
.REG
[3];
738 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[3]);
739 fra
.me
.REG
[3] = CALL_abstractmetamodel___MMModule___name(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
740 fra
.me
.REG
[3] = CALL_string___Object___to_s(fra
.me
.REG
[3])(fra
.me
.REG
[3]);
741 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[3]);
743 fra
.me
.REG
[3] = BOX_NativeString("");
745 fra
.me
.REG
[3] = NEW_String_string___String___with_native(fra
.me
.REG
[3], REGB0
);
746 once_value_4
= fra
.me
.REG
[3];
747 register_static_object(&once_value_4
);
748 } else fra
.me
.REG
[3] = once_value_4
;
749 fra
.me
.REG
[3] = fra
.me
.REG
[3];
750 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[3]);
751 fra
.me
.REG
[2] = CALL_string___Object___to_s(fra
.me
.REG
[2])(fra
.me
.REG
[2]);
753 CALL_mmloader___ToolContext___info(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[2], REGB0
);
754 /* ./compiling//table_computation.nit:148 */
755 CALL_table_computation___MMModule___local_analysis(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
756 stack_frame_head
= fra
.me
.prev
;
759 void table_computation___Program___do_global_table_analysis(val_t p0
){
760 struct {struct stack_frame_t me
; val_t MORE_REG
[11];} fra
;
767 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
768 fra
.me
.file
= LOCATE_table_computation
;
770 fra
.me
.meth
= LOCATE_table_computation___Program___do_global_table_analysis
;
771 fra
.me
.has_broke
= 0;
772 fra
.me
.REG_size
= 12;
773 fra
.me
.REG
[0] = NIT_NULL
;
774 fra
.me
.REG
[1] = NIT_NULL
;
775 fra
.me
.REG
[2] = NIT_NULL
;
776 fra
.me
.REG
[3] = NIT_NULL
;
777 fra
.me
.REG
[4] = NIT_NULL
;
778 fra
.me
.REG
[5] = NIT_NULL
;
779 fra
.me
.REG
[6] = NIT_NULL
;
780 fra
.me
.REG
[7] = NIT_NULL
;
781 fra
.me
.REG
[8] = NIT_NULL
;
782 fra
.me
.REG
[9] = NIT_NULL
;
783 fra
.me
.REG
[10] = NIT_NULL
;
784 fra
.me
.REG
[11] = NIT_NULL
;
786 /* ./compiling//table_computation.nit:158 */
787 fra
.me
.REG
[1] = NEW_Array_array___Array___init();
788 /* ./compiling//table_computation.nit:159 */
789 fra
.me
.REG
[2] = NEW_HashSet_hash_collection___HashSet___init();
790 /* ./compiling//table_computation.nit:160 */
791 fra
.me
.REG
[2] = NEW_Array_array___Array___init();
792 /* ./compiling//table_computation.nit:161 */
793 fra
.me
.REG
[3] = NEW_Array_array___Array___init();
794 /* ./compiling//table_computation.nit:163 */
795 fra
.me
.REG
[4] = NEW_TableEltClassSelfId_table_computation___AbsTableElt___init();
796 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[4]);
797 /* ./compiling//table_computation.nit:164 */
798 fra
.me
.REG
[4] = NEW_TableEltClassObjectSize_table_computation___AbsTableElt___init();
799 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[4]);
800 /* ./compiling//table_computation.nit:165 */
801 fra
.me
.REG
[4] = NEW_TableEltVftPointer_table_computation___AbsTableElt___init();
802 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[3])(fra
.me
.REG
[3], fra
.me
.REG
[4]);
803 /* ./compiling//table_computation.nit:166 */
804 fra
.me
.REG
[4] = NEW_TableEltObjectId_table_computation___AbsTableElt___init();
805 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[3])(fra
.me
.REG
[3], fra
.me
.REG
[4]);
806 /* ./compiling//table_computation.nit:168 */
808 /* ./../lib/standard//kernel.nit:216 */
809 REGB0
= TAG_Int(-UNTAG_Int(REGB0
));
810 /* ./compiling//table_computation.nit:169 */
812 /* ./compiling//table_computation.nit:172 */
813 fra
.me
.REG
[4] = NEW_Array_array___Array___init();
814 /* ./compiling//table_computation.nit:173 */
815 fra
.me
.REG
[5] = CALL_program___Program___main_module(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
816 fra
.me
.REG
[5] = CALL_abstractmetamodel___MMModule___local_classes(fra
.me
.REG
[5])(fra
.me
.REG
[5]);
817 CALL_abstract_collection___Collection___iterate(fra
.me
.REG
[5])(fra
.me
.REG
[5], (&(fra
.me
)), ((fun_t
)OC_table_computation___Program___do_global_table_analysis_1
));
818 CALL_array___Array___sort(fra
.me
.REG
[4])(fra
.me
.REG
[4], (&(fra
.me
)), ((fun_t
)OC_table_computation___Program___do_global_table_analysis_2
));
819 /* ./../lib/standard//collection//array.nit:231 */
820 fra
.me
.REG
[5] = fra
.me
.REG
[4];
821 /* ./../lib/standard//collection//array.nit:234 */
823 /* ./../lib/standard//collection//array.nit:235 */
824 REGB3
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[5])!=NIT_NULL
);
825 if (UNTAG_Bool(REGB3
)) {
827 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
829 REGB3
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[5]);
830 /* ./../lib/standard//collection//array.nit:236 */
831 fra
.me
.REG
[6] = ATTR_array___Array____items(fra
.me
.REG
[5]);
832 /* ./../lib/standard//collection//array.nit:237 */
834 /* ./../lib/standard//collection//array.nit:23 */
835 REGB3
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[5])!=NIT_NULL
);
836 if (UNTAG_Bool(REGB3
)) {
838 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
840 REGB3
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[5]);
841 /* ./../lib/standard//kernel.nit:212 */
842 REGB3
= TAG_Bool(UNTAG_Int(REGB2
)<UNTAG_Int(REGB3
));
843 /* ./../lib/standard//collection//array.nit:237 */
844 if (UNTAG_Bool(REGB3
)) {
845 /* ./../lib/standard//collection//array.nit:238 */
846 REGB3
= TAG_Bool(fra
.me
.REG
[6]==NIT_NULL
);
847 if (UNTAG_Bool(REGB3
)) {
848 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
850 /* ./../lib/standard//collection//array.nit:654 */
851 fra
.me
.REG
[7] = ((Nit_NativeArray
)fra
.me
.REG
[6])->val
[UNTAG_Int(REGB2
)];
852 /* ./compiling//table_computation.nit:178 */
853 fra
.me
.REG
[8] = NEW_CompiledClass_table_computation___CompiledClass___init(fra
.me
.REG
[7]);
854 /* ./compiling//table_computation.nit:179 */
855 fra
.me
.REG
[9] = CALL_table_computation___Program___compiled_classes(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
856 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
857 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[9])(fra
.me
.REG
[9], fra
.me
.REG
[10], fra
.me
.REG
[8]);
858 /* ./compiling//table_computation.nit:183 */
859 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
860 /* ./compiling//table_computation.nit:184 */
861 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMGlobalClass___mmmodule(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
862 /* ./compiling//table_computation.nit:185 */
863 fra
.me
.REG
[10] = CALL_primitive_info___MMLocalClass___primitive_info(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
864 REGB3
= TAG_Bool(fra
.me
.REG
[10]==NIT_NULL
);
865 if (UNTAG_Bool(REGB3
)) {
867 REGB4
= TAG_Bool(fra
.me
.REG
[10]==NIT_NULL
);
868 if (UNTAG_Bool(REGB4
)) {
869 REGB4
= TAG_Bool(false);
872 REGB4
= CALL_kernel___Object_____eqeq(fra
.me
.REG
[10])(fra
.me
.REG
[10], NIT_NULL
);
876 REGB3
= TAG_Bool(!UNTAG_Bool(REGB3
));
877 if (UNTAG_Bool(REGB3
)) {
878 /* ./compiling//table_computation.nit:186 */
879 CALL_table_computation___CompiledClass___id__eq(fra
.me
.REG
[8])(fra
.me
.REG
[8], REGB0
);
880 /* ./compiling//table_computation.nit:187 */
882 /* ./../lib/standard//kernel.nit:217 */
883 REGB3
= TAG_Int(UNTAG_Int(REGB0
)-UNTAG_Int(REGB3
));
884 /* ./compiling//table_computation.nit:187 */
887 /* ./compiling//table_computation.nit:189 */
888 CALL_table_computation___CompiledClass___id__eq(fra
.me
.REG
[8])(fra
.me
.REG
[8], REGB1
);
889 /* ./compiling//table_computation.nit:190 */
891 /* ./../lib/standard//kernel.nit:215 */
892 REGB3
= TAG_Int(UNTAG_Int(REGB1
)+UNTAG_Int(REGB3
));
893 /* ./compiling//table_computation.nit:190 */
896 /* ./compiling//table_computation.nit:194 */
897 fra
.me
.REG
[8] = CALL_abstractmetamodel___MMLocalClass___cshe(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
898 fra
.me
.REG
[8] = CALL_partial_order___PartialOrderElement___direct_smallers(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
899 REGB3
= CALL_abstract_collection___Collection___is_empty(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
900 if (UNTAG_Bool(REGB3
)) {
901 /* ./compiling//table_computation.nit:195 */
902 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[7]);
904 /* ./compiling//table_computation.nit:199 */
905 fra
.me
.REG
[7] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
906 fra
.me
.REG
[7] = CALL_abstractmetamodel___MMGlobalClass___intro(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
907 /* ./compiling//table_computation.nit:200 */
908 REGB3
= TAG_Bool(VAL_ISA(fra
.me
.REG
[7], COLOR_MMConcreteClass
, ID_MMConcreteClass
)) /*cast MMConcreteClass*/;
909 if (UNTAG_Bool(REGB3
)) {
911 nit_abort("Assert failed", NULL
, LOCATE_table_computation
, 200);
913 /* ./compiling//table_computation.nit:201 */
914 fra
.me
.REG
[7] = CALL_table_computation___MMConcreteClass___class_color_pos(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
915 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[7]);
916 /* ./../lib/standard//collection//array.nit:239 */
918 /* ./../lib/standard//kernel.nit:215 */
919 REGB3
= TAG_Int(UNTAG_Int(REGB2
)+UNTAG_Int(REGB3
));
920 /* ./../lib/standard//collection//array.nit:239 */
923 /* ./../lib/standard//collection//array.nit:237 */
928 /* ./compiling//table_computation.nit:205 */
929 fra
.me
.REG
[6] = NEW_HashSet_hash_collection___HashSet___init();
930 /* ./compiling//table_computation.nit:206 */
931 fra
.me
.REG
[5] = NEW_HashSet_hash_collection___HashSet___init();
932 /* ./../lib/standard//collection//array.nit:234 */
934 /* ./../lib/standard//collection//array.nit:235 */
935 REGB1
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
936 if (UNTAG_Bool(REGB1
)) {
938 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
940 REGB1
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
941 /* ./../lib/standard//collection//array.nit:236 */
942 fra
.me
.REG
[7] = ATTR_array___Array____items(fra
.me
.REG
[1]);
943 /* ./../lib/standard//collection//array.nit:237 */
945 /* ./../lib/standard//collection//array.nit:23 */
946 REGB1
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
947 if (UNTAG_Bool(REGB1
)) {
949 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
951 REGB1
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
952 /* ./../lib/standard//kernel.nit:212 */
953 REGB1
= TAG_Bool(UNTAG_Int(REGB2
)<UNTAG_Int(REGB1
));
954 /* ./../lib/standard//collection//array.nit:237 */
955 if (UNTAG_Bool(REGB1
)) {
956 /* ./../lib/standard//collection//array.nit:238 */
957 REGB1
= TAG_Bool(fra
.me
.REG
[7]==NIT_NULL
);
958 if (UNTAG_Bool(REGB1
)) {
959 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
961 /* ./../lib/standard//collection//array.nit:654 */
962 fra
.me
.REG
[8] = ((Nit_NativeArray
)fra
.me
.REG
[7])->val
[UNTAG_Int(REGB2
)];
963 /* ./compiling//table_computation.nit:208 */
965 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMLocalClass___cshe(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
966 fra
.me
.REG
[10] = CALL_partial_order___PartialOrderElement___direct_greaters(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
967 /* ./../lib/standard//collection//array.nit:23 */
968 REGB1
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[10])!=NIT_NULL
);
969 if (UNTAG_Bool(REGB1
)) {
971 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
973 REGB1
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[10]);
974 /* ./compiling//table_computation.nit:208 */
976 REGB3
= TAG_Bool(IS_EQUAL_OO(REGB1
,REGB0
));
977 if (UNTAG_Bool(REGB3
)) {
979 /* ./../lib/standard//kernel.nit:207 */
980 REGB0
= TAG_Bool((REGB1
)==(REGB0
));
981 /* ./compiling//table_computation.nit:208 */
984 if (UNTAG_Bool(REGB3
)) {
985 /* ./compiling//table_computation.nit:209 */
986 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMLocalClass___cshe(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
987 fra
.me
.REG
[10] = CALL_partial_order___PartialOrderElement___direct_greaters(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
988 fra
.me
.REG
[10] = CALL_abstract_collection___Collection___first(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
989 fra
.me
.REG
[8] = fra
.me
.REG
[10];
991 /* ./compiling//table_computation.nit:208 */
996 /* ./compiling//table_computation.nit:211 */
997 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[6])(fra
.me
.REG
[6], fra
.me
.REG
[8]);
998 /* ./compiling//table_computation.nit:212 */
999 fra
.me
.REG
[8] = CALL_abstractmetamodel___MMLocalClass___cshe(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1000 fra
.me
.REG
[8] = CALL_partial_order___PartialOrderElement___greaters_and_self(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1001 CALL_abstract_collection___SimpleCollection___add_all(fra
.me
.REG
[5])(fra
.me
.REG
[5], fra
.me
.REG
[8]);
1002 /* ./../lib/standard//collection//array.nit:239 */
1004 /* ./../lib/standard//kernel.nit:215 */
1005 REGB3
= TAG_Int(UNTAG_Int(REGB2
)+UNTAG_Int(REGB3
));
1006 /* ./../lib/standard//collection//array.nit:239 */
1009 /* ./../lib/standard//collection//array.nit:237 */
1014 /* ./compiling//table_computation.nit:217 */
1016 CALL_table_computation___Program___colorize(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[2], fra
.me
.REG
[6], REGB2
);
1017 /* ./compiling//table_computation.nit:220 */
1019 /* ./../lib/standard//collection//array.nit:231 */
1020 fra
.me
.REG
[7] = fra
.me
.REG
[4];
1021 /* ./../lib/standard//collection//array.nit:234 */
1023 /* ./../lib/standard//collection//array.nit:235 */
1024 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7])!=NIT_NULL
);
1025 if (UNTAG_Bool(REGB0
)) {
1027 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
1029 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7]);
1030 /* ./../lib/standard//collection//array.nit:236 */
1031 fra
.me
.REG
[1] = ATTR_array___Array____items(fra
.me
.REG
[7]);
1032 /* ./../lib/standard//collection//array.nit:237 */
1034 /* ./../lib/standard//collection//array.nit:23 */
1035 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7])!=NIT_NULL
);
1036 if (UNTAG_Bool(REGB0
)) {
1038 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1040 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7]);
1041 /* ./../lib/standard//kernel.nit:212 */
1042 REGB0
= TAG_Bool(UNTAG_Int(REGB3
)<UNTAG_Int(REGB0
));
1043 /* ./../lib/standard//collection//array.nit:237 */
1044 if (UNTAG_Bool(REGB0
)) {
1045 /* ./../lib/standard//collection//array.nit:238 */
1046 REGB0
= TAG_Bool(fra
.me
.REG
[1]==NIT_NULL
);
1047 if (UNTAG_Bool(REGB0
)) {
1048 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
1050 /* ./../lib/standard//collection//array.nit:654 */
1051 fra
.me
.REG
[8] = ((Nit_NativeArray
)fra
.me
.REG
[1])->val
[UNTAG_Int(REGB3
)];
1052 /* ./compiling//table_computation.nit:222 */
1053 fra
.me
.REG
[10] = CALL_table_computation___Program___compiled_classes(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1054 fra
.me
.REG
[9] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1055 fra
.me
.REG
[9] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[10])(fra
.me
.REG
[10], fra
.me
.REG
[9]);
1056 /* ./compiling//table_computation.nit:223 */
1057 REGB0
= CALL_abstract_collection___Collection___has(fra
.me
.REG
[5])(fra
.me
.REG
[5], fra
.me
.REG
[8]);
1058 if (UNTAG_Bool(REGB0
)) {
1059 /* ./compiling//table_computation.nit:225 */
1060 fra
.me
.REG
[10] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1061 CALL_table_computation___Program___build_tables_in(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[10], fra
.me
.REG
[8], fra
.me
.REG
[2]);
1062 /* ./compiling//table_computation.nit:226 */
1063 fra
.me
.REG
[10] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1064 /* ./../lib/standard//collection//array.nit:23 */
1065 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[10])!=NIT_NULL
);
1066 if (UNTAG_Bool(REGB0
)) {
1068 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1070 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[10]);
1071 /* ./../lib/standard//kernel.nit:212 */
1072 REGB0
= TAG_Bool(UNTAG_Int(REGB2
)<UNTAG_Int(REGB0
));
1073 /* ./compiling//table_computation.nit:226 */
1074 if (UNTAG_Bool(REGB0
)) {
1075 fra
.me
.REG
[10] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1076 /* ./../lib/standard//collection//array.nit:23 */
1077 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[10])!=NIT_NULL
);
1078 if (UNTAG_Bool(REGB0
)) {
1080 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1082 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[10]);
1083 /* ./compiling//table_computation.nit:226 */
1087 /* ./compiling//table_computation.nit:229 */
1088 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMLocalClass___cshe(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1089 fra
.me
.REG
[10] = CALL_partial_order___PartialOrderElement___direct_greaters(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1090 fra
.me
.REG
[10] = CALL_abstract_collection___Collection___first(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1091 /* ./compiling//table_computation.nit:230 */
1092 fra
.me
.REG
[11] = CALL_table_computation___Program___compiled_classes(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1093 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1094 fra
.me
.REG
[10] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[11])(fra
.me
.REG
[11], fra
.me
.REG
[10]);
1095 /* ./compiling//table_computation.nit:231 */
1096 fra
.me
.REG
[11] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1097 REGB0
= CALL_abstract_collection___Collection___is_empty(fra
.me
.REG
[11])(fra
.me
.REG
[11]);
1098 if (UNTAG_Bool(REGB0
)) {
1100 nit_abort("Assert failed", NULL
, LOCATE_table_computation
, 231);
1102 /* ./compiling//table_computation.nit:232 */
1103 fra
.me
.REG
[11] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1104 fra
.me
.REG
[10] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1105 CALL_abstract_collection___SimpleCollection___add_all(fra
.me
.REG
[11])(fra
.me
.REG
[11], fra
.me
.REG
[10]);
1106 /* ./compiling//table_computation.nit:233 */
1107 fra
.me
.REG
[8] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1108 fra
.me
.REG
[8] = CALL_abstractmetamodel___MMGlobalClass___intro(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1109 /* ./compiling//table_computation.nit:234 */
1110 REGB0
= TAG_Bool(VAL_ISA(fra
.me
.REG
[8], COLOR_MMConcreteClass
, ID_MMConcreteClass
)) /*cast MMConcreteClass*/;
1111 if (UNTAG_Bool(REGB0
)) {
1113 nit_abort("Assert failed", NULL
, LOCATE_table_computation
, 234);
1115 /* ./compiling//table_computation.nit:235 */
1116 fra
.me
.REG
[8] = CALL_table_computation___MMConcreteClass___class_color_pos(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1117 /* ./compiling//table_computation.nit:236 */
1118 fra
.me
.REG
[10] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1119 /* ./../lib/standard//collection//array.nit:23 */
1120 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[10])!=NIT_NULL
);
1121 if (UNTAG_Bool(REGB0
)) {
1123 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1125 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[10]);
1126 /* ./compiling//table_computation.nit:237 */
1127 fra
.me
.REG
[10] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1128 CALL_table_computation___ColorContext___color__eq(fra
.me
.REG
[10])(fra
.me
.REG
[10], fra
.me
.REG
[8], REGB0
);
1129 /* ./compiling//table_computation.nit:238 */
1130 fra
.me
.REG
[9] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1131 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[9])(fra
.me
.REG
[9], fra
.me
.REG
[8]);
1132 /* ./../lib/standard//kernel.nit:212 */
1133 REGB1
= TAG_Bool(UNTAG_Int(REGB2
)<UNTAG_Int(REGB0
));
1134 /* ./compiling//table_computation.nit:239 */
1135 if (UNTAG_Bool(REGB1
)) {
1139 /* ./../lib/standard//collection//array.nit:239 */
1141 /* ./../lib/standard//kernel.nit:215 */
1142 REGB0
= TAG_Int(UNTAG_Int(REGB3
)+UNTAG_Int(REGB0
));
1143 /* ./../lib/standard//collection//array.nit:239 */
1146 /* ./../lib/standard//collection//array.nit:237 */
1151 /* ./compiling//table_computation.nit:242 */
1152 fra
.me
.REG
[1] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1154 /* ./../lib/standard//kernel.nit:215 */
1155 REGB3
= TAG_Int(UNTAG_Int(REGB2
)+UNTAG_Int(REGB3
));
1156 /* ./compiling//table_computation.nit:242 */
1157 CALL_table_computation___TableInformation___max_class_table_length__eq(fra
.me
.REG
[1])(fra
.me
.REG
[1], REGB3
);
1158 /* ./../lib/standard//collection//array.nit:231 */
1159 fra
.me
.REG
[1] = fra
.me
.REG
[4];
1160 /* ./../lib/standard//collection//array.nit:234 */
1162 /* ./../lib/standard//collection//array.nit:235 */
1163 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
1164 if (UNTAG_Bool(REGB0
)) {
1166 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
1168 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
1169 /* ./../lib/standard//collection//array.nit:236 */
1170 fra
.me
.REG
[7] = ATTR_array___Array____items(fra
.me
.REG
[1]);
1171 /* ./../lib/standard//collection//array.nit:237 */
1173 /* ./../lib/standard//collection//array.nit:23 */
1174 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
1175 if (UNTAG_Bool(REGB0
)) {
1177 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1179 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
1180 /* ./../lib/standard//kernel.nit:212 */
1181 REGB0
= TAG_Bool(UNTAG_Int(REGB3
)<UNTAG_Int(REGB0
));
1182 /* ./../lib/standard//collection//array.nit:237 */
1183 if (UNTAG_Bool(REGB0
)) {
1184 /* ./../lib/standard//collection//array.nit:238 */
1185 REGB0
= TAG_Bool(fra
.me
.REG
[7]==NIT_NULL
);
1186 if (UNTAG_Bool(REGB0
)) {
1187 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
1189 /* ./../lib/standard//collection//array.nit:654 */
1190 fra
.me
.REG
[8] = ((Nit_NativeArray
)fra
.me
.REG
[7])->val
[UNTAG_Int(REGB3
)];
1191 /* ./compiling//table_computation.nit:246 */
1192 fra
.me
.REG
[9] = CALL_table_computation___Program___compiled_classes(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1193 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1194 fra
.me
.REG
[10] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[9])(fra
.me
.REG
[9], fra
.me
.REG
[10]);
1195 /* ./compiling//table_computation.nit:247 */
1196 fra
.me
.REG
[9] = CALL_table_computation___CompiledClass___class_layout(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1197 /* ./compiling//table_computation.nit:248 */
1198 fra
.me
.REG
[10] = CALL_table_computation___CompiledClass___instance_layout(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1199 /* ./compiling//table_computation.nit:249 */
1200 fra
.me
.REG
[11] = CALL_abstractmetamodel___MMLocalClass___crhe(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1201 fra
.me
.REG
[11] = CALL_partial_order___PartialOrderElement___greaters_and_self(fra
.me
.REG
[11])(fra
.me
.REG
[11]);
1202 CALL_abstract_collection___Collection___iterate(fra
.me
.REG
[11])(fra
.me
.REG
[11], (&(fra
.me
)), ((fun_t
)OC_table_computation___Program___do_global_table_analysis_8
));
1203 /* ./compiling//table_computation.nit:256 */
1204 REGB0
= CALL_abstract_collection___Collection___has(fra
.me
.REG
[5])(fra
.me
.REG
[5], fra
.me
.REG
[8]);
1205 if (UNTAG_Bool(REGB0
)) {
1206 /* ./compiling//table_computation.nit:257 */
1207 REGB0
= CALL_table_computation___TableElt___length(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1209 /* ./../lib/standard//kernel.nit:214 */
1210 REGB1
= TAG_Bool(UNTAG_Int(REGB0
)>UNTAG_Int(REGB1
));
1211 /* ./compiling//table_computation.nit:257 */
1212 if (UNTAG_Bool(REGB1
)) {
1213 /* ./compiling//table_computation.nit:258 */
1214 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[9]);
1216 /* ./compiling//table_computation.nit:260 */
1217 REGB1
= CALL_table_computation___TableElt___length(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1219 /* ./../lib/standard//kernel.nit:214 */
1220 REGB0
= TAG_Bool(UNTAG_Int(REGB1
)>UNTAG_Int(REGB0
));
1221 /* ./compiling//table_computation.nit:260 */
1222 if (UNTAG_Bool(REGB0
)) {
1223 /* ./compiling//table_computation.nit:261 */
1224 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[3])(fra
.me
.REG
[3], fra
.me
.REG
[10]);
1227 /* ./../lib/standard//collection//array.nit:239 */
1229 /* ./../lib/standard//kernel.nit:215 */
1230 REGB0
= TAG_Int(UNTAG_Int(REGB3
)+UNTAG_Int(REGB0
));
1231 /* ./../lib/standard//collection//array.nit:239 */
1234 /* ./../lib/standard//collection//array.nit:237 */
1239 /* ./compiling//table_computation.nit:267 */
1241 /* ./../lib/standard//kernel.nit:215 */
1242 REGB3
= TAG_Int(UNTAG_Int(REGB2
)+UNTAG_Int(REGB3
));
1243 /* ./compiling//table_computation.nit:267 */
1244 CALL_table_computation___Program___colorize(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[2], fra
.me
.REG
[6], REGB3
);
1245 /* ./compiling//table_computation.nit:268 */
1247 CALL_table_computation___Program___colorize(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[3], fra
.me
.REG
[6], REGB3
);
1248 /* ./compiling//table_computation.nit:271 */
1249 fra
.me
.REG
[6] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1251 CALL_table_computation___TableInformation___max_class_table_length__eq(fra
.me
.REG
[6])(fra
.me
.REG
[6], REGB3
);
1252 /* ./../lib/standard//collection//array.nit:234 */
1254 /* ./../lib/standard//collection//array.nit:235 */
1255 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[4])!=NIT_NULL
);
1256 if (UNTAG_Bool(REGB0
)) {
1258 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
1260 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[4]);
1261 /* ./../lib/standard//collection//array.nit:236 */
1262 fra
.me
.REG
[6] = ATTR_array___Array____items(fra
.me
.REG
[4]);
1263 /* ./../lib/standard//collection//array.nit:237 */
1265 /* ./../lib/standard//collection//array.nit:23 */
1266 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[4])!=NIT_NULL
);
1267 if (UNTAG_Bool(REGB0
)) {
1269 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1271 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[4]);
1272 /* ./../lib/standard//kernel.nit:212 */
1273 REGB0
= TAG_Bool(UNTAG_Int(REGB3
)<UNTAG_Int(REGB0
));
1274 /* ./../lib/standard//collection//array.nit:237 */
1275 if (UNTAG_Bool(REGB0
)) {
1276 /* ./../lib/standard//collection//array.nit:238 */
1277 REGB0
= TAG_Bool(fra
.me
.REG
[6]==NIT_NULL
);
1278 if (UNTAG_Bool(REGB0
)) {
1279 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
1281 /* ./../lib/standard//collection//array.nit:654 */
1282 fra
.me
.REG
[7] = ((Nit_NativeArray
)fra
.me
.REG
[6])->val
[UNTAG_Int(REGB3
)];
1283 /* ./compiling//table_computation.nit:273 */
1284 fra
.me
.REG
[1] = CALL_table_computation___Program___compiled_classes(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1285 fra
.me
.REG
[10] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
1286 fra
.me
.REG
[10] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[10]);
1287 /* ./compiling//table_computation.nit:274 */
1288 REGB0
= CALL_abstract_collection___Collection___has(fra
.me
.REG
[5])(fra
.me
.REG
[5], fra
.me
.REG
[7]);
1289 if (UNTAG_Bool(REGB0
)) {
1290 /* ./compiling//table_computation.nit:276 */
1291 fra
.me
.REG
[1] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1292 CALL_table_computation___Program___build_tables_in(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[1], fra
.me
.REG
[7], fra
.me
.REG
[2]);
1293 /* ./compiling//table_computation.nit:277 */
1294 fra
.me
.REG
[1] = CALL_table_computation___CompiledClass___instance_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1295 CALL_table_computation___Program___build_tables_in(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[1], fra
.me
.REG
[7], fra
.me
.REG
[3]);
1297 /* ./compiling//table_computation.nit:280 */
1298 fra
.me
.REG
[1] = CALL_abstractmetamodel___MMLocalClass___cshe(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
1299 fra
.me
.REG
[1] = CALL_partial_order___PartialOrderElement___direct_greaters(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
1300 fra
.me
.REG
[1] = CALL_abstract_collection___Collection___first(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
1301 /* ./compiling//table_computation.nit:281 */
1302 fra
.me
.REG
[9] = CALL_table_computation___Program___compiled_classes(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1303 fra
.me
.REG
[1] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
1304 fra
.me
.REG
[1] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[9])(fra
.me
.REG
[9], fra
.me
.REG
[1]);
1305 /* ./compiling//table_computation.nit:282 */
1306 fra
.me
.REG
[9] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1307 CALL_abstract_collection___RemovableCollection___clear(fra
.me
.REG
[9])(fra
.me
.REG
[9]);
1308 /* ./compiling//table_computation.nit:283 */
1309 fra
.me
.REG
[9] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1310 fra
.me
.REG
[8] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
1311 CALL_abstract_collection___SimpleCollection___add_all(fra
.me
.REG
[9])(fra
.me
.REG
[9], fra
.me
.REG
[8]);
1312 /* ./compiling//table_computation.nit:284 */
1313 fra
.me
.REG
[7] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
1314 fra
.me
.REG
[7] = CALL_abstractmetamodel___MMGlobalClass___intro(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
1315 /* ./compiling//table_computation.nit:285 */
1316 REGB0
= TAG_Bool(VAL_ISA(fra
.me
.REG
[7], COLOR_MMConcreteClass
, ID_MMConcreteClass
)) /*cast MMConcreteClass*/;
1317 if (UNTAG_Bool(REGB0
)) {
1319 nit_abort("Assert failed", NULL
, LOCATE_table_computation
, 285);
1321 /* ./compiling//table_computation.nit:286 */
1322 fra
.me
.REG
[7] = CALL_table_computation___MMConcreteClass___class_color_pos(fra
.me
.REG
[7])(fra
.me
.REG
[7]);
1323 /* ./compiling//table_computation.nit:287 */
1324 fra
.me
.REG
[8] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1325 fra
.me
.REG
[9] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1326 REGB0
= CALL_table_computation___ColorContext___color(fra
.me
.REG
[9])(fra
.me
.REG
[9], fra
.me
.REG
[7]);
1327 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[8])(fra
.me
.REG
[8], REGB0
, fra
.me
.REG
[7]);
1328 /* ./compiling//table_computation.nit:288 */
1330 fra
.me
.REG
[7] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1331 /* ./../lib/standard//collection//array.nit:23 */
1332 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7])!=NIT_NULL
);
1333 if (UNTAG_Bool(REGB0
)) {
1335 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1337 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7]);
1338 /* ./../lib/standard//kernel.nit:211 */
1339 REGB0
= TAG_Bool(UNTAG_Int(REGB0
)<=UNTAG_Int(REGB2
));
1340 /* ./compiling//table_computation.nit:288 */
1341 if (UNTAG_Bool(REGB0
)) {
1342 /* ./compiling//table_computation.nit:289 */
1343 fra
.me
.REG
[7] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1344 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[7])(fra
.me
.REG
[7], NIT_NULL
);
1346 /* ./compiling//table_computation.nit:288 */
1351 /* ./compiling//table_computation.nit:291 */
1352 fra
.me
.REG
[7] = CALL_table_computation___CompiledClass___class_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1353 fra
.me
.REG
[8] = CALL_table_computation___CompiledClass___class_layout(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1354 CALL_table_computation___Program___append_to_table(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[7], fra
.me
.REG
[8]);
1355 /* ./compiling//table_computation.nit:292 */
1356 fra
.me
.REG
[8] = CALL_table_computation___CompiledClass___instance_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1357 REGB0
= CALL_abstract_collection___Collection___is_empty(fra
.me
.REG
[8])(fra
.me
.REG
[8]);
1358 if (UNTAG_Bool(REGB0
)) {
1360 nit_abort("Assert failed", NULL
, LOCATE_table_computation
, 292);
1362 /* ./compiling//table_computation.nit:293 */
1363 fra
.me
.REG
[8] = CALL_table_computation___CompiledClass___instance_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1364 fra
.me
.REG
[1] = CALL_table_computation___CompiledClass___instance_table(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
1365 CALL_abstract_collection___SimpleCollection___add_all(fra
.me
.REG
[8])(fra
.me
.REG
[8], fra
.me
.REG
[1]);
1366 /* ./compiling//table_computation.nit:294 */
1367 fra
.me
.REG
[1] = CALL_table_computation___CompiledClass___instance_table(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1368 fra
.me
.REG
[10] = CALL_table_computation___CompiledClass___instance_layout(fra
.me
.REG
[10])(fra
.me
.REG
[10]);
1369 CALL_table_computation___Program___append_to_table(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[1], fra
.me
.REG
[10]);
1371 /* ./../lib/standard//collection//array.nit:239 */
1373 /* ./../lib/standard//kernel.nit:215 */
1374 REGB0
= TAG_Int(UNTAG_Int(REGB3
)+UNTAG_Int(REGB0
));
1375 /* ./../lib/standard//collection//array.nit:239 */
1378 /* ./../lib/standard//collection//array.nit:237 */
1383 stack_frame_head
= fra
.me
.prev
;
1386 void OC_table_computation___Program___do_global_table_analysis_1(struct stack_frame_t
*closctx
, val_t p0
, struct stack_frame_t
*closctx_param
, fun_t clos_fun0
){
1387 struct {struct stack_frame_t me
;} fra
;
1390 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
1391 fra
.me
.file
= LOCATE_table_computation
;
1393 fra
.me
.meth
= LOCATE_table_computation___Program___do_global_table_analysis
;
1394 fra
.me
.has_broke
= 0;
1395 fra
.me
.REG_size
= 1;
1396 fra
.me
.REG
[0] = NIT_NULL
;
1397 fra
.me
.closure_ctx
= closctx_param
;
1398 fra
.me
.closure_funs
= CREG
;
1400 CREG
[0] = clos_fun0
;
1401 CALL_abstract_collection___SimpleCollection___add(closctx
->REG
[4])(closctx
->REG
[4], fra
.me
.REG
[0]);
1402 stack_frame_head
= fra
.me
.prev
;
1405 val_t
OC_table_computation___Program___do_global_table_analysis_2(struct stack_frame_t
*closctx
, val_t p0
, val_t p1
){
1406 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
1409 /* ./compiling//table_computation.nit:174 */
1410 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
1411 fra
.me
.file
= LOCATE_table_computation
;
1413 fra
.me
.meth
= LOCATE_table_computation___Program___do_global_table_analysis
;
1414 fra
.me
.has_broke
= 0;
1415 fra
.me
.REG_size
= 2;
1416 fra
.me
.REG
[0] = NIT_NULL
;
1417 fra
.me
.REG
[1] = NIT_NULL
;
1420 REGB0
= CALL_abstractmetamodel___MMLocalClass___total_order_compare(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[1]);
1423 stack_frame_head
= fra
.me
.prev
;
1426 void OC_table_computation___Program___do_global_table_analysis_8(struct stack_frame_t
*closctx
, val_t p0
){
1427 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
1430 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
1431 fra
.me
.file
= LOCATE_table_computation
;
1433 fra
.me
.meth
= LOCATE_table_computation___Program___do_global_table_analysis
;
1434 fra
.me
.has_broke
= 0;
1435 fra
.me
.REG_size
= 2;
1436 fra
.me
.REG
[0] = NIT_NULL
;
1437 fra
.me
.REG
[1] = NIT_NULL
;
1439 /* ./compiling//table_computation.nit:250 */
1440 REGB0
= TAG_Bool(VAL_ISA(fra
.me
.REG
[0], COLOR_MMConcreteClass
, ID_MMConcreteClass
)) /*cast MMConcreteClass*/;
1441 if (UNTAG_Bool(REGB0
)) {
1442 /* ./compiling//table_computation.nit:251 */
1443 fra
.me
.REG
[1] = CALL_table_computation___MMConcreteClass___class_layout(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1444 CALL_table_computation___TableEltComposite___add(closctx
->REG
[9])(closctx
->REG
[9], fra
.me
.REG
[0], fra
.me
.REG
[1]);
1445 /* ./compiling//table_computation.nit:252 */
1446 fra
.me
.REG
[1] = CALL_table_computation___MMConcreteClass___instance_layout(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1447 CALL_table_computation___TableEltComposite___add(closctx
->REG
[10])(closctx
->REG
[10], fra
.me
.REG
[0], fra
.me
.REG
[1]);
1449 stack_frame_head
= fra
.me
.prev
;
1452 void table_computation___Program___colorize(val_t p0
, val_t p1
, val_t p2
, val_t p3
){
1453 struct {struct stack_frame_t me
; val_t MORE_REG
[10];} fra
;
1464 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
1465 fra
.me
.file
= LOCATE_table_computation
;
1467 fra
.me
.meth
= LOCATE_table_computation___Program___colorize
;
1468 fra
.me
.has_broke
= 0;
1469 fra
.me
.REG_size
= 11;
1470 fra
.me
.REG
[0] = NIT_NULL
;
1471 fra
.me
.REG
[1] = NIT_NULL
;
1472 fra
.me
.REG
[2] = NIT_NULL
;
1473 fra
.me
.REG
[3] = NIT_NULL
;
1474 fra
.me
.REG
[4] = NIT_NULL
;
1475 fra
.me
.REG
[5] = NIT_NULL
;
1476 fra
.me
.REG
[6] = NIT_NULL
;
1477 fra
.me
.REG
[7] = NIT_NULL
;
1478 fra
.me
.REG
[8] = NIT_NULL
;
1479 fra
.me
.REG
[9] = NIT_NULL
;
1480 fra
.me
.REG
[10] = NIT_NULL
;
1485 /* ./compiling//table_computation.nit:302 */
1486 fra
.me
.REG
[3] = NEW_HashMap_hash_collection___HashMap___init();
1487 /* ./compiling//table_computation.nit:303 */
1488 fra
.me
.REG
[4] = NEW_Array_array___Array___init();
1489 /* ./../lib/standard//collection//array.nit:234 */
1491 /* ./../lib/standard//collection//array.nit:235 */
1492 REGB2
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
1493 if (UNTAG_Bool(REGB2
)) {
1495 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
1497 REGB2
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
1498 /* ./../lib/standard//collection//array.nit:236 */
1499 fra
.me
.REG
[5] = ATTR_array___Array____items(fra
.me
.REG
[1]);
1500 /* ./../lib/standard//collection//array.nit:237 */
1502 /* ./../lib/standard//collection//array.nit:23 */
1503 REGB2
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
1504 if (UNTAG_Bool(REGB2
)) {
1506 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1508 REGB2
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
1509 /* ./../lib/standard//kernel.nit:212 */
1510 REGB2
= TAG_Bool(UNTAG_Int(REGB1
)<UNTAG_Int(REGB2
));
1511 /* ./../lib/standard//collection//array.nit:237 */
1512 if (UNTAG_Bool(REGB2
)) {
1513 /* ./../lib/standard//collection//array.nit:238 */
1514 REGB2
= TAG_Bool(fra
.me
.REG
[5]==NIT_NULL
);
1515 if (UNTAG_Bool(REGB2
)) {
1516 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
1518 /* ./../lib/standard//collection//array.nit:654 */
1519 fra
.me
.REG
[6] = ((Nit_NativeArray
)fra
.me
.REG
[5])->val
[UNTAG_Int(REGB1
)];
1520 /* ./compiling//table_computation.nit:305 */
1522 /* ./../lib/standard//kernel.nit:216 */
1523 REGB2
= TAG_Int(-UNTAG_Int(REGB2
));
1524 /* ./compiling//table_computation.nit:306 */
1525 REGB3
= CALL_table_computation___TableElt___length(fra
.me
.REG
[6])(fra
.me
.REG
[6]);
1526 /* ./compiling//table_computation.nit:307 */
1527 fra
.me
.REG
[7] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1528 REGB4
= CALL_table_computation___ColorContext___has_color(fra
.me
.REG
[7])(fra
.me
.REG
[7], fra
.me
.REG
[6]);
1529 if (UNTAG_Bool(REGB4
)) {
1530 /* ./compiling//table_computation.nit:308 */
1531 fra
.me
.REG
[7] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1532 REGB4
= CALL_table_computation___ColorContext___color(fra
.me
.REG
[7])(fra
.me
.REG
[7], fra
.me
.REG
[6]);
1535 /* ./compiling//table_computation.nit:310 */
1536 CALL_abstract_collection___RemovableCollection___clear(fra
.me
.REG
[4])(fra
.me
.REG
[4]);
1537 CALL_abstract_collection___Collection___iterate(fra
.me
.REG
[2])(fra
.me
.REG
[2], (&(fra
.me
)), ((fun_t
)OC_table_computation___Program___colorize_1
));
1538 /* ./compiling//table_computation.nit:316 */
1540 /* ./compiling//table_computation.nit:317 */
1542 REGB5
= TAG_Bool(IS_EQUAL_OO(REGB4
,REGB2
));
1543 if (UNTAG_Bool(REGB5
)) {
1545 /* ./../lib/standard//kernel.nit:207 */
1546 REGB6
= TAG_Bool((REGB4
)==(REGB2
));
1547 /* ./compiling//table_computation.nit:317 */
1550 REGB5
= TAG_Bool(!UNTAG_Bool(REGB5
));
1551 if (UNTAG_Bool(REGB5
)) {
1552 /* ./compiling//table_computation.nit:318 */
1554 /* ./../lib/standard//collection//array.nit:231 */
1555 fra
.me
.REG
[7] = fra
.me
.REG
[4];
1556 /* ./../lib/standard//collection//array.nit:234 */
1558 /* ./../lib/standard//collection//array.nit:235 */
1559 REGB6
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7])!=NIT_NULL
);
1560 if (UNTAG_Bool(REGB6
)) {
1562 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
1564 REGB6
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7]);
1565 /* ./../lib/standard//collection//array.nit:236 */
1566 fra
.me
.REG
[8] = ATTR_array___Array____items(fra
.me
.REG
[7]);
1567 /* ./../lib/standard//collection//array.nit:237 */
1569 /* ./../lib/standard//collection//array.nit:23 */
1570 REGB6
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7])!=NIT_NULL
);
1571 if (UNTAG_Bool(REGB6
)) {
1573 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1575 REGB6
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[7]);
1576 /* ./../lib/standard//kernel.nit:212 */
1577 REGB6
= TAG_Bool(UNTAG_Int(REGB5
)<UNTAG_Int(REGB6
));
1578 /* ./../lib/standard//collection//array.nit:237 */
1579 if (UNTAG_Bool(REGB6
)) {
1580 /* ./../lib/standard//collection//array.nit:238 */
1581 REGB6
= TAG_Bool(fra
.me
.REG
[8]==NIT_NULL
);
1582 if (UNTAG_Bool(REGB6
)) {
1583 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
1585 /* ./../lib/standard//collection//array.nit:654 */
1586 fra
.me
.REG
[9] = ((Nit_NativeArray
)fra
.me
.REG
[8])->val
[UNTAG_Int(REGB5
)];
1587 /* ./compiling//table_computation.nit:320 */
1589 /* ./compiling//table_computation.nit:321 */
1591 /* ./../lib/standard//kernel.nit:212 */
1592 REGB7
= TAG_Bool(UNTAG_Int(REGB6
)<UNTAG_Int(REGB3
));
1593 /* ./compiling//table_computation.nit:321 */
1594 if (UNTAG_Bool(REGB7
)) {
1595 /* ./../lib/standard//kernel.nit:215 */
1596 REGB7
= TAG_Int(UNTAG_Int(REGB4
)+UNTAG_Int(REGB6
));
1597 /* ./compiling//table_computation.nit:322 */
1598 REGB7
= CALL_abstract_collection___MapRead___has_key(fra
.me
.REG
[3])(fra
.me
.REG
[3], REGB7
);
1599 if (UNTAG_Bool(REGB7
)) {
1600 /* ./../lib/standard//kernel.nit:215 */
1601 REGB7
= TAG_Int(UNTAG_Int(REGB4
)+UNTAG_Int(REGB6
));
1602 /* ./compiling//table_computation.nit:322 */
1603 fra
.me
.REG
[10] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[3])(fra
.me
.REG
[3], REGB7
);
1604 REGB7
= CALL_table_computation___Program___free_color(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[10], fra
.me
.REG
[9]);
1605 REGB7
= TAG_Bool(!UNTAG_Bool(REGB7
));
1607 REGB8
= TAG_Bool(false);
1610 if (UNTAG_Bool(REGB7
)) {
1611 /* ./../lib/standard//kernel.nit:215 */
1612 REGB7
= TAG_Int(UNTAG_Int(REGB4
)+UNTAG_Int(REGB6
));
1613 /* ./compiling//table_computation.nit:323 */
1615 /* ./../lib/standard//kernel.nit:215 */
1616 REGB8
= TAG_Int(UNTAG_Int(REGB7
)+UNTAG_Int(REGB8
));
1617 /* ./compiling//table_computation.nit:323 */
1619 /* ./compiling//table_computation.nit:324 */
1623 /* ./compiling//table_computation.nit:326 */
1625 /* ./../lib/standard//kernel.nit:215 */
1626 REGB8
= TAG_Int(UNTAG_Int(REGB6
)+UNTAG_Int(REGB8
));
1627 /* ./compiling//table_computation.nit:326 */
1631 /* ./compiling//table_computation.nit:321 */
1636 /* ./../lib/standard//collection//array.nit:239 */
1638 /* ./../lib/standard//kernel.nit:215 */
1639 REGB6
= TAG_Int(UNTAG_Int(REGB5
)+UNTAG_Int(REGB6
));
1640 /* ./../lib/standard//collection//array.nit:239 */
1643 /* ./../lib/standard//collection//array.nit:237 */
1649 /* ./compiling//table_computation.nit:317 */
1654 /* ./compiling//table_computation.nit:331 */
1655 fra
.me
.REG
[8] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1656 CALL_table_computation___ColorContext___color__eq(fra
.me
.REG
[8])(fra
.me
.REG
[8], fra
.me
.REG
[6], REGB2
);
1658 /* ./compiling//table_computation.nit:333 */
1660 /* ./../lib/standard//kernel.nit:332 */
1662 /* ./../lib/standard//kernel.nit:212 */
1663 REGB5
= TAG_Bool(UNTAG_Int(REGB4
)<UNTAG_Int(REGB3
));
1664 /* ./../lib/standard//kernel.nit:332 */
1665 if (UNTAG_Bool(REGB5
)) {
1666 /* ./compiling//table_computation.nit:333 */
1668 /* ./../lib/standard//kernel.nit:215 */
1669 REGB6
= TAG_Int(UNTAG_Int(REGB2
)+UNTAG_Int(REGB5
));
1670 /* ./compiling//table_computation.nit:334 */
1671 REGB6
= CALL_abstract_collection___MapRead___has_key(fra
.me
.REG
[3])(fra
.me
.REG
[3], REGB6
);
1672 if (UNTAG_Bool(REGB6
)) {
1673 /* ./../lib/standard//kernel.nit:215 */
1674 REGB6
= TAG_Int(UNTAG_Int(REGB2
)+UNTAG_Int(REGB5
));
1675 /* ./compiling//table_computation.nit:335 */
1676 fra
.me
.REG
[8] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[3])(fra
.me
.REG
[3], REGB6
);
1677 REGB6
= TAG_Bool(fra
.me
.REG
[8]==NIT_NULL
);
1678 if (UNTAG_Bool(REGB6
)) {
1679 nit_abort("Reciever is null", NULL
, LOCATE_table_computation
, 335);
1681 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[8])(fra
.me
.REG
[8], fra
.me
.REG
[6]);
1683 /* ./../lib/standard//kernel.nit:215 */
1684 REGB5
= TAG_Int(UNTAG_Int(REGB2
)+UNTAG_Int(REGB5
));
1685 /* ./compiling//table_computation.nit:337 */
1687 fra
.me
.REG
[8] = NEW_Array_array___Array___with_capacity(REGB6
);
1688 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[8])(fra
.me
.REG
[8], fra
.me
.REG
[6]);
1689 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[3])(fra
.me
.REG
[3], REGB5
, fra
.me
.REG
[8]);
1691 /* ./../lib/standard//kernel.nit:334 */
1693 /* ./../lib/standard//kernel.nit:215 */
1694 REGB5
= TAG_Int(UNTAG_Int(REGB4
)+UNTAG_Int(REGB5
));
1695 /* ./../lib/standard//kernel.nit:334 */
1698 /* ./../lib/standard//kernel.nit:332 */
1703 /* ./../lib/standard//collection//array.nit:239 */
1705 /* ./../lib/standard//kernel.nit:215 */
1706 REGB4
= TAG_Int(UNTAG_Int(REGB1
)+UNTAG_Int(REGB4
));
1707 /* ./../lib/standard//collection//array.nit:239 */
1710 /* ./../lib/standard//collection//array.nit:237 */
1715 stack_frame_head
= fra
.me
.prev
;
1718 void OC_table_computation___Program___colorize_1(struct stack_frame_t
*closctx
, val_t p0
){
1719 struct {struct stack_frame_t me
;} fra
;
1722 /* ./compiling//table_computation.nit:311 */
1723 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
1724 fra
.me
.file
= LOCATE_table_computation
;
1726 fra
.me
.meth
= LOCATE_table_computation___Program___colorize
;
1727 fra
.me
.has_broke
= 0;
1728 fra
.me
.REG_size
= 1;
1729 fra
.me
.REG
[0] = NIT_NULL
;
1731 /* ./compiling//table_computation.nit:312 */
1732 REGB0
= CALL_table_computation___TableElt___is_related_to(closctx
->REG
[6])(closctx
->REG
[6], fra
.me
.REG
[0]);
1733 if (UNTAG_Bool(REGB0
)) {
1734 /* ./compiling//table_computation.nit:313 */
1735 CALL_abstract_collection___SimpleCollection___add(closctx
->REG
[4])(closctx
->REG
[4], fra
.me
.REG
[0]);
1737 stack_frame_head
= fra
.me
.prev
;
1740 val_t
table_computation___Program___free_color(val_t p0
, val_t p1
, val_t p2
){
1741 struct {struct stack_frame_t me
; val_t MORE_REG
[3];} fra
;
1746 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
1747 fra
.me
.file
= LOCATE_table_computation
;
1749 fra
.me
.meth
= LOCATE_table_computation___Program___free_color
;
1750 fra
.me
.has_broke
= 0;
1751 fra
.me
.REG_size
= 4;
1752 fra
.me
.REG
[0] = NIT_NULL
;
1753 fra
.me
.REG
[1] = NIT_NULL
;
1754 fra
.me
.REG
[2] = NIT_NULL
;
1755 fra
.me
.REG
[3] = NIT_NULL
;
1759 /* ./../lib/standard//collection//array.nit:234 */
1761 /* ./../lib/standard//collection//array.nit:235 */
1762 REGB1
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
1763 if (UNTAG_Bool(REGB1
)) {
1765 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
1767 REGB1
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
1768 /* ./../lib/standard//collection//array.nit:236 */
1769 fra
.me
.REG
[0] = ATTR_array___Array____items(fra
.me
.REG
[1]);
1770 /* ./../lib/standard//collection//array.nit:237 */
1772 /* ./../lib/standard//collection//array.nit:23 */
1773 REGB1
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
1774 if (UNTAG_Bool(REGB1
)) {
1776 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1778 REGB1
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
1779 /* ./../lib/standard//kernel.nit:212 */
1780 REGB1
= TAG_Bool(UNTAG_Int(REGB0
)<UNTAG_Int(REGB1
));
1781 /* ./../lib/standard//collection//array.nit:237 */
1782 if (UNTAG_Bool(REGB1
)) {
1783 /* ./../lib/standard//collection//array.nit:238 */
1784 REGB1
= TAG_Bool(fra
.me
.REG
[0]==NIT_NULL
);
1785 if (UNTAG_Bool(REGB1
)) {
1786 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
1788 /* ./../lib/standard//collection//array.nit:654 */
1789 fra
.me
.REG
[3] = ((Nit_NativeArray
)fra
.me
.REG
[0])->val
[UNTAG_Int(REGB0
)];
1790 /* ./compiling//table_computation.nit:346 */
1791 REGB1
= CALL_table_computation___TableElt___is_related_to(fra
.me
.REG
[3])(fra
.me
.REG
[3], fra
.me
.REG
[2]);
1792 if (UNTAG_Bool(REGB1
)) {
1793 /* ./compiling//table_computation.nit:347 */
1794 REGB1
= TAG_Bool(false);
1797 /* ./../lib/standard//collection//array.nit:239 */
1799 /* ./../lib/standard//kernel.nit:215 */
1800 REGB2
= TAG_Int(UNTAG_Int(REGB0
)+UNTAG_Int(REGB2
));
1801 /* ./../lib/standard//collection//array.nit:239 */
1804 /* ./../lib/standard//collection//array.nit:237 */
1809 /* ./compiling//table_computation.nit:350 */
1810 REGB0
= TAG_Bool(true);
1814 stack_frame_head
= fra
.me
.prev
;
1817 void table_computation___Program___append_to_table(val_t p0
, val_t p1
, val_t p2
){
1818 struct {struct stack_frame_t me
; val_t MORE_REG
[4];} fra
;
1823 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
1824 fra
.me
.file
= LOCATE_table_computation
;
1826 fra
.me
.meth
= LOCATE_table_computation___Program___append_to_table
;
1827 fra
.me
.has_broke
= 0;
1828 fra
.me
.REG_size
= 5;
1829 fra
.me
.REG
[0] = NIT_NULL
;
1830 fra
.me
.REG
[1] = NIT_NULL
;
1831 fra
.me
.REG
[2] = NIT_NULL
;
1832 fra
.me
.REG
[3] = NIT_NULL
;
1833 fra
.me
.REG
[4] = NIT_NULL
;
1837 /* ./compiling//table_computation.nit:355 */
1839 REGB1
= CALL_table_computation___TableElt___length(fra
.me
.REG
[2])(fra
.me
.REG
[2]);
1840 /* ./../lib/standard//kernel.nit:332 */
1842 /* ./../lib/standard//kernel.nit:212 */
1843 REGB2
= TAG_Bool(UNTAG_Int(REGB0
)<UNTAG_Int(REGB1
));
1844 /* ./../lib/standard//kernel.nit:332 */
1845 if (UNTAG_Bool(REGB2
)) {
1846 /* ./compiling//table_computation.nit:355 */
1848 /* ./compiling//table_computation.nit:356 */
1849 fra
.me
.REG
[3] = CALL_table_computation___TableElt___item(fra
.me
.REG
[2])(fra
.me
.REG
[2], REGB2
);
1850 /* ./compiling//table_computation.nit:357 */
1851 fra
.me
.REG
[4] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1852 /* ./../lib/standard//collection//array.nit:23 */
1853 REGB2
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1])!=NIT_NULL
);
1854 if (UNTAG_Bool(REGB2
)) {
1856 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1858 REGB2
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[1]);
1859 /* ./compiling//table_computation.nit:357 */
1860 CALL_table_computation___ColorContext___color__eq(fra
.me
.REG
[4])(fra
.me
.REG
[4], fra
.me
.REG
[3], REGB2
);
1861 /* ./compiling//table_computation.nit:358 */
1862 CALL_abstract_collection___SimpleCollection___add(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[3]);
1863 /* ./../lib/standard//kernel.nit:334 */
1865 /* ./../lib/standard//kernel.nit:215 */
1866 REGB2
= TAG_Int(UNTAG_Int(REGB0
)+UNTAG_Int(REGB2
));
1867 /* ./../lib/standard//kernel.nit:334 */
1870 /* ./../lib/standard//kernel.nit:332 */
1875 stack_frame_head
= fra
.me
.prev
;
1878 void table_computation___Program___build_tables_in(val_t p0
, val_t p1
, val_t p2
, val_t p3
){
1879 struct {struct stack_frame_t me
; val_t MORE_REG
[7];} fra
;
1886 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
1887 fra
.me
.file
= LOCATE_table_computation
;
1889 fra
.me
.meth
= LOCATE_table_computation___Program___build_tables_in
;
1890 fra
.me
.has_broke
= 0;
1891 fra
.me
.REG_size
= 8;
1892 fra
.me
.REG
[0] = NIT_NULL
;
1893 fra
.me
.REG
[1] = NIT_NULL
;
1894 fra
.me
.REG
[2] = NIT_NULL
;
1895 fra
.me
.REG
[3] = NIT_NULL
;
1896 fra
.me
.REG
[4] = NIT_NULL
;
1897 fra
.me
.REG
[5] = NIT_NULL
;
1898 fra
.me
.REG
[6] = NIT_NULL
;
1899 fra
.me
.REG
[7] = NIT_NULL
;
1904 /* ./compiling//table_computation.nit:364 */
1905 fra
.me
.REG
[4] = NEW_HashMap_hash_collection___HashMap___init();
1906 /* ./compiling//table_computation.nit:365 */
1908 /* ./../lib/standard//collection//array.nit:234 */
1910 /* ./../lib/standard//collection//array.nit:235 */
1911 REGB2
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[3])!=NIT_NULL
);
1912 if (UNTAG_Bool(REGB2
)) {
1914 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 235);
1916 REGB2
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[3]);
1917 /* ./../lib/standard//collection//array.nit:236 */
1918 fra
.me
.REG
[5] = ATTR_array___Array____items(fra
.me
.REG
[3]);
1919 /* ./../lib/standard//collection//array.nit:237 */
1921 /* ./../lib/standard//collection//array.nit:23 */
1922 REGB2
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[3])!=NIT_NULL
);
1923 if (UNTAG_Bool(REGB2
)) {
1925 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
1927 REGB2
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[3]);
1928 /* ./../lib/standard//kernel.nit:212 */
1929 REGB2
= TAG_Bool(UNTAG_Int(REGB1
)<UNTAG_Int(REGB2
));
1930 /* ./../lib/standard//collection//array.nit:237 */
1931 if (UNTAG_Bool(REGB2
)) {
1932 /* ./../lib/standard//collection//array.nit:238 */
1933 REGB2
= TAG_Bool(fra
.me
.REG
[5]==NIT_NULL
);
1934 if (UNTAG_Bool(REGB2
)) {
1935 nit_abort("Reciever is null", NULL
, LOCATE_array
, 238);
1937 /* ./../lib/standard//collection//array.nit:654 */
1938 fra
.me
.REG
[6] = ((Nit_NativeArray
)fra
.me
.REG
[5])->val
[UNTAG_Int(REGB1
)];
1939 /* ./compiling//table_computation.nit:367 */
1940 REGB2
= CALL_table_computation___TableElt___is_related_to(fra
.me
.REG
[6])(fra
.me
.REG
[6], fra
.me
.REG
[2]);
1941 if (UNTAG_Bool(REGB2
)) {
1942 /* ./compiling//table_computation.nit:368 */
1943 fra
.me
.REG
[7] = CALL_table_computation___Program___table_information(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1944 REGB2
= CALL_table_computation___ColorContext___color(fra
.me
.REG
[7])(fra
.me
.REG
[7], fra
.me
.REG
[6]);
1945 /* ./compiling//table_computation.nit:369 */
1946 REGB3
= CALL_table_computation___TableElt___length(fra
.me
.REG
[6])(fra
.me
.REG
[6]);
1947 /* ./../lib/standard//kernel.nit:215 */
1948 REGB3
= TAG_Int(UNTAG_Int(REGB2
)+UNTAG_Int(REGB3
));
1949 /* ./compiling//table_computation.nit:370 */
1950 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[4])(fra
.me
.REG
[4], REGB2
, fra
.me
.REG
[6]);
1951 /* ./../lib/standard//kernel.nit:212 */
1952 REGB2
= TAG_Bool(UNTAG_Int(REGB0
)<UNTAG_Int(REGB3
));
1953 /* ./compiling//table_computation.nit:371 */
1954 if (UNTAG_Bool(REGB2
)) {
1955 /* ./compiling//table_computation.nit:372 */
1959 /* ./../lib/standard//collection//array.nit:239 */
1961 /* ./../lib/standard//kernel.nit:215 */
1962 REGB3
= TAG_Int(UNTAG_Int(REGB1
)+UNTAG_Int(REGB3
));
1963 /* ./../lib/standard//collection//array.nit:239 */
1966 /* ./../lib/standard//collection//array.nit:237 */
1971 /* ./compiling//table_computation.nit:376 */
1973 /* ./compiling//table_computation.nit:377 */
1975 /* ./../lib/standard//kernel.nit:212 */
1976 REGB3
= TAG_Bool(UNTAG_Int(REGB1
)<UNTAG_Int(REGB0
));
1977 /* ./compiling//table_computation.nit:377 */
1978 if (UNTAG_Bool(REGB3
)) {
1979 /* ./compiling//table_computation.nit:378 */
1980 REGB3
= CALL_abstract_collection___MapRead___has_key(fra
.me
.REG
[4])(fra
.me
.REG
[4], REGB1
);
1981 if (UNTAG_Bool(REGB3
)) {
1982 /* ./compiling//table_computation.nit:379 */
1983 fra
.me
.REG
[0] = CALL_abstract_collection___MapRead_____bra(fra
.me
.REG
[4])(fra
.me
.REG
[4], REGB1
);
1984 /* ./compiling//table_computation.nit:380 */
1986 REGB2
= CALL_table_computation___TableElt___length(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
1987 /* ./../lib/standard//kernel.nit:332 */
1989 /* ./../lib/standard//kernel.nit:212 */
1990 REGB4
= TAG_Bool(UNTAG_Int(REGB3
)<UNTAG_Int(REGB2
));
1991 /* ./../lib/standard//kernel.nit:332 */
1992 if (UNTAG_Bool(REGB4
)) {
1993 /* ./compiling//table_computation.nit:380 */
1995 /* ./compiling//table_computation.nit:381 */
1996 fra
.me
.REG
[2] = CALL_table_computation___TableElt___item(fra
.me
.REG
[0])(fra
.me
.REG
[0], REGB4
);
1997 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[1])(fra
.me
.REG
[1], REGB1
, fra
.me
.REG
[2]);
1998 /* ./compiling//table_computation.nit:382 */
2000 /* ./../lib/standard//kernel.nit:215 */
2001 REGB4
= TAG_Int(UNTAG_Int(REGB1
)+UNTAG_Int(REGB4
));
2002 /* ./compiling//table_computation.nit:382 */
2004 /* ./../lib/standard//kernel.nit:334 */
2006 /* ./../lib/standard//kernel.nit:215 */
2007 REGB4
= TAG_Int(UNTAG_Int(REGB3
)+UNTAG_Int(REGB4
));
2008 /* ./../lib/standard//kernel.nit:334 */
2011 /* ./../lib/standard//kernel.nit:332 */
2017 /* ./compiling//table_computation.nit:385 */
2018 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[1])(fra
.me
.REG
[1], REGB1
, NIT_NULL
);
2019 /* ./compiling//table_computation.nit:386 */
2021 /* ./../lib/standard//kernel.nit:215 */
2022 REGB3
= TAG_Int(UNTAG_Int(REGB1
)+UNTAG_Int(REGB3
));
2023 /* ./compiling//table_computation.nit:386 */
2027 /* ./compiling//table_computation.nit:377 */
2032 stack_frame_head
= fra
.me
.prev
;
2035 val_t
table_computation___MMModule___local_table(val_t p0
){
2036 struct {struct stack_frame_t me
;} fra
;
2039 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2040 fra
.me
.file
= LOCATE_table_computation
;
2042 fra
.me
.meth
= LOCATE_table_computation___MMModule___local_table
;
2043 fra
.me
.has_broke
= 0;
2044 fra
.me
.REG_size
= 1;
2045 fra
.me
.REG
[0] = NIT_NULL
;
2047 /* ./compiling//table_computation.nit:393 */
2048 REGB0
= TAG_Bool(ATTR_table_computation___MMModule____local_table(fra
.me
.REG
[0])!=NIT_NULL
);
2049 if (UNTAG_Bool(REGB0
)) {
2051 nit_abort("Uninitialized attribute %s", "_local_table", LOCATE_table_computation
, 393);
2053 fra
.me
.REG
[0] = ATTR_table_computation___MMModule____local_table(fra
.me
.REG
[0]);
2054 stack_frame_head
= fra
.me
.prev
;
2055 return fra
.me
.REG
[0];
2057 void table_computation___MMModule___local_analysis(val_t p0
){
2058 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2060 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2061 fra
.me
.file
= LOCATE_table_computation
;
2063 fra
.me
.meth
= LOCATE_table_computation___MMModule___local_analysis
;
2064 fra
.me
.has_broke
= 0;
2065 fra
.me
.REG_size
= 2;
2066 fra
.me
.REG
[0] = NIT_NULL
;
2067 fra
.me
.REG
[1] = NIT_NULL
;
2069 /* ./compiling//table_computation.nit:399 */
2070 fra
.me
.REG
[1] = CALL_abstractmetamodel___MMModule___local_classes(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
2071 CALL_abstract_collection___Collection___iterate(fra
.me
.REG
[1])(fra
.me
.REG
[1], (&(fra
.me
)), ((fun_t
)OC_table_computation___MMModule___local_analysis_1
));
2072 stack_frame_head
= fra
.me
.prev
;
2075 void OC_table_computation___MMModule___local_analysis_1(struct stack_frame_t
*closctx
, val_t p0
, struct stack_frame_t
*closctx_param
, fun_t clos_fun0
){
2076 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2080 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2081 fra
.me
.file
= LOCATE_table_computation
;
2083 fra
.me
.meth
= LOCATE_table_computation___MMModule___local_analysis
;
2084 fra
.me
.has_broke
= 0;
2085 fra
.me
.REG_size
= 2;
2086 fra
.me
.REG
[0] = NIT_NULL
;
2087 fra
.me
.REG
[1] = NIT_NULL
;
2088 fra
.me
.closure_ctx
= closctx_param
;
2089 fra
.me
.closure_funs
= CREG
;
2091 CREG
[0] = clos_fun0
;
2092 /* ./compiling//table_computation.nit:400 */
2093 REGB0
= TAG_Bool(VAL_ISA(fra
.me
.REG
[0], COLOR_MMConcreteClass
, ID_MMConcreteClass
)) /*cast MMConcreteClass*/;
2094 if (UNTAG_Bool(REGB0
)) {
2095 /* ./compiling//table_computation.nit:401 */
2096 REGB0
= TAG_Bool(ATTR_table_computation___MMModule____local_table(closctx
->REG
[0])!=NIT_NULL
);
2097 if (UNTAG_Bool(REGB0
)) {
2099 nit_abort("Uninitialized attribute %s", "_local_table", LOCATE_table_computation
, 401);
2101 fra
.me
.REG
[1] = ATTR_table_computation___MMModule____local_table(closctx
->REG
[0]);
2102 CALL_table_computation___MMConcreteClass___build_layout_in(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[1]);
2104 stack_frame_head
= fra
.me
.prev
;
2107 void table_computation___AbsTableElt___init(val_t p0
, int* init_table
){
2108 int itpos2
= VAL2OBJ(p0
)->vft
[INIT_TABLE_POS_AbsTableElt
].i
;
2109 struct {struct stack_frame_t me
;} fra
;
2111 if (init_table
[itpos2
]) return;
2112 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2113 fra
.me
.file
= LOCATE_table_computation
;
2115 fra
.me
.meth
= LOCATE_table_computation___AbsTableElt___init
;
2116 fra
.me
.has_broke
= 0;
2117 fra
.me
.REG_size
= 0;
2118 stack_frame_head
= fra
.me
.prev
;
2119 init_table
[itpos2
] = 1;
2122 val_t
table_computation___TableElt___is_related_to(val_t p0
, val_t p1
){
2123 struct {struct stack_frame_t me
;} fra
;
2125 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2126 fra
.me
.file
= LOCATE_table_computation
;
2128 fra
.me
.meth
= LOCATE_table_computation___TableElt___is_related_to
;
2129 fra
.me
.has_broke
= 0;
2130 fra
.me
.REG_size
= 0;
2131 /* ./compiling//table_computation.nit:417 */
2132 nit_abort("Deferred method called", NULL
, LOCATE_table_computation
, 417);
2133 stack_frame_head
= fra
.me
.prev
;
2136 val_t
table_computation___TableElt___length(val_t p0
){
2137 struct {struct stack_frame_t me
;} fra
;
2140 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2141 fra
.me
.file
= LOCATE_table_computation
;
2143 fra
.me
.meth
= LOCATE_table_computation___TableElt___length
;
2144 fra
.me
.has_broke
= 0;
2145 fra
.me
.REG_size
= 1;
2146 fra
.me
.REG
[0] = NIT_NULL
;
2148 /* ./compiling//table_computation.nit:421 */
2152 stack_frame_head
= fra
.me
.prev
;
2155 val_t
table_computation___TableElt___item(val_t p0
, val_t p1
){
2156 struct {struct stack_frame_t me
;} fra
;
2159 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2160 fra
.me
.file
= LOCATE_table_computation
;
2162 fra
.me
.meth
= LOCATE_table_computation___TableElt___item
;
2163 fra
.me
.has_broke
= 0;
2164 fra
.me
.REG_size
= 1;
2165 fra
.me
.REG
[0] = NIT_NULL
;
2168 /* ./compiling//table_computation.nit:424 */
2171 stack_frame_head
= fra
.me
.prev
;
2172 return fra
.me
.REG
[0];
2174 val_t
table_computation___ModuleTableEltGroup___elements(val_t p0
){
2175 struct {struct stack_frame_t me
;} fra
;
2178 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2179 fra
.me
.file
= LOCATE_table_computation
;
2181 fra
.me
.meth
= LOCATE_table_computation___ModuleTableEltGroup___elements
;
2182 fra
.me
.has_broke
= 0;
2183 fra
.me
.REG_size
= 1;
2184 fra
.me
.REG
[0] = NIT_NULL
;
2186 /* ./compiling//table_computation.nit:436 */
2187 REGB0
= TAG_Bool(ATTR_table_computation___ModuleTableEltGroup____elements(fra
.me
.REG
[0])!=NIT_NULL
);
2188 if (UNTAG_Bool(REGB0
)) {
2190 nit_abort("Uninitialized attribute %s", "_elements", LOCATE_table_computation
, 436);
2192 fra
.me
.REG
[0] = ATTR_table_computation___ModuleTableEltGroup____elements(fra
.me
.REG
[0]);
2193 stack_frame_head
= fra
.me
.prev
;
2194 return fra
.me
.REG
[0];
2196 val_t
table_computation___TableEltProp___property(val_t p0
){
2197 struct {struct stack_frame_t me
;} fra
;
2200 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2201 fra
.me
.file
= LOCATE_table_computation
;
2203 fra
.me
.meth
= LOCATE_table_computation___TableEltProp___property
;
2204 fra
.me
.has_broke
= 0;
2205 fra
.me
.REG_size
= 1;
2206 fra
.me
.REG
[0] = NIT_NULL
;
2208 /* ./compiling//table_computation.nit:442 */
2209 REGB0
= TAG_Bool(ATTR_table_computation___TableEltProp____property(fra
.me
.REG
[0])!=NIT_NULL
);
2210 if (UNTAG_Bool(REGB0
)) {
2212 nit_abort("Uninitialized attribute %s", "_property", LOCATE_table_computation
, 442);
2214 fra
.me
.REG
[0] = ATTR_table_computation___TableEltProp____property(fra
.me
.REG
[0]);
2215 stack_frame_head
= fra
.me
.prev
;
2216 return fra
.me
.REG
[0];
2218 void table_computation___TableEltProp___init(val_t p0
, val_t p1
, int* init_table
){
2219 int itpos3
= VAL2OBJ(p0
)->vft
[INIT_TABLE_POS_TableEltProp
].i
;
2220 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2222 if (init_table
[itpos3
]) return;
2223 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2224 fra
.me
.file
= LOCATE_table_computation
;
2226 fra
.me
.meth
= LOCATE_table_computation___TableEltProp___init
;
2227 fra
.me
.has_broke
= 0;
2228 fra
.me
.REG_size
= 2;
2229 fra
.me
.REG
[0] = NIT_NULL
;
2230 fra
.me
.REG
[1] = NIT_NULL
;
2233 /* ./compiling//table_computation.nit:446 */
2234 ATTR_table_computation___TableEltProp____property(fra
.me
.REG
[0]) = fra
.me
.REG
[1];
2235 stack_frame_head
= fra
.me
.prev
;
2236 init_table
[itpos3
] = 1;
2239 val_t
table_computation___AbsTableEltClass___local_class(val_t p0
){
2240 struct {struct stack_frame_t me
;} fra
;
2243 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2244 fra
.me
.file
= LOCATE_table_computation
;
2246 fra
.me
.meth
= LOCATE_table_computation___AbsTableEltClass___local_class
;
2247 fra
.me
.has_broke
= 0;
2248 fra
.me
.REG_size
= 1;
2249 fra
.me
.REG
[0] = NIT_NULL
;
2251 /* ./compiling//table_computation.nit:468 */
2252 REGB0
= TAG_Bool(ATTR_table_computation___AbsTableEltClass____local_class(fra
.me
.REG
[0])!=NIT_NULL
);
2253 if (UNTAG_Bool(REGB0
)) {
2255 nit_abort("Uninitialized attribute %s", "_local_class", LOCATE_table_computation
, 468);
2257 fra
.me
.REG
[0] = ATTR_table_computation___AbsTableEltClass____local_class(fra
.me
.REG
[0]);
2258 stack_frame_head
= fra
.me
.prev
;
2259 return fra
.me
.REG
[0];
2261 void table_computation___AbsTableEltClass___init(val_t p0
, val_t p1
, int* init_table
){
2262 int itpos4
= VAL2OBJ(p0
)->vft
[INIT_TABLE_POS_AbsTableEltClass
].i
;
2263 struct {struct stack_frame_t me
; val_t MORE_REG
[2];} fra
;
2265 if (init_table
[itpos4
]) return;
2266 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2267 fra
.me
.file
= LOCATE_table_computation
;
2269 fra
.me
.meth
= LOCATE_table_computation___AbsTableEltClass___init
;
2270 fra
.me
.has_broke
= 0;
2271 fra
.me
.REG_size
= 3;
2272 fra
.me
.REG
[0] = NIT_NULL
;
2273 fra
.me
.REG
[1] = NIT_NULL
;
2274 fra
.me
.REG
[2] = NIT_NULL
;
2277 /* ./compiling//table_computation.nit:471 */
2278 fra
.me
.REG
[2] = fra
.me
.REG
[0];
2279 CALL_table_computation___AbsTableElt___init(fra
.me
.REG
[0])(fra
.me
.REG
[0], init_table
);
2280 /* ./compiling//table_computation.nit:473 */
2281 ATTR_table_computation___AbsTableEltClass____local_class(fra
.me
.REG
[2]) = fra
.me
.REG
[1];
2282 stack_frame_head
= fra
.me
.prev
;
2283 init_table
[itpos4
] = 1;
2286 val_t
table_computation___TableEltClass___is_related_to(val_t p0
, val_t p1
){
2287 struct {struct stack_frame_t me
; val_t MORE_REG
[2];} fra
;
2290 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2291 fra
.me
.file
= LOCATE_table_computation
;
2293 fra
.me
.meth
= LOCATE_table_computation___TableEltClass___is_related_to
;
2294 fra
.me
.has_broke
= 0;
2295 fra
.me
.REG_size
= 3;
2296 fra
.me
.REG
[0] = NIT_NULL
;
2297 fra
.me
.REG
[1] = NIT_NULL
;
2298 fra
.me
.REG
[2] = NIT_NULL
;
2301 /* ./compiling//table_computation.nit:483 */
2302 fra
.me
.REG
[2] = CALL_abstractmetamodel___MMLocalClass___mmmodule(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
2303 REGB0
= TAG_Bool(ATTR_table_computation___AbsTableEltClass____local_class(fra
.me
.REG
[0])!=NIT_NULL
);
2304 if (UNTAG_Bool(REGB0
)) {
2306 nit_abort("Uninitialized attribute %s", "_local_class", LOCATE_table_computation
, 483);
2308 fra
.me
.REG
[0] = ATTR_table_computation___AbsTableEltClass____local_class(fra
.me
.REG
[0]);
2309 fra
.me
.REG
[0] = CALL_abstractmetamodel___MMLocalClass___global(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
2310 fra
.me
.REG
[0] = CALL_abstractmetamodel___MMModule_____bra(fra
.me
.REG
[2])(fra
.me
.REG
[2], fra
.me
.REG
[0]);
2311 /* ./compiling//table_computation.nit:484 */
2312 fra
.me
.REG
[1] = CALL_abstractmetamodel___MMLocalClass___cshe(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
2313 REGB0
= CALL_partial_order___PartialOrderElement_____leq(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[0]);
2316 stack_frame_head
= fra
.me
.prev
;
2319 val_t
table_computation___TableEltComposite___length(val_t p0
){
2320 struct {struct stack_frame_t me
;} fra
;
2323 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2324 fra
.me
.file
= LOCATE_table_computation
;
2326 fra
.me
.meth
= LOCATE_table_computation___TableEltComposite___length
;
2327 fra
.me
.has_broke
= 0;
2328 fra
.me
.REG_size
= 1;
2329 fra
.me
.REG
[0] = NIT_NULL
;
2331 /* ./compiling//table_computation.nit:514 */
2332 REGB0
= TAG_Bool(ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0])!=NIT_NULL
);
2333 if (UNTAG_Bool(REGB0
)) {
2335 nit_abort("Uninitialized attribute %s", "_table", LOCATE_table_computation
, 514);
2337 fra
.me
.REG
[0] = ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0]);
2338 /* ./../lib/standard//collection//array.nit:23 */
2339 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[0])!=NIT_NULL
);
2340 if (UNTAG_Bool(REGB0
)) {
2342 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
2344 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[0]);
2345 /* ./compiling//table_computation.nit:514 */
2348 stack_frame_head
= fra
.me
.prev
;
2351 val_t
table_computation___TableEltComposite___is_related_to(val_t p0
, val_t p1
){
2352 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2355 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2356 fra
.me
.file
= LOCATE_table_computation
;
2358 fra
.me
.meth
= LOCATE_table_computation___TableEltComposite___is_related_to
;
2359 fra
.me
.has_broke
= 0;
2360 fra
.me
.REG_size
= 2;
2361 fra
.me
.REG
[0] = NIT_NULL
;
2362 fra
.me
.REG
[1] = NIT_NULL
;
2365 /* ./compiling//table_computation.nit:515 */
2366 fra
.me
.REG
[1] = CALL_abstractmetamodel___MMLocalClass___cshe(fra
.me
.REG
[1])(fra
.me
.REG
[1]);
2367 REGB0
= TAG_Bool(ATTR_table_computation___TableEltComposite____cc(fra
.me
.REG
[0])!=NIT_NULL
);
2368 if (UNTAG_Bool(REGB0
)) {
2370 nit_abort("Uninitialized attribute %s", "_cc", LOCATE_table_computation
, 515);
2372 fra
.me
.REG
[0] = ATTR_table_computation___TableEltComposite____cc(fra
.me
.REG
[0]);
2373 fra
.me
.REG
[0] = CALL_table_computation___CompiledClass___local_class(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
2374 REGB0
= CALL_partial_order___PartialOrderElement_____leq(fra
.me
.REG
[1])(fra
.me
.REG
[1], fra
.me
.REG
[0]);
2377 stack_frame_head
= fra
.me
.prev
;
2380 void table_computation___TableEltComposite___add(val_t p0
, val_t p1
, val_t p2
){
2381 struct {struct stack_frame_t me
; val_t MORE_REG
[4];} fra
;
2384 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2385 fra
.me
.file
= LOCATE_table_computation
;
2387 fra
.me
.meth
= LOCATE_table_computation___TableEltComposite___add
;
2388 fra
.me
.has_broke
= 0;
2389 fra
.me
.REG_size
= 5;
2390 fra
.me
.REG
[0] = NIT_NULL
;
2391 fra
.me
.REG
[1] = NIT_NULL
;
2392 fra
.me
.REG
[2] = NIT_NULL
;
2393 fra
.me
.REG
[3] = NIT_NULL
;
2394 fra
.me
.REG
[4] = NIT_NULL
;
2398 /* ./compiling//table_computation.nit:519 */
2399 REGB0
= TAG_Bool(ATTR_table_computation___TableEltComposite____offsets(fra
.me
.REG
[0])!=NIT_NULL
);
2400 if (UNTAG_Bool(REGB0
)) {
2402 nit_abort("Uninitialized attribute %s", "_offsets", LOCATE_table_computation
, 519);
2404 fra
.me
.REG
[3] = ATTR_table_computation___TableEltComposite____offsets(fra
.me
.REG
[0]);
2405 REGB0
= TAG_Bool(ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0])!=NIT_NULL
);
2406 if (UNTAG_Bool(REGB0
)) {
2408 nit_abort("Uninitialized attribute %s", "_table", LOCATE_table_computation
, 519);
2410 fra
.me
.REG
[4] = ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0]);
2411 /* ./../lib/standard//collection//array.nit:23 */
2412 REGB0
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[4])!=NIT_NULL
);
2413 if (UNTAG_Bool(REGB0
)) {
2415 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 23);
2417 REGB0
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[4]);
2418 /* ./compiling//table_computation.nit:519 */
2419 CALL_abstract_collection___Map_____braeq(fra
.me
.REG
[3])(fra
.me
.REG
[3], fra
.me
.REG
[1], REGB0
);
2420 /* ./compiling//table_computation.nit:520 */
2421 REGB0
= TAG_Bool(ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0])!=NIT_NULL
);
2422 if (UNTAG_Bool(REGB0
)) {
2424 nit_abort("Uninitialized attribute %s", "_table", LOCATE_table_computation
, 520);
2426 fra
.me
.REG
[0] = ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0]);
2427 CALL_abstract_collection___Sequence___append(fra
.me
.REG
[0])(fra
.me
.REG
[0], fra
.me
.REG
[2]);
2428 stack_frame_head
= fra
.me
.prev
;
2431 val_t
table_computation___TableEltComposite___item(val_t p0
, val_t p1
){
2432 struct {struct stack_frame_t me
;} fra
;
2437 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2438 fra
.me
.file
= LOCATE_table_computation
;
2440 fra
.me
.meth
= LOCATE_table_computation___TableEltComposite___item
;
2441 fra
.me
.has_broke
= 0;
2442 fra
.me
.REG_size
= 1;
2443 fra
.me
.REG
[0] = NIT_NULL
;
2446 /* ./compiling//table_computation.nit:523 */
2447 REGB1
= TAG_Bool(ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0])!=NIT_NULL
);
2448 if (UNTAG_Bool(REGB1
)) {
2450 nit_abort("Uninitialized attribute %s", "_table", LOCATE_table_computation
, 523);
2452 fra
.me
.REG
[0] = ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0]);
2453 /* ./../lib/standard//collection//array.nit:245 */
2455 /* ./../lib/standard//kernel.nit:213 */
2456 REGB1
= TAG_Bool(UNTAG_Int(REGB0
)>=UNTAG_Int(REGB1
));
2457 /* ./../lib/standard//collection//array.nit:245 */
2458 if (UNTAG_Bool(REGB1
)) {
2459 REGB1
= TAG_Bool(ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[0])!=NIT_NULL
);
2460 if (UNTAG_Bool(REGB1
)) {
2462 nit_abort("Uninitialized attribute %s", "_length", LOCATE_array
, 245);
2464 REGB1
= ATTR_array___AbstractArrayRead____length(fra
.me
.REG
[0]);
2465 /* ./../lib/standard//kernel.nit:212 */
2466 REGB1
= TAG_Bool(UNTAG_Int(REGB0
)<UNTAG_Int(REGB1
));
2468 /* ./../lib/standard//collection//array.nit:245 */
2469 REGB2
= TAG_Bool(false);
2472 if (UNTAG_Bool(REGB1
)) {
2474 nit_abort("Assert %s failed", "'index'", LOCATE_array
, 245);
2476 /* ./../lib/standard//collection//array.nit:246 */
2477 fra
.me
.REG
[0] = ATTR_array___Array____items(fra
.me
.REG
[0]);
2478 REGB1
= TAG_Bool(fra
.me
.REG
[0]==NIT_NULL
);
2479 if (UNTAG_Bool(REGB1
)) {
2480 nit_abort("Reciever is null", NULL
, LOCATE_array
, 246);
2482 /* ./../lib/standard//collection//array.nit:654 */
2483 fra
.me
.REG
[0] = ((Nit_NativeArray
)fra
.me
.REG
[0])->val
[UNTAG_Int(REGB0
)];
2484 /* ./../lib/standard//collection//array.nit:246 */
2487 /* ./compiling//table_computation.nit:523 */
2490 stack_frame_head
= fra
.me
.prev
;
2491 return fra
.me
.REG
[0];
2493 void table_computation___TableEltComposite___init(val_t p0
, val_t p1
, int* init_table
){
2494 int itpos5
= VAL2OBJ(p0
)->vft
[INIT_TABLE_POS_TableEltComposite
].i
;
2495 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2497 if (init_table
[itpos5
]) return;
2498 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2499 fra
.me
.file
= LOCATE_table_computation
;
2501 fra
.me
.meth
= LOCATE_table_computation___TableEltComposite___init
;
2502 fra
.me
.has_broke
= 0;
2503 fra
.me
.REG_size
= 2;
2504 fra
.me
.REG
[0] = NIT_NULL
;
2505 fra
.me
.REG
[1] = NIT_NULL
;
2508 /* ./compiling//table_computation.nit:527 */
2509 ATTR_table_computation___TableEltComposite____cc(fra
.me
.REG
[0]) = fra
.me
.REG
[1];
2510 /* ./compiling//table_computation.nit:528 */
2511 fra
.me
.REG
[1] = NEW_Array_array___Array___init();
2512 ATTR_table_computation___TableEltComposite____table(fra
.me
.REG
[0]) = fra
.me
.REG
[1];
2513 /* ./compiling//table_computation.nit:529 */
2514 fra
.me
.REG
[1] = NEW_HashMap_hash_collection___HashMap___init();
2515 ATTR_table_computation___TableEltComposite____offsets(fra
.me
.REG
[0]) = fra
.me
.REG
[1];
2516 stack_frame_head
= fra
.me
.prev
;
2517 init_table
[itpos5
] = 1;
2520 val_t
table_computation___TableEltClassSelfId___is_related_to(val_t p0
, val_t p1
){
2521 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2524 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2525 fra
.me
.file
= LOCATE_table_computation
;
2527 fra
.me
.meth
= LOCATE_table_computation___TableEltClassSelfId___is_related_to
;
2528 fra
.me
.has_broke
= 0;
2529 fra
.me
.REG_size
= 2;
2530 fra
.me
.REG
[0] = NIT_NULL
;
2531 fra
.me
.REG
[1] = NIT_NULL
;
2534 /* ./compiling//table_computation.nit:536 */
2535 REGB0
= TAG_Bool(true);
2538 stack_frame_head
= fra
.me
.prev
;
2541 val_t
table_computation___TableEltClassObjectSize___is_related_to(val_t p0
, val_t p1
){
2542 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2545 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2546 fra
.me
.file
= LOCATE_table_computation
;
2548 fra
.me
.meth
= LOCATE_table_computation___TableEltClassObjectSize___is_related_to
;
2549 fra
.me
.has_broke
= 0;
2550 fra
.me
.REG_size
= 2;
2551 fra
.me
.REG
[0] = NIT_NULL
;
2552 fra
.me
.REG
[1] = NIT_NULL
;
2555 /* ./compiling//table_computation.nit:542 */
2556 REGB0
= TAG_Bool(true);
2559 stack_frame_head
= fra
.me
.prev
;
2562 val_t
table_computation___TableEltObjectId___is_related_to(val_t p0
, val_t p1
){
2563 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2566 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2567 fra
.me
.file
= LOCATE_table_computation
;
2569 fra
.me
.meth
= LOCATE_table_computation___TableEltObjectId___is_related_to
;
2570 fra
.me
.has_broke
= 0;
2571 fra
.me
.REG_size
= 2;
2572 fra
.me
.REG
[0] = NIT_NULL
;
2573 fra
.me
.REG
[1] = NIT_NULL
;
2576 /* ./compiling//table_computation.nit:548 */
2577 REGB0
= TAG_Bool(true);
2580 stack_frame_head
= fra
.me
.prev
;
2583 val_t
table_computation___TableEltVftPointer___is_related_to(val_t p0
, val_t p1
){
2584 struct {struct stack_frame_t me
; val_t MORE_REG
[1];} fra
;
2587 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
2588 fra
.me
.file
= LOCATE_table_computation
;
2590 fra
.me
.meth
= LOCATE_table_computation___TableEltVftPointer___is_related_to
;
2591 fra
.me
.has_broke
= 0;
2592 fra
.me
.REG_size
= 2;
2593 fra
.me
.REG
[0] = NIT_NULL
;
2594 fra
.me
.REG
[1] = NIT_NULL
;
2597 /* ./compiling//table_computation.nit:554 */
2598 REGB0
= TAG_Bool(true);
2601 stack_frame_head
= fra
.me
.prev
;