if (!once_value_1) {
fra.me.REG[3] = BOX_NativeString("Reciever is null");
REGB0 = TAG_Int(16);
- fra.me.REG[3] = NEW_String_standard___string___String___with_native(fra.me.REG[3], REGB0);
+ fra.me.REG[3] = CALL_standard___string___NativeString___to_s_with_length(fra.me.REG[3])(fra.me.REG[3], REGB0);
once_value_1 = fra.me.REG[3];
register_static_object(&once_value_1);
} else fra.me.REG[3] = once_value_1;
if (!once_value_1) {
fra.me.REG[3] = BOX_NativeString("Cast failed");
REGB0 = TAG_Int(11);
- fra.me.REG[3] = NEW_String_standard___string___String___with_native(fra.me.REG[3], REGB0);
+ fra.me.REG[3] = CALL_standard___string___NativeString___to_s_with_length(fra.me.REG[3])(fra.me.REG[3], REGB0);
once_value_1 = fra.me.REG[3];
register_static_object(&once_value_1);
} else fra.me.REG[3] = once_value_1;
if (!once_value_1) {
fra.me.REG[4] = BOX_NativeString("Uninitialized attribute %s");
REGB0 = TAG_Int(26);
- fra.me.REG[4] = NEW_String_standard___string___String___with_native(fra.me.REG[4], REGB0);
+ fra.me.REG[4] = CALL_standard___string___NativeString___to_s_with_length(fra.me.REG[4])(fra.me.REG[4], REGB0);
once_value_1 = fra.me.REG[4];
register_static_object(&once_value_1);
} else fra.me.REG[4] = once_value_1;
if (!once_value_2) {
fra.me.REG[5] = BOX_NativeString("==");
REGB0 = TAG_Int(2);
- fra.me.REG[5] = NEW_String_standard___string___String___with_native(fra.me.REG[5], REGB0);
+ fra.me.REG[5] = CALL_standard___string___NativeString___to_s_with_length(fra.me.REG[5])(fra.me.REG[5], REGB0);
once_value_2 = fra.me.REG[5];
register_static_object(&once_value_2);
} else fra.me.REG[5] = once_value_2;
if (!once_value_4) {
fra.me.REG[6] = BOX_NativeString("!=");
REGB0 = TAG_Int(2);
- fra.me.REG[6] = NEW_String_standard___string___String___with_native(fra.me.REG[6], REGB0);
+ fra.me.REG[6] = CALL_standard___string___NativeString___to_s_with_length(fra.me.REG[6])(fra.me.REG[6], REGB0);
once_value_4 = fra.me.REG[6];
register_static_object(&once_value_4);
} else fra.me.REG[6] = once_value_4;
fra.me.REG[5] = CALL_icode___icode_builder___ICodeBuilder___new_register(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[5]);
/* icode/icode_builder.nit:128 */
REGB0 = TAG_Int(0);
- /* ../lib/standard/collection/array.nit:278 */
+ /* ../lib/standard/collection/array.nit:279 */
fra.me.REG[3] = fra.me.REG[2];
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB1 = TAG_Int(0);
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:236 */
+ /* ../lib/standard/kernel.nit:243 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)>=UNTAG_Int(REGB1));
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
if (UNTAG_Bool(REGB1)) {
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 281);
}
REGB1 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[3]);
REGB2 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/;
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ../lib/standard/kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
} else {
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB2 = TAG_Bool(0);
REGB1 = REGB2;
}
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 280);
+ nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 281);
}
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
fra.me.REG[3] = ATTR_standard___collection___array___Array____items(fra.me.REG[3]);
REGB1 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
if (UNTAG_Bool(REGB1)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 282);
}
- /* ../lib/standard/collection/array.nit:724 */
+ /* ../lib/standard/collection/array.nit:725 */
fra.me.REG[3] = ((Nit_NativeArray)fra.me.REG[3])->val[UNTAG_Int(REGB0)];
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
goto label6;
label6: while(0);
/* icode/icode_builder.nit:128 */
REGB0 = TAG_Int(1);
- /* ../lib/standard/collection/array.nit:278 */
+ /* ../lib/standard/collection/array.nit:279 */
fra.me.REG[7] = fra.me.REG[2];
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB1 = TAG_Int(0);
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:236 */
+ /* ../lib/standard/kernel.nit:243 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)>=UNTAG_Int(REGB1));
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
if (UNTAG_Bool(REGB1)) {
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[7])!=NIT_NULL);
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 281);
}
REGB1 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[7]);
REGB2 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/;
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ../lib/standard/kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
} else {
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB2 = TAG_Bool(0);
REGB1 = REGB2;
}
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 280);
+ nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 281);
}
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
fra.me.REG[7] = ATTR_standard___collection___array___Array____items(fra.me.REG[7]);
REGB1 = TAG_Bool(fra.me.REG[7]==NIT_NULL);
if (UNTAG_Bool(REGB1)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 282);
}
- /* ../lib/standard/collection/array.nit:724 */
+ /* ../lib/standard/collection/array.nit:725 */
fra.me.REG[7] = ((Nit_NativeArray)fra.me.REG[7])->val[UNTAG_Int(REGB0)];
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
goto label7;
label7: while(0);
/* icode/icode_builder.nit:128 */
CALL_icode___icode_builder___ICodeBuilder___seq__eq(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[9]);
/* icode/icode_builder.nit:137 */
REGB0 = TAG_Int(0);
- /* ../lib/standard/collection/array.nit:278 */
+ /* ../lib/standard/collection/array.nit:279 */
fra.me.REG[9] = fra.me.REG[2];
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB1 = TAG_Int(0);
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:236 */
+ /* ../lib/standard/kernel.nit:243 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)>=UNTAG_Int(REGB1));
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
if (UNTAG_Bool(REGB1)) {
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[9])!=NIT_NULL);
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 281);
}
REGB1 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[9]);
REGB2 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/;
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ../lib/standard/kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
} else {
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB2 = TAG_Bool(0);
REGB1 = REGB2;
}
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 280);
+ nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 281);
}
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
fra.me.REG[9] = ATTR_standard___collection___array___Array____items(fra.me.REG[9]);
REGB1 = TAG_Bool(fra.me.REG[9]==NIT_NULL);
if (UNTAG_Bool(REGB1)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 282);
}
- /* ../lib/standard/collection/array.nit:724 */
+ /* ../lib/standard/collection/array.nit:725 */
fra.me.REG[9] = ((Nit_NativeArray)fra.me.REG[9])->val[UNTAG_Int(REGB0)];
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
goto label8;
label8: while(0);
/* icode/icode_builder.nit:137 */
fra.me.REG[9] = CALL_icode___icode_builder___ICodeBuilder___lit_null_reg(fra.me.REG[4])(fra.me.REG[4]);
/* icode/icode_builder.nit:139 */
REGB0 = TAG_Int(0);
- /* ../lib/standard/collection/array.nit:278 */
+ /* ../lib/standard/collection/array.nit:279 */
fra.me.REG[10] = fra.me.REG[2];
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB1 = TAG_Int(0);
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:236 */
+ /* ../lib/standard/kernel.nit:243 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)>=UNTAG_Int(REGB1));
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
if (UNTAG_Bool(REGB1)) {
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[10])!=NIT_NULL);
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 281);
}
REGB1 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[10]);
REGB2 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/;
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ../lib/standard/kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
} else {
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB2 = TAG_Bool(0);
REGB1 = REGB2;
}
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 280);
+ nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 281);
}
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
fra.me.REG[10] = ATTR_standard___collection___array___Array____items(fra.me.REG[10]);
REGB1 = TAG_Bool(fra.me.REG[10]==NIT_NULL);
if (UNTAG_Bool(REGB1)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 282);
}
- /* ../lib/standard/collection/array.nit:724 */
+ /* ../lib/standard/collection/array.nit:725 */
fra.me.REG[10] = ((Nit_NativeArray)fra.me.REG[10])->val[UNTAG_Int(REGB0)];
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
goto label9;
label9: while(0);
/* icode/icode_builder.nit:139 */
/* icode/icode_builder.nit:230 */
REGB0 = TAG_Int(0);
REGB1 = CALL_metamodel___static_type___MMSignature___arity(fra.me.REG[0])(fra.me.REG[0]);
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
while(1) {
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:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB2 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
if (UNTAG_Bool(REGB2)) {
/* icode/icode_builder.nit:230 */
REGB2 = REGB0;
fra.me.REG[2] = CALL_metamodel___static_type___MMSignature_____bra(fra.me.REG[0])(fra.me.REG[0], REGB2);
fra.me.REG[2] = NEW_IRegister_icode___icode_base___IRegister___init(fra.me.REG[2]);
CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2]);
- /* ../lib/standard/kernel.nit:357 */
+ /* ../lib/standard/kernel.nit:406 */
REGB2 = TAG_Int(1);
- /* ../lib/standard/kernel.nit:238 */
+ /* ../lib/standard/kernel.nit:245 */
REGB2 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB2));
- /* ../lib/standard/kernel.nit:357 */
+ /* ../lib/standard/kernel.nit:406 */
REGB0 = REGB2;
} else {
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
goto label1;
}
}
fra.me.REG[3] = fra.me.REG[4];
/* icode/icode_builder.nit:242 */
fra.me.REG[4] = CALL_metamodel___static_type___MMSignature___closures(fra.me.REG[0])(fra.me.REG[0]);
- /* ../lib/standard/collection/array.nit:269 */
- REGB0 = TAG_Int(0);
/* ../lib/standard/collection/array.nit:270 */
+ REGB0 = TAG_Int(0);
+ /* ../lib/standard/collection/array.nit:271 */
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 270);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 271);
}
REGB1 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4]);
- /* ../lib/standard/collection/array.nit:271 */
- fra.me.REG[5] = ATTR_standard___collection___array___Array____items(fra.me.REG[4]);
/* ../lib/standard/collection/array.nit:272 */
+ fra.me.REG[5] = ATTR_standard___collection___array___Array____items(fra.me.REG[4]);
+ /* ../lib/standard/collection/array.nit:273 */
while(1) {
/* ../lib/standard/collection/array.nit:24 */
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ../lib/standard/kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
- /* ../lib/standard/collection/array.nit:272 */
+ /* ../lib/standard/collection/array.nit:273 */
if (UNTAG_Bool(REGB1)) {
- /* ../lib/standard/collection/array.nit:273 */
+ /* ../lib/standard/collection/array.nit:274 */
REGB1 = TAG_Bool(fra.me.REG[5]==NIT_NULL);
if (UNTAG_Bool(REGB1)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 273);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 274);
}
- /* ../lib/standard/collection/array.nit:724 */
+ /* ../lib/standard/collection/array.nit:725 */
fra.me.REG[6] = ((Nit_NativeArray)fra.me.REG[5])->val[UNTAG_Int(REGB0)];
/* icode/icode_builder.nit:243 */
fra.me.REG[6] = NEW_IClosureDecl_icode___icode_base___IClosureDecl___init(fra.me.REG[6]);
nit_abort("Reciever is null", NULL, LOCATE_icode___icode_builder, 243);
}
CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[6]);
- /* ../lib/standard/collection/array.nit:274 */
+ /* ../lib/standard/collection/array.nit:275 */
REGB1 = TAG_Int(1);
- /* ../lib/standard/kernel.nit:238 */
+ /* ../lib/standard/kernel.nit:245 */
REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
- /* ../lib/standard/collection/array.nit:274 */
+ /* ../lib/standard/collection/array.nit:275 */
REGB0 = REGB1;
} else {
- /* ../lib/standard/collection/array.nit:272 */
+ /* ../lib/standard/collection/array.nit:273 */
goto label2;
}
}
/* icode/icode_builder.nit:249 */
REGB0 = TAG_Int(0);
REGB1 = CALL_metamodel___static_type___MMSignature___arity(fra.me.REG[0])(fra.me.REG[0]);
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
while(1) {
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:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB2 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
if (UNTAG_Bool(REGB2)) {
/* icode/icode_builder.nit:249 */
REGB2 = REGB0;
if (UNTAG_Bool(REGB3)) {
/* icode/icode_builder.nit:252 */
REGB3 = TAG_Int(1);
- /* ../lib/standard/kernel.nit:238 */
+ /* ../lib/standard/kernel.nit:245 */
REGB3 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB3));
- /* ../lib/standard/collection/array.nit:278 */
+ /* ../lib/standard/collection/array.nit:279 */
fra.me.REG[4] = fra.me.REG[1];
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB2 = TAG_Int(0);
REGB4 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB3), VTID_standard___kernel___Comparable___OTHER(REGB3))) /*cast OTHER*/;
if (UNTAG_Bool(REGB4)) {
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ../lib/standard/kernel.nit:236 */
+ /* ../lib/standard/kernel.nit:243 */
REGB2 = TAG_Bool(UNTAG_Int(REGB3)>=UNTAG_Int(REGB2));
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
if (UNTAG_Bool(REGB2)) {
REGB2 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
if (UNTAG_Bool(REGB2)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 281);
}
REGB2 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4]);
REGB4 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB3), VTID_standard___kernel___Comparable___OTHER(REGB3))) /*cast OTHER*/;
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ../lib/standard/kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB2 = TAG_Bool(UNTAG_Int(REGB3)<UNTAG_Int(REGB2));
} else {
- /* ../lib/standard/collection/array.nit:280 */
+ /* ../lib/standard/collection/array.nit:281 */
REGB4 = TAG_Bool(0);
REGB2 = REGB4;
}
if (UNTAG_Bool(REGB2)) {
} else {
- nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 280);
+ nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 281);
}
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
fra.me.REG[4] = ATTR_standard___collection___array___Array____items(fra.me.REG[4]);
REGB2 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
if (UNTAG_Bool(REGB2)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 282);
}
- /* ../lib/standard/collection/array.nit:724 */
+ /* ../lib/standard/collection/array.nit:725 */
fra.me.REG[4] = ((Nit_NativeArray)fra.me.REG[4])->val[UNTAG_Int(REGB3)];
- /* ../lib/standard/collection/array.nit:281 */
+ /* ../lib/standard/collection/array.nit:282 */
goto label3;
label3: while(0);
/* icode/icode_builder.nit:252 */
CALL_icode___icode_builder___ICodeBuilder___add_type_cast(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[4], fra.me.REG[5]);
}
- /* ../lib/standard/kernel.nit:357 */
+ /* ../lib/standard/kernel.nit:406 */
REGB3 = TAG_Int(1);
- /* ../lib/standard/kernel.nit:238 */
+ /* ../lib/standard/kernel.nit:245 */
REGB3 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB3));
- /* ../lib/standard/kernel.nit:357 */
+ /* ../lib/standard/kernel.nit:406 */
REGB0 = REGB3;
} else {
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
goto label4;
}
}
/* icode/icode_builder.nit:262 */
REGB0 = TAG_Int(0);
REGB1 = CALL_metamodel___static_type___MMSignature___arity(fra.me.REG[0])(fra.me.REG[0]);
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
while(1) {
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:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB2 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
if (UNTAG_Bool(REGB2)) {
/* icode/icode_builder.nit:262 */
REGB2 = REGB0;
fra.me.REG[3] = CALL_metamodel___static_type___MMSignature_____bra(fra.me.REG[0])(fra.me.REG[0], REGB2);
fra.me.REG[3] = CALL_icode___icode_builder___ICodeBuilder___new_register(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[3]);
CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
- /* ../lib/standard/kernel.nit:357 */
+ /* ../lib/standard/kernel.nit:406 */
REGB2 = TAG_Int(1);
- /* ../lib/standard/kernel.nit:238 */
+ /* ../lib/standard/kernel.nit:245 */
REGB2 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB2));
- /* ../lib/standard/kernel.nit:357 */
+ /* ../lib/standard/kernel.nit:406 */
REGB0 = REGB2;
} else {
- /* ../lib/standard/kernel.nit:355 */
+ /* ../lib/standard/kernel.nit:404 */
goto label1;
}
}
fra.me.REG[2] = fra.me.REG[4];
/* icode/icode_builder.nit:274 */
fra.me.REG[0] = CALL_metamodel___static_type___MMSignature___closures(fra.me.REG[0])(fra.me.REG[0]);
- /* ../lib/standard/collection/array.nit:269 */
- REGB0 = TAG_Int(0);
/* ../lib/standard/collection/array.nit:270 */
+ REGB0 = TAG_Int(0);
+ /* ../lib/standard/collection/array.nit:271 */
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[0])!=NIT_NULL);
if (UNTAG_Bool(REGB1)) {
} else {
- nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 270);
+ nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 271);
}
REGB1 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[0]);
- /* ../lib/standard/collection/array.nit:271 */
- fra.me.REG[4] = ATTR_standard___collection___array___Array____items(fra.me.REG[0]);
/* ../lib/standard/collection/array.nit:272 */
+ fra.me.REG[4] = ATTR_standard___collection___array___Array____items(fra.me.REG[0]);
+ /* ../lib/standard/collection/array.nit:273 */
while(1) {
/* ../lib/standard/collection/array.nit:24 */
REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[0])!=NIT_NULL);
} else {
nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
}
- /* ../lib/standard/kernel.nit:235 */
+ /* ../lib/standard/kernel.nit:242 */
REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
- /* ../lib/standard/collection/array.nit:272 */
+ /* ../lib/standard/collection/array.nit:273 */
if (UNTAG_Bool(REGB1)) {
- /* ../lib/standard/collection/array.nit:273 */
+ /* ../lib/standard/collection/array.nit:274 */
REGB1 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
if (UNTAG_Bool(REGB1)) {
- nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 273);
+ nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 274);
}
- /* ../lib/standard/collection/array.nit:724 */
+ /* ../lib/standard/collection/array.nit:725 */
fra.me.REG[1] = ((Nit_NativeArray)fra.me.REG[4])->val[UNTAG_Int(REGB0)];
/* icode/icode_builder.nit:275 */
fra.me.REG[1] = NEW_IClosureDecl_icode___icode_base___IClosureDecl___init(fra.me.REG[1]);
nit_abort("Reciever is null", NULL, LOCATE_icode___icode_builder, 275);
}
CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
- /* ../lib/standard/collection/array.nit:274 */
+ /* ../lib/standard/collection/array.nit:275 */
REGB1 = TAG_Int(1);
- /* ../lib/standard/kernel.nit:238 */
+ /* ../lib/standard/kernel.nit:245 */
REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
- /* ../lib/standard/collection/array.nit:274 */
+ /* ../lib/standard/collection/array.nit:275 */
REGB0 = REGB1;
} else {
- /* ../lib/standard/collection/array.nit:272 */
+ /* ../lib/standard/collection/array.nit:273 */
goto label2;
}
}