/* ./abstracttool.nit:55 */
fra.me.REG[1] = CALL_mmloader___ToolContext___option_context(fra.me.REG[0])(fra.me.REG[0]);
fra.me.REG[1] = CALL_opts___OptionContext___rest(fra.me.REG[1])(fra.me.REG[1]);
- /* ./../lib/standard//collection//array.nit:23 */
+ /* ./../lib/standard//collection//array.nit:24 */
REGB0 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
if (UNTAG_Bool(REGB0)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 23);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 24);
}
REGB0 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1]);
/* ./abstracttool.nit:55 */
REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1));
if (UNTAG_Bool(REGB2)) {
} else {
- /* ./../lib/standard//kernel.nit:210 */
+ /* ./../lib/standard//kernel.nit:227 */
REGB1 = TAG_Bool((REGB0)==(REGB1));
/* ./abstracttool.nit:55 */
REGB2 = REGB1;
CALL_mmloader___ToolContext___info(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[3], REGB2);
/* ./abstracttool.nit:64 */
REGB2 = TAG_Int(0);
- /* ./../lib/standard//collection//array.nit:23 */
+ /* ./../lib/standard//collection//array.nit:24 */
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 23);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 24);
}
REGB1 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1]);
- /* ./../lib/standard//kernel.nit:335 */
+ /* ./../lib/standard//kernel.nit:352 */
while(1) {
- /* ./../lib/standard//kernel.nit:215 */
+ REGB0 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB2), VTID_standard___kernel___Comparable___OTHER(REGB2))) /*cast OTHER*/;
+ if (UNTAG_Bool(REGB0)) {
+ } else {
+ nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+ }
+ /* ./../lib/standard//kernel.nit:232 */
REGB0 = TAG_Bool(UNTAG_Int(REGB2)<UNTAG_Int(REGB1));
- /* ./../lib/standard//kernel.nit:335 */
+ /* ./../lib/standard//kernel.nit:352 */
if (UNTAG_Bool(REGB0)) {
/* ./abstracttool.nit:64 */
REGB0 = REGB2;
- /* ./../lib/standard//collection//array.nit:243 */
+ /* ./../lib/standard//collection//array.nit:278 */
fra.me.REG[3] = fra.me.REG[1];
- /* ./../lib/standard//collection//array.nit:245 */
+ /* ./../lib/standard//collection//array.nit:280 */
REGB3 = TAG_Int(0);
- /* ./../lib/standard//kernel.nit:216 */
+ REGB4 = TAG_Bool(VAL_ISA(REGB3, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/;
+ if (UNTAG_Bool(REGB4)) {
+ } else {
+ nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+ }
+ /* ./../lib/standard//kernel.nit:233 */
REGB3 = TAG_Bool(UNTAG_Int(REGB0)>=UNTAG_Int(REGB3));
- /* ./../lib/standard//collection//array.nit:245 */
+ /* ./../lib/standard//collection//array.nit:280 */
if (UNTAG_Bool(REGB3)) {
REGB3 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
if (UNTAG_Bool(REGB3)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 245);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
}
REGB3 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[3]);
- /* ./../lib/standard//kernel.nit:215 */
+ REGB4 = TAG_Bool(VAL_ISA(REGB3, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/;
+ if (UNTAG_Bool(REGB4)) {
+ } else {
+ nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+ }
+ /* ./../lib/standard//kernel.nit:232 */
REGB3 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB3));
} else {
- /* ./../lib/standard//collection//array.nit:245 */
+ /* ./../lib/standard//collection//array.nit:280 */
REGB4 = TAG_Bool(false);
REGB3 = REGB4;
}
if (UNTAG_Bool(REGB3)) {
} else {
- nit_abort("Assert %s failed", "'index'", LOCATE_standard___collection___array, 245);
+ nit_abort("Assert %s failed", "'index'", LOCATE_standard___collection___array, 280);
}
- /* ./../lib/standard//collection//array.nit:246 */
+ /* ./../lib/standard//collection//array.nit:281 */
fra.me.REG[3] = ATTR_standard___collection___array___Array____items(fra.me.REG[3]);
REGB3 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
if (UNTAG_Bool(REGB3)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 246);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
}
- /* ./../lib/standard//collection//array.nit:654 */
+ /* ./../lib/standard//collection//array.nit:718 */
fra.me.REG[3] = ((Nit_NativeArray)fra.me.REG[3])->val[UNTAG_Int(REGB0)];
- /* ./../lib/standard//collection//array.nit:246 */
+ /* ./../lib/standard//collection//array.nit:281 */
goto label9;
label9: while(0);
/* ./abstracttool.nit:65 */
fra.me.REG[3] = CALL_mmloader___ToolContext___get_module_from_filename(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[3]);
/* ./abstracttool.nit:66 */
CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
- /* ./../lib/standard//kernel.nit:337 */
+ /* ./../lib/standard//kernel.nit:354 */
REGB0 = TAG_Int(1);
- /* ./../lib/standard//kernel.nit:218 */
+ /* ./../lib/standard//kernel.nit:235 */
REGB0 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB0));
- /* ./../lib/standard//kernel.nit:337 */
+ /* ./../lib/standard//kernel.nit:354 */
REGB2 = REGB0;
} else {
- /* ./../lib/standard//kernel.nit:335 */
+ /* ./../lib/standard//kernel.nit:352 */
goto label10;
}
}
REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1));
if (UNTAG_Bool(REGB2)) {
} else {
- /* ./../lib/standard//kernel.nit:210 */
+ /* ./../lib/standard//kernel.nit:227 */
REGB1 = TAG_Bool((REGB0)==(REGB1));
/* ./abstracttool.nit:119 */
REGB2 = REGB1;
REGB0 = TAG_Bool(IS_EQUAL_OO(REGB2,REGB1));
if (UNTAG_Bool(REGB0)) {
} else {
- /* ./../lib/standard//kernel.nit:210 */
+ /* ./../lib/standard//kernel.nit:227 */
REGB1 = TAG_Bool((REGB2)==(REGB1));
/* ./abstracttool.nit:121 */
REGB0 = REGB1;