val_t hash___Char___hash(val_t p0){ struct {struct stack_frame_t me;} fra; val_t REGB0; val_t tmp; fra.me.prev = stack_frame_head; stack_frame_head = &fra.me; fra.me.file = LOCATE_hash; fra.me.line = 32; fra.me.meth = LOCATE_hash___Char___hash; fra.me.has_broke = 0; fra.me.REG_size = 0; REGB0 = p0; /* ./../lib/standard//kernel.nit:382 */ REGB0 = TAG_Int((unsigned char)UNTAG_Char(REGB0)); /* ./../lib/standard//hash.nit:32 */ goto label1; label1: while(0); stack_frame_head = fra.me.prev; return REGB0; }
void OC_utils___Object___cmangle_2(struct stack_frame_t *closctx, val_t p0){ struct {struct stack_frame_t me;} fra; val_t REGB0; val_t REGB1; val_t REGB2; val_t REGB3; val_t tmp; /* utils.nit:37 */ fra.me.prev = stack_frame_head; stack_frame_head = &fra.me; fra.me.file = LOCATE_utils; fra.me.line = 0; fra.me.meth = LOCATE_utils___Object___cmangle; fra.me.has_broke = 0; fra.me.REG_size = 1; fra.me.nitni_local_ref_head = NULL; fra.me.REG[0] = NIT_NULL; fra.me.REG[0] = p0; REGB0 = fra.me.REG[0]; /* utils.nit:38 */ REGB1 = TAG_Char('a'); REGB2 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/; if (UNTAG_Bool(REGB2)) { } else { nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0); } /* ../lib/standard/kernel.nit:387 */ REGB1 = TAG_Bool(UNTAG_Char(REGB0)>=UNTAG_Char(REGB1)); /* utils.nit:38 */ if (UNTAG_Bool(REGB1)) { REGB1 = TAG_Char('z'); REGB2 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/; if (UNTAG_Bool(REGB2)) { } else { nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0); } /* ../lib/standard/kernel.nit:385 */ REGB1 = TAG_Bool(UNTAG_Char(REGB0)<=UNTAG_Char(REGB1)); } else { /* utils.nit:38 */ REGB2 = TAG_Bool(0); REGB1 = REGB2; } if (UNTAG_Bool(REGB1)) { REGB1 = TAG_Bool(1); } else { REGB2 = TAG_Char('A'); REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/; if (UNTAG_Bool(REGB3)) { } else { nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0); } /* ../lib/standard/kernel.nit:387 */ REGB2 = TAG_Bool(UNTAG_Char(REGB0)>=UNTAG_Char(REGB2)); /* utils.nit:38 */ if (UNTAG_Bool(REGB2)) { REGB2 = TAG_Char('Z'); REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/; if (UNTAG_Bool(REGB3)) { } else { nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0); } /* ../lib/standard/kernel.nit:385 */ REGB2 = TAG_Bool(UNTAG_Char(REGB0)<=UNTAG_Char(REGB2)); } else { /* utils.nit:38 */ REGB3 = TAG_Bool(0); REGB2 = REGB3; } REGB1 = REGB2; } if (UNTAG_Bool(REGB1)) { REGB1 = TAG_Bool(1); } else { REGB2 = TAG_Char('0'); REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/; if (UNTAG_Bool(REGB3)) { } else { nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0); } /* ../lib/standard/kernel.nit:387 */ REGB2 = TAG_Bool(UNTAG_Char(REGB0)>=UNTAG_Char(REGB2)); /* utils.nit:38 */ if (UNTAG_Bool(REGB2)) { REGB2 = TAG_Char('9'); REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/; if (UNTAG_Bool(REGB3)) { } else { nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0); } /* ../lib/standard/kernel.nit:385 */ REGB2 = TAG_Bool(UNTAG_Char(REGB0)<=UNTAG_Char(REGB2)); } else { /* utils.nit:38 */ REGB3 = TAG_Bool(0); REGB2 = REGB3; } REGB1 = REGB2; } if (UNTAG_Bool(REGB1)) { /* utils.nit:39 */ CALL_standard___collection___abstract_collection___SimpleCollection___add(closctx->REG[0])(closctx->REG[0], REGB0); /* utils.nit:40 */ REGB1 = TAG_Bool(0); closctx->REG[5] = REGB1; /* utils.nit:41 */ REGB1 = TAG_Bool(1); closctx->REG[6] = REGB1; } else { /* utils.nit:42 */ REGB1 = TAG_Char('_'); REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1)); if (UNTAG_Bool(REGB2)) { } else { /* ../lib/standard/kernel.nit:381 */ REGB1 = TAG_Bool((REGB0)==(REGB1)); /* utils.nit:42 */ REGB2 = REGB1; } if (UNTAG_Bool(REGB2)) { REGB2 = TAG_Bool(!UNTAG_Bool(closctx->REG[5])); } else { REGB1 = TAG_Bool(0); REGB2 = REGB1; } if (UNTAG_Bool(REGB2)) { /* utils.nit:43 */ CALL_standard___collection___abstract_collection___SimpleCollection___add(closctx->REG[0])(closctx->REG[0], REGB0); /* utils.nit:44 */ REGB2 = TAG_Bool(1); closctx->REG[5] = REGB2; /* utils.nit:45 */ REGB2 = TAG_Bool(1); closctx->REG[6] = REGB2; } else { /* utils.nit:46 */ REGB2 = CALL_standard___collection___abstract_collection___MapRead___has_key(closctx->REG[2])(closctx->REG[2], REGB0); if (UNTAG_Bool(REGB2)) { /* utils.nit:47 */ if (UNTAG_Bool(closctx->REG[6])) { /* utils.nit:48 */ REGB2 = TAG_Char('_'); CALL_standard___collection___abstract_collection___SimpleCollection___add(closctx->REG[0])(closctx->REG[0], REGB2); /* utils.nit:49 */ REGB2 = TAG_Char('_'); CALL_standard___collection___abstract_collection___SimpleCollection___add(closctx->REG[0])(closctx->REG[0], REGB2); } /* utils.nit:51 */ fra.me.REG[0] = CALL_standard___collection___abstract_collection___MapRead_____bra(closctx->REG[2])(closctx->REG[2], REGB0); CALL_standard___collection___abstract_collection___Sequence___append(closctx->REG[0])(closctx->REG[0], fra.me.REG[0]); /* utils.nit:52 */ REGB0 = TAG_Bool(0); closctx->REG[6] = REGB0; /* utils.nit:53 */ REGB0 = TAG_Bool(0); closctx->REG[5] = REGB0; } } } stack_frame_head = fra.me.prev; return; }