- REGB2 = TAG_Int(0);
- REGB2 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB2));
- /* ./../lib/standard//collection//hash_collection.nit:111 */
- if (UNTAG_Bool(REGB2)) {
- REGB2 = TAG_Bool(ATTR_hash_collection___HashCollection____capacity(fra.me.REG[0])!=NIT_NULL);
- /* ./../lib/standard//collection//hash_collection.nit:112 */
- if (UNTAG_Bool(REGB2)) {
- } else {
- fprintf(stderr, "Uninitialized attribute %s", "_capacity");
- fprintf(stderr, " (%s:%d)\n", LOCATE_hash_collection, 112);
- nit_exit(1);
- }
- REGB2 = ATTR_hash_collection___HashCollection____capacity(fra.me.REG[0]);
- REGB1 = TAG_Int(1);
- REGB1 = TAG_Int(UNTAG_Int(REGB2)-UNTAG_Int(REGB1));
- REGB0 = REGB1;
- /* ./../lib/standard//collection//hash_collection.nit:112 */
- }
- fra.me.REG[2] = ATTR_hash_collection___HashCollection____array(fra.me.REG[0]);
- REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
- /* ./../lib/standard//collection//hash_collection.nit:114 */
- if (UNTAG_Bool(REGB1)) {
- fprintf(stderr, "Reciever is null");
- fprintf(stderr, " (%s:%d)\n", LOCATE_hash_collection, 114);
- nit_exit(1);
- }
- fra.me.REG[2] = ((Nit_NativeArray)fra.me.REG[2])->val[UNTAG_Int(REGB0)];
- REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
- /* ./../lib/standard//collection//hash_collection.nit:115 */
- if (UNTAG_Bool(REGB1)) {
- } else {
- REGB2 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
- if (UNTAG_Bool(REGB2)) {
- REGB2 = TAG_Bool(false);
- REGB1 = REGB2;
- } else {
- REGB2 = CALL_kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
- REGB1 = REGB2;
- }
- }
- if (UNTAG_Bool(REGB1)) {
- /* ./../lib/standard//collection//hash_collection.nit:116 */
- goto label1;
- }
- REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
- /* ./../lib/standard//collection//hash_collection.nit:118 */
- if (UNTAG_Bool(REGB1)) {
- fprintf(stderr, "Reciever is null");
- fprintf(stderr, " (%s:%d)\n", LOCATE_hash_collection, 118);
- nit_exit(1);
- }
- fra.me.REG[1] = CALL_hash_collection___HashNode___key(fra.me.REG[2])(fra.me.REG[2]);
- REGB1 = CALL_hash_collection___HashCollection___index_at(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
- REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1));
- /* ./../lib/standard//collection//hash_collection.nit:119 */
- if (UNTAG_Bool(REGB2)) {
- } else {
- REGB3 = TAG_Bool((REGB0)==(REGB1));
- REGB2 = REGB3;
- /* ./../lib/standard//collection//hash_collection.nit:119 */
- }
- REGB2 = TAG_Bool(!UNTAG_Bool(REGB2));
- if (UNTAG_Bool(REGB2)) {
- fra.me.REG[1] = ATTR_hash_collection___HashCollection____array(fra.me.REG[0]);
- REGB2 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
- /* ./../lib/standard//collection//hash_collection.nit:120 */
- if (UNTAG_Bool(REGB2)) {
- fprintf(stderr, "Reciever is null");
- fprintf(stderr, " (%s:%d)\n", LOCATE_hash_collection, 120);
- nit_exit(1);
- }
- /* ./../lib/standard//collection//array.nit:591 */
- ((Nit_NativeArray)fra.me.REG[1])->val[UNTAG_Int(REGB0)]=NIT_NULL;
- fra.me.REG[1] = ATTR_hash_collection___HashCollection____array(fra.me.REG[0]);
- REGB2 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
- /* ./../lib/standard//collection//hash_collection.nit:121 */
- if (UNTAG_Bool(REGB2)) {
- fprintf(stderr, "Reciever is null");
- fprintf(stderr, " (%s:%d)\n", LOCATE_hash_collection, 121);
- nit_exit(1);
- }
- fra.me.REG[1] = ((Nit_NativeArray)fra.me.REG[1])->val[UNTAG_Int(REGB1)];
- REGB2 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
- /* ./../lib/standard//collection//hash_collection.nit:121 */
- if (UNTAG_Bool(REGB2)) {
- } else {
- REGB3 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
- if (UNTAG_Bool(REGB3)) {
- REGB3 = TAG_Bool(false);
- REGB2 = REGB3;
- } else {
- REGB3 = CALL_kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
- REGB2 = REGB3;
- }
- }
- if (UNTAG_Bool(REGB2)) {
- } else {
- fprintf(stderr, "Assert failed");
- fprintf(stderr, " (%s:%d)\n", LOCATE_hash_collection, 121);
- nit_exit(1);
- }
- fra.me.REG[1] = ATTR_hash_collection___HashCollection____array(fra.me.REG[0]);
- REGB2 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
- /* ./../lib/standard//collection//hash_collection.nit:122 */
- if (UNTAG_Bool(REGB2)) {
- fprintf(stderr, "Reciever is null");
- fprintf(stderr, " (%s:%d)\n", LOCATE_hash_collection, 122);
- nit_exit(1);
- }
- /* ./../lib/standard//collection//array.nit:591 */
- ((Nit_NativeArray)fra.me.REG[1])->val[UNTAG_Int(REGB1)]=fra.me.REG[2];
- }