1 /* This C file is generated by NIT to compile module standard___hash. */
2 #include "standard___hash._sep.h"
3 static const char LOCATE_standard___hash___Object___hash
[] = "hash::Object::hash";
4 val_t
standard___hash___Object___hash(val_t p0
){
5 struct {struct stack_frame_t me
;} fra
;
9 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
10 fra
.me
.file
= LOCATE_standard___hash
;
12 fra
.me
.meth
= LOCATE_standard___hash___Object___hash
;
15 fra
.me
.nitni_local_ref_head
= NULL
;
16 fra
.me
.REG
[0] = NIT_NULL
;
18 /* ../lib/standard/hash.nit:24 */
19 REGB0
= CALL_standard___kernel___Object___object_id(fra
.me
.REG
[0])(fra
.me
.REG
[0]);
21 /* ../lib/standard/kernel.nit:242 */
22 REGB1
= TAG_Int(UNTAG_Int(REGB0
)/UNTAG_Int(REGB1
));
23 /* ../lib/standard/hash.nit:24 */
26 stack_frame_head
= fra
.me
.prev
;
29 static const char LOCATE_standard___hash___Int___hash
[] = "hash::Int::(hash::Object::hash)";
30 val_t
standard___hash___Int___hash(val_t p0
){
31 struct {struct stack_frame_t me
;} fra
;
34 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
35 fra
.me
.file
= LOCATE_standard___hash
;
37 fra
.me
.meth
= LOCATE_standard___hash___Int___hash
;
40 fra
.me
.nitni_local_ref_head
= NULL
;
42 /* ../lib/standard/hash.nit:28 */
45 stack_frame_head
= fra
.me
.prev
;
48 static const char LOCATE_standard___hash___Char___hash
[] = "hash::Char::(hash::Object::hash)";
49 val_t
standard___hash___Char___hash(val_t p0
){
50 struct {struct stack_frame_t me
;} fra
;
53 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
54 fra
.me
.file
= LOCATE_standard___hash
;
56 fra
.me
.meth
= LOCATE_standard___hash___Char___hash
;
59 fra
.me
.nitni_local_ref_head
= NULL
;
61 /* ../lib/standard/kernel.nit:416 */
62 REGB0
= TAG_Int((unsigned char)UNTAG_Char(REGB0
));
63 /* ../lib/standard/hash.nit:32 */
66 stack_frame_head
= fra
.me
.prev
;
69 static const char LOCATE_standard___hash___Bool___hash
[] = "hash::Bool::(hash::Object::hash)";
70 val_t
standard___hash___Bool___hash(val_t p0
){
71 struct {struct stack_frame_t me
;} fra
;
75 fra
.me
.prev
= stack_frame_head
; stack_frame_head
= &fra
.me
;
76 fra
.me
.file
= LOCATE_standard___hash
;
78 fra
.me
.meth
= LOCATE_standard___hash___Bool___hash
;
81 fra
.me
.nitni_local_ref_head
= NULL
;
83 /* ../lib/standard/hash.nit:38 */
84 if (UNTAG_Bool(REGB0
)) {
85 /* ../lib/standard/hash.nit:39 */
89 /* ../lib/standard/hash.nit:41 */
95 stack_frame_head
= fra
.me
.prev
;