Merge branch 'package2module' into wip
[nit.git] / c_src / allocate_iregister_slots._sep.h
1 /* This C header file is generated by NIT to compile modules and programs that requires allocate_iregister_slots. */
2 #ifndef allocate_iregister_slots_sep
3 #define allocate_iregister_slots_sep
4 #include "icode._sep.h"
5 #include "primitive_info._sep.h"
6 #include <nit_common.h>
7
8 extern const classtable_elt_t VFT_IRegisterSlotAllocationVisitor[];
9
10 extern const classtable_elt_t VFT_SlotGroup[];
11 extern const char *LOCATE_allocate_iregister_slots;
12 extern const int SFT_allocate_iregister_slots[];
13 #define ID_IRegisterSlotAllocationVisitor (SFT_allocate_iregister_slots[0])
14 #define COLOR_IRegisterSlotAllocationVisitor (SFT_allocate_iregister_slots[1])
15 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____pass(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 0))
16 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____live(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 1))
17 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____deferred(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 2))
18 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____current_ir(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 3))
19 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____global_slots(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 4))
20 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____std_slots(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 5))
21 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____tag_slots(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 6))
22 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____firsts(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 7))
23 #define ATTR_allocate_iregister_slots___IRegisterSlotAllocationVisitor____lasts(recv) ATTR(recv, (SFT_allocate_iregister_slots[2] + 8))
24 #define INIT_TABLE_POS_IRegisterSlotAllocationVisitor (SFT_allocate_iregister_slots[3] + 0)
25 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 1)))
26 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 2)))
27 #define CALL_SUPER_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 3)))
28 #define CALL_SUPER_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 4)))
29 #define CALL_SUPER_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 5)))
30 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___register(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___register_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 6)))
31 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___free(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___free_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 7)))
32 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 8)))
33 #define CALL_allocate_iregister_slots___IRegisterSlotAllocationVisitor___init(recv) ((allocate_iregister_slots___IRegisterSlotAllocationVisitor___init_t)CALL((recv), (SFT_allocate_iregister_slots[3] + 9)))
34 #define ID_SlotGroup (SFT_allocate_iregister_slots[4])
35 #define COLOR_SlotGroup (SFT_allocate_iregister_slots[5])
36 #define ATTR_allocate_iregister_slots___SlotGroup____free(recv) ATTR(recv, (SFT_allocate_iregister_slots[6] + 0))
37 #define ATTR_allocate_iregister_slots___SlotGroup____next_index(recv) ATTR(recv, (SFT_allocate_iregister_slots[6] + 1))
38 #define INIT_TABLE_POS_SlotGroup (SFT_allocate_iregister_slots[7] + 0)
39 #define CALL_allocate_iregister_slots___SlotGroup___register(recv) ((allocate_iregister_slots___SlotGroup___register_t)CALL((recv), (SFT_allocate_iregister_slots[7] + 1)))
40 #define CALL_allocate_iregister_slots___SlotGroup___free(recv) ((allocate_iregister_slots___SlotGroup___free_t)CALL((recv), (SFT_allocate_iregister_slots[7] + 2)))
41 #define CALL_allocate_iregister_slots___SlotGroup___init(recv) ((allocate_iregister_slots___SlotGroup___init_t)CALL((recv), (SFT_allocate_iregister_slots[7] + 3)))
42 #define ATTR_allocate_iregister_slots___IRoutine____std_slots_nb(recv) ATTR(recv, (SFT_allocate_iregister_slots[8] + 0))
43 #define ATTR_allocate_iregister_slots___IRoutine____tag_slots_nb(recv) ATTR(recv, (SFT_allocate_iregister_slots[8] + 1))
44 #define CALL_allocate_iregister_slots___IRoutine___std_slots_nb(recv) ((allocate_iregister_slots___IRoutine___std_slots_nb_t)CALL((recv), (SFT_allocate_iregister_slots[9] + 0)))
45 #define CALL_allocate_iregister_slots___IRoutine___tag_slots_nb(recv) ((allocate_iregister_slots___IRoutine___tag_slots_nb_t)CALL((recv), (SFT_allocate_iregister_slots[9] + 1)))
46 #define CALL_allocate_iregister_slots___IRoutine___allocate_iregister_slots(recv) ((allocate_iregister_slots___IRoutine___allocate_iregister_slots_t)CALL((recv), (SFT_allocate_iregister_slots[9] + 2)))
47 #define ATTR_allocate_iregister_slots___IRegister____slot_index(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 0))
48 #define ATTR_allocate_iregister_slots___IRegister____is_local(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 1))
49 #define ATTR_allocate_iregister_slots___IRegister____local_iroutine(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 2))
50 #define ATTR_allocate_iregister_slots___IRegister____in_tag_slots(recv) ATTR(recv, (SFT_allocate_iregister_slots[10] + 3))
51 #define CALL_allocate_iregister_slots___IRegister___slot_index(recv) ((allocate_iregister_slots___IRegister___slot_index_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 0)))
52 #define CALL_allocate_iregister_slots___IRegister___slot_index__eq(recv) ((allocate_iregister_slots___IRegister___slot_index__eq_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 1)))
53 #define CALL_allocate_iregister_slots___IRegister___is_local(recv) ((allocate_iregister_slots___IRegister___is_local_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 2)))
54 #define CALL_allocate_iregister_slots___IRegister___is_local__eq(recv) ((allocate_iregister_slots___IRegister___is_local__eq_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 3)))
55 #define CALL_allocate_iregister_slots___IRegister___local_iroutine(recv) ((allocate_iregister_slots___IRegister___local_iroutine_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 4)))
56 #define CALL_allocate_iregister_slots___IRegister___local_iroutine__eq(recv) ((allocate_iregister_slots___IRegister___local_iroutine__eq_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 5)))
57 #define CALL_allocate_iregister_slots___IRegister___in_tag_slots(recv) ((allocate_iregister_slots___IRegister___in_tag_slots_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 6)))
58 #define CALL_allocate_iregister_slots___IRegister___in_tag_slots__eq(recv) ((allocate_iregister_slots___IRegister___in_tag_slots__eq_t)CALL((recv), (SFT_allocate_iregister_slots[11] + 7)))
59 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_read "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_iregister_read)"
60 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_read(val_t p0, val_t p1, val_t p2);
61 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_read_t)(val_t p0, val_t p1, val_t p2);
62 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_write "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_iregister_write)"
63 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_write(val_t p0, val_t p1, val_t p2);
64 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iregister_write_t)(val_t p0, val_t p1, val_t p2);
65 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_icode)"
66 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode(val_t p0, val_t p1);
67 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_icode_t)(val_t p0, val_t p1);
68 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_closure_defs)"
69 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs(val_t p0, val_t p1);
70 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_closure_defs_t)(val_t p0, val_t p1);
71 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine "allocate_iregister_slots::IRegisterSlotAllocationVisitor::(icode_tools::ICodeVisitor::visit_iroutine)"
72 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine(val_t p0, val_t p1);
73 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___visit_iroutine_t)(val_t p0, val_t p1);
74 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality "allocate_iregister_slots::IRegisterSlotAllocationVisitor::mark_locality"
75 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality(val_t p0, val_t p1);
76 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___mark_locality_t)(val_t p0, val_t p1);
77 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free "allocate_iregister_slots::IRegisterSlotAllocationVisitor::deferred_free"
78 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free(val_t p0, val_t p1);
79 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___deferred_free_t)(val_t p0, val_t p1);
80 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___register "allocate_iregister_slots::IRegisterSlotAllocationVisitor::register"
81 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___register(val_t p0, val_t p1);
82 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___register_t)(val_t p0, val_t p1);
83 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___free "allocate_iregister_slots::IRegisterSlotAllocationVisitor::free"
84 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___free(val_t p0, val_t p1);
85 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___free_t)(val_t p0, val_t p1);
86 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation "allocate_iregister_slots::IRegisterSlotAllocationVisitor::iroutine_slot_allocation"
87 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation(val_t p0);
88 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___iroutine_slot_allocation_t)(val_t p0);
89 #define LOCATE_allocate_iregister_slots___IRegisterSlotAllocationVisitor___init "allocate_iregister_slots::IRegisterSlotAllocationVisitor::init"
90 void allocate_iregister_slots___IRegisterSlotAllocationVisitor___init(val_t p0, val_t p1, int* init_table);
91 typedef void (*allocate_iregister_slots___IRegisterSlotAllocationVisitor___init_t)(val_t p0, val_t p1, int* init_table);
92 val_t NEW_IRegisterSlotAllocationVisitor_allocate_iregister_slots___IRegisterSlotAllocationVisitor___init(val_t p0);
93 #define LOCATE_allocate_iregister_slots___SlotGroup___register "allocate_iregister_slots::SlotGroup::register"
94 void allocate_iregister_slots___SlotGroup___register(val_t p0, val_t p1);
95 typedef void (*allocate_iregister_slots___SlotGroup___register_t)(val_t p0, val_t p1);
96 #define LOCATE_allocate_iregister_slots___SlotGroup___free "allocate_iregister_slots::SlotGroup::free"
97 void allocate_iregister_slots___SlotGroup___free(val_t p0, val_t p1);
98 typedef void (*allocate_iregister_slots___SlotGroup___free_t)(val_t p0, val_t p1);
99 #define LOCATE_allocate_iregister_slots___SlotGroup___init "allocate_iregister_slots::SlotGroup::init"
100 void allocate_iregister_slots___SlotGroup___init(val_t p0, int* init_table);
101 typedef void (*allocate_iregister_slots___SlotGroup___init_t)(val_t p0, int* init_table);
102 val_t NEW_SlotGroup_allocate_iregister_slots___SlotGroup___init();
103 val_t NEW_IRoutine_icode_base___IRoutine___init(val_t p0, val_t p1);
104 #define LOCATE_allocate_iregister_slots___IRoutine___std_slots_nb "allocate_iregister_slots::IRoutine::std_slots_nb"
105 val_t allocate_iregister_slots___IRoutine___std_slots_nb(val_t p0);
106 typedef val_t (*allocate_iregister_slots___IRoutine___std_slots_nb_t)(val_t p0);
107 #define LOCATE_allocate_iregister_slots___IRoutine___tag_slots_nb "allocate_iregister_slots::IRoutine::tag_slots_nb"
108 val_t allocate_iregister_slots___IRoutine___tag_slots_nb(val_t p0);
109 typedef val_t (*allocate_iregister_slots___IRoutine___tag_slots_nb_t)(val_t p0);
110 #define LOCATE_allocate_iregister_slots___IRoutine___allocate_iregister_slots "allocate_iregister_slots::IRoutine::allocate_iregister_slots"
111 void allocate_iregister_slots___IRoutine___allocate_iregister_slots(val_t p0);
112 typedef void (*allocate_iregister_slots___IRoutine___allocate_iregister_slots_t)(val_t p0);
113 val_t NEW_IRegister_icode_base___IRegister___init(val_t p0);
114 #define LOCATE_allocate_iregister_slots___IRegister___slot_index "allocate_iregister_slots::IRegister::slot_index"
115 val_t allocate_iregister_slots___IRegister___slot_index(val_t p0);
116 typedef val_t (*allocate_iregister_slots___IRegister___slot_index_t)(val_t p0);
117 #define LOCATE_allocate_iregister_slots___IRegister___slot_index__eq "allocate_iregister_slots::IRegister::slot_index="
118 void allocate_iregister_slots___IRegister___slot_index__eq(val_t p0, val_t p1);
119 typedef void (*allocate_iregister_slots___IRegister___slot_index__eq_t)(val_t p0, val_t p1);
120 #define LOCATE_allocate_iregister_slots___IRegister___is_local "allocate_iregister_slots::IRegister::is_local"
121 val_t allocate_iregister_slots___IRegister___is_local(val_t p0);
122 typedef val_t (*allocate_iregister_slots___IRegister___is_local_t)(val_t p0);
123 #define LOCATE_allocate_iregister_slots___IRegister___is_local__eq "allocate_iregister_slots::IRegister::is_local="
124 void allocate_iregister_slots___IRegister___is_local__eq(val_t p0, val_t p1);
125 typedef void (*allocate_iregister_slots___IRegister___is_local__eq_t)(val_t p0, val_t p1);
126 #define LOCATE_allocate_iregister_slots___IRegister___local_iroutine "allocate_iregister_slots::IRegister::local_iroutine"
127 val_t allocate_iregister_slots___IRegister___local_iroutine(val_t p0);
128 typedef val_t (*allocate_iregister_slots___IRegister___local_iroutine_t)(val_t p0);
129 #define LOCATE_allocate_iregister_slots___IRegister___local_iroutine__eq "allocate_iregister_slots::IRegister::local_iroutine="
130 void allocate_iregister_slots___IRegister___local_iroutine__eq(val_t p0, val_t p1);
131 typedef void (*allocate_iregister_slots___IRegister___local_iroutine__eq_t)(val_t p0, val_t p1);
132 #define LOCATE_allocate_iregister_slots___IRegister___in_tag_slots "allocate_iregister_slots::IRegister::in_tag_slots"
133 val_t allocate_iregister_slots___IRegister___in_tag_slots(val_t p0);
134 typedef val_t (*allocate_iregister_slots___IRegister___in_tag_slots_t)(val_t p0);
135 #define LOCATE_allocate_iregister_slots___IRegister___in_tag_slots__eq "allocate_iregister_slots::IRegister::in_tag_slots="
136 void allocate_iregister_slots___IRegister___in_tag_slots__eq(val_t p0, val_t p1);
137 typedef void (*allocate_iregister_slots___IRegister___in_tag_slots__eq_t)(val_t p0, val_t p1);
138 #endif