ni: fixed crash on empty class comment
[nit.git] / c_src / metamodel___partial_order._sep.c
index 2f49e83..936ae0d 100644 (file)
@@ -1,5 +1,6 @@
 /* This C file is generated by NIT to compile module metamodel___partial_order. */
 #include "metamodel___partial_order._sep.h"
+static const char LOCATE_metamodel___partial_order___PartialOrder___roots[] = "partial_order::PartialOrder::roots";
 val_t metamodel___partial_order___PartialOrder___roots(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -23,6 +24,7 @@ val_t metamodel___partial_order___PartialOrder___roots(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___is_empty[] = "partial_order::PartialOrder::(abstract_collection::Collection::is_empty)";
 val_t metamodel___partial_order___PartialOrder___is_empty(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -49,6 +51,7 @@ val_t metamodel___partial_order___PartialOrder___is_empty(val_t p0){
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___length[] = "partial_order::PartialOrder::(abstract_collection::Collection::length)";
 val_t metamodel___partial_order___PartialOrder___length(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -75,6 +78,7 @@ val_t metamodel___partial_order___PartialOrder___length(val_t p0){
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___first[] = "partial_order::PartialOrder::(abstract_collection::Collection::first)";
 val_t metamodel___partial_order___PartialOrder___first(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -101,6 +105,7 @@ val_t metamodel___partial_order___PartialOrder___first(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___has[] = "partial_order::PartialOrder::(abstract_collection::Collection::has)";
 val_t metamodel___partial_order___PartialOrder___has(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
@@ -129,6 +134,7 @@ val_t metamodel___partial_order___PartialOrder___has(val_t p0, val_t p1){
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___has_only[] = "partial_order::PartialOrder::(abstract_collection::Collection::has_only)";
 val_t metamodel___partial_order___PartialOrder___has_only(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -159,7 +165,7 @@ val_t metamodel___partial_order___PartialOrder___has_only(val_t p0, val_t p1){
   REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1));
   if (UNTAG_Bool(REGB2)) {
   } else {
-    /* ../lib/standard/kernel.nit:227 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB1 = TAG_Bool((REGB0)==(REGB1));
     /* metamodel/partial_order.nit:43 */
     REGB2 = REGB1;
@@ -178,7 +184,7 @@ val_t metamodel___partial_order___PartialOrder___has_only(val_t p0, val_t p1){
     } else {
       REGB1 = TAG_Bool(fra.me.REG[0]==NIT_NULL);
       if (UNTAG_Bool(REGB1)) {
-        REGB1 = TAG_Bool(false);
+        REGB1 = TAG_Bool(0);
         REGB2 = REGB1;
       } else {
         REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
@@ -186,7 +192,7 @@ val_t metamodel___partial_order___PartialOrder___has_only(val_t p0, val_t p1){
       }
     }
   } else {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB2 = REGB1;
   }
   goto label1;
@@ -194,6 +200,7 @@ val_t metamodel___partial_order___PartialOrder___has_only(val_t p0, val_t p1){
   stack_frame_head = fra.me.prev;
   return REGB2;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___count[] = "partial_order::PartialOrder::(abstract_collection::Collection::count)";
 val_t metamodel___partial_order___PartialOrder___count(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
@@ -226,6 +233,7 @@ val_t metamodel___partial_order___PartialOrder___count(val_t p0, val_t p1){
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___iterator[] = "partial_order::PartialOrder::(abstract_collection::Collection::iterator)";
 val_t metamodel___partial_order___PartialOrder___iterator(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -252,6 +260,7 @@ val_t metamodel___partial_order___PartialOrder___iterator(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder_____bra[] = "partial_order::PartialOrder::[]";
 val_t metamodel___partial_order___PartialOrder_____bra(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
@@ -280,6 +289,7 @@ val_t metamodel___partial_order___PartialOrder_____bra(val_t p0, val_t p1){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[1];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___to_dot[] = "partial_order::PartialOrder::to_dot";
 val_t metamodel___partial_order___PartialOrder___to_dot(val_t p0){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -381,7 +391,7 @@ val_t metamodel___partial_order___PartialOrder___to_dot(val_t p0){
       } else {
         nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
       }
-      /* ../lib/standard/kernel.nit:232 */
+      /* ../lib/standard/kernel.nit:235 */
       REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
       /* ../lib/standard/collection/array.nit:272 */
       if (UNTAG_Bool(REGB1)) {
@@ -398,7 +408,7 @@ val_t metamodel___partial_order___PartialOrder___to_dot(val_t p0){
         CALL_standard___collection___abstract_collection___Sequence___append(closctx->REG[1])(closctx->REG[1], fra.me.REG[3]);
         /* ../lib/standard/collection/array.nit:274 */
         REGB1 = TAG_Int(1);
-        /* ../lib/standard/kernel.nit:235 */
+        /* ../lib/standard/kernel.nit:238 */
         REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
         /* ../lib/standard/collection/array.nit:274 */
         REGB0 = REGB1;
@@ -411,6 +421,7 @@ val_t metamodel___partial_order___PartialOrder___to_dot(val_t p0){
     stack_frame_head = fra.me.prev;
     return;
   }
+static const char LOCATE_metamodel___partial_order___PartialOrder___to_dot_header[] = "partial_order::PartialOrder::to_dot_header";
 val_t metamodel___partial_order___PartialOrder___to_dot_header(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -439,6 +450,7 @@ val_t metamodel___partial_order___PartialOrder___to_dot_header(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___to_dot_node[] = "partial_order::PartialOrder::to_dot_node";
 val_t metamodel___partial_order___PartialOrder___to_dot_node(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -486,6 +498,7 @@ val_t metamodel___partial_order___PartialOrder___to_dot_node(val_t p0, val_t p1)
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___to_dot_edge[] = "partial_order::PartialOrder::to_dot_edge";
 val_t metamodel___partial_order___PartialOrder___to_dot_edge(val_t p0, val_t p1, val_t p2){
   struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
   val_t REGB0;
@@ -547,6 +560,7 @@ val_t metamodel___partial_order___PartialOrder___to_dot_edge(val_t p0, val_t p1,
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___select_smallests[] = "partial_order::PartialOrder::select_smallests";
 val_t metamodel___partial_order___PartialOrder___select_smallests(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[4];} fra;
   val_t REGB0;
@@ -572,7 +586,7 @@ val_t metamodel___partial_order___PartialOrder___select_smallests(val_t p0, val_
   } else {
     REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
@@ -647,6 +661,7 @@ val_t metamodel___partial_order___PartialOrder___select_smallests(val_t p0, val_
     stack_frame_head = fra.me.prev;
     return;
   }
+static const char LOCATE_metamodel___partial_order___PartialOrder___add[] = "partial_order::PartialOrder::add";
 val_t metamodel___partial_order___PartialOrder___add(val_t p0, val_t p1, val_t p2){
   struct {struct stack_frame_t me; val_t MORE_REG[4];} fra;
   val_t REGB0;
@@ -680,7 +695,7 @@ val_t metamodel___partial_order___PartialOrder___add(val_t p0, val_t p1, val_t p
   } else {
     REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
@@ -688,7 +703,7 @@ val_t metamodel___partial_order___PartialOrder___add(val_t p0, val_t p1, val_t p
     }
   }
   if (UNTAG_Bool(REGB0)) {
-    REGB0 = TAG_Bool(true);
+    REGB0 = TAG_Bool(1);
   } else {
     REGB1 = CALL_metamodel___partial_order___PartialOrder___has_all(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
     REGB0 = REGB1;
@@ -723,7 +738,7 @@ val_t metamodel___partial_order___PartialOrder___add(val_t p0, val_t p1, val_t p
   } else {
     REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
@@ -731,7 +746,7 @@ val_t metamodel___partial_order___PartialOrder___add(val_t p0, val_t p1, val_t p
     }
   }
   if (UNTAG_Bool(REGB0)) {
-    REGB0 = TAG_Bool(true);
+    REGB0 = TAG_Bool(1);
   } else {
     REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
@@ -756,6 +771,7 @@ val_t metamodel___partial_order___PartialOrder___add(val_t p0, val_t p1, val_t p
   stack_frame_head = fra.me.prev;
   return fra.me.REG[3];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___has_all[] = "partial_order::PartialOrder::has_all";
 val_t metamodel___partial_order___PartialOrder___has_all(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
@@ -777,7 +793,7 @@ val_t metamodel___partial_order___PartialOrder___has_all(val_t p0, val_t p1){
     case 1: (&(fra.me))->has_broke = 0; goto label3;
   }
   /* metamodel/partial_order.nit:141 */
-  REGB0 = TAG_Bool(true);
+  REGB0 = TAG_Bool(1);
   fra.me.REG[1] = REGB0;
   goto label3;
   label3: while(0);
@@ -807,7 +823,7 @@ val_t metamodel___partial_order___PartialOrder___has_all(val_t p0, val_t p1){
     REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
     if (UNTAG_Bool(REGB0)) {
       /* metamodel/partial_order.nit:138 */
-      REGB0 = TAG_Bool(false);
+      REGB0 = TAG_Bool(0);
       closctx->REG[1] = REGB0;
       closctx->has_broke = 1;
       goto label2;
@@ -816,6 +832,7 @@ val_t metamodel___partial_order___PartialOrder___has_all(val_t p0, val_t p1){
     stack_frame_head = fra.me.prev;
     return;
   }
+static const char LOCATE_metamodel___partial_order___PartialOrder___new_poe[] = "partial_order::PartialOrder::new_poe";
 val_t metamodel___partial_order___PartialOrder___new_poe(val_t p0, val_t p1, val_t p2){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t tmp;
@@ -839,6 +856,7 @@ val_t metamodel___partial_order___PartialOrder___new_poe(val_t p0, val_t p1, val
   stack_frame_head = fra.me.prev;
   return fra.me.REG[2];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___add_to_smallests[] = "partial_order::PartialOrder::add_to_smallests";
 val_t metamodel___partial_order___PartialOrder___add_to_smallests(val_t p0, val_t p1, val_t p2, val_t p3){
   struct {struct stack_frame_t me; val_t MORE_REG[5];} fra;
   val_t REGB0;
@@ -891,7 +909,7 @@ val_t metamodel___partial_order___PartialOrder___add_to_smallests(val_t p0, val_
     } else {
       nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
     }
-    /* ../lib/standard/kernel.nit:232 */
+    /* ../lib/standard/kernel.nit:235 */
     REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
     /* ../lib/standard/collection/array.nit:272 */
     if (UNTAG_Bool(REGB1)) {
@@ -906,7 +924,7 @@ val_t metamodel___partial_order___PartialOrder___add_to_smallests(val_t p0, val_
       REGB1 = CALL_metamodel___partial_order___PartialOrderElement_____g(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[5]);
       if (UNTAG_Bool(REGB1)) {
         /* metamodel/partial_order.nit:161 */
-        REGB1 = TAG_Bool(false);
+        REGB1 = TAG_Bool(0);
         goto label1;
       }
       /* metamodel/partial_order.nit:163 */
@@ -918,7 +936,7 @@ val_t metamodel___partial_order___PartialOrder___add_to_smallests(val_t p0, val_
       }
       /* ../lib/standard/collection/array.nit:274 */
       REGB2 = TAG_Int(1);
-      /* ../lib/standard/kernel.nit:235 */
+      /* ../lib/standard/kernel.nit:238 */
       REGB2 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB2));
       /* ../lib/standard/collection/array.nit:274 */
       REGB0 = REGB2;
@@ -931,13 +949,14 @@ val_t metamodel___partial_order___PartialOrder___add_to_smallests(val_t p0, val_
   /* metamodel/partial_order.nit:167 */
   CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
   /* metamodel/partial_order.nit:168 */
-  REGB0 = TAG_Bool(true);
+  REGB0 = TAG_Bool(1);
   REGB1 = REGB0;
   goto label1;
   label1: while(0);
   stack_frame_head = fra.me.prev;
   return REGB1;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrder___compute_smallers_for[] = "partial_order::PartialOrder::compute_smallers_for";
 void metamodel___partial_order___PartialOrder___compute_smallers_for(val_t p0, val_t p1, val_t p2){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -996,6 +1015,7 @@ void metamodel___partial_order___PartialOrder___compute_smallers_for(val_t p0, v
     stack_frame_head = fra.me.prev;
     return;
   }
+static const char LOCATE_metamodel___partial_order___PartialOrder___init[] = "partial_order::PartialOrder::init";
 void metamodel___partial_order___PartialOrder___init(val_t p0, int* init_table){
   int itpos0 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_metamodel___partial_order___PartialOrder].i;
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
@@ -1024,6 +1044,7 @@ void metamodel___partial_order___PartialOrder___init(val_t p0, int* init_table){
   init_table[itpos0] = 1;
   return;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___order[] = "partial_order::PartialOrderElement::order";
 val_t metamodel___partial_order___PartialOrderElement___order(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -1047,6 +1068,7 @@ val_t metamodel___partial_order___PartialOrderElement___order(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___value[] = "partial_order::PartialOrderElement::value";
 val_t metamodel___partial_order___PartialOrderElement___value(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -1070,6 +1092,7 @@ val_t metamodel___partial_order___PartialOrderElement___value(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___rank[] = "partial_order::PartialOrderElement::rank";
 val_t metamodel___partial_order___PartialOrderElement___rank(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -1093,6 +1116,7 @@ val_t metamodel___partial_order___PartialOrderElement___rank(val_t p0){
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___direct_greaters[] = "partial_order::PartialOrderElement::direct_greaters";
 val_t metamodel___partial_order___PartialOrderElement___direct_greaters(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -1116,6 +1140,7 @@ val_t metamodel___partial_order___PartialOrderElement___direct_greaters(val_t p0
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___direct_smallers[] = "partial_order::PartialOrderElement::direct_smallers";
 val_t metamodel___partial_order___PartialOrderElement___direct_smallers(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -1139,6 +1164,7 @@ val_t metamodel___partial_order___PartialOrderElement___direct_smallers(val_t p0
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___greaters[] = "partial_order::PartialOrderElement::greaters";
 val_t metamodel___partial_order___PartialOrderElement___greaters(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -1162,6 +1188,7 @@ val_t metamodel___partial_order___PartialOrderElement___greaters(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___greaters_and_self[] = "partial_order::PartialOrderElement::greaters_and_self";
 val_t metamodel___partial_order___PartialOrderElement___greaters_and_self(val_t p0){
   struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
   val_t REGB0;
@@ -1188,7 +1215,7 @@ val_t metamodel___partial_order___PartialOrderElement___greaters_and_self(val_t
   } else {
     REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
@@ -1231,6 +1258,7 @@ val_t metamodel___partial_order___PartialOrderElement___greaters_and_self(val_t
   stack_frame_head = fra.me.prev;
   return fra.me.REG[1];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___smallers[] = "partial_order::PartialOrderElement::smallers";
 val_t metamodel___partial_order___PartialOrderElement___smallers(val_t p0){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -1267,7 +1295,7 @@ val_t metamodel___partial_order___PartialOrderElement___smallers(val_t p0){
   } else {
     nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
   }
-  /* ../lib/standard/kernel.nit:232 */
+  /* ../lib/standard/kernel.nit:235 */
   REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
   /* metamodel/partial_order.nit:233 */
   if (UNTAG_Bool(REGB1)) {
@@ -1307,6 +1335,7 @@ val_t metamodel___partial_order___PartialOrderElement___smallers(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___linear_extension[] = "partial_order::PartialOrderElement::linear_extension";
 val_t metamodel___partial_order___PartialOrderElement___linear_extension(val_t p0){
   struct {struct stack_frame_t me; val_t MORE_REG[9];} fra;
   val_t REGB0;
@@ -1341,7 +1370,7 @@ val_t metamodel___partial_order___PartialOrderElement___linear_extension(val_t p
   } else {
     REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
@@ -1383,7 +1412,7 @@ val_t metamodel___partial_order___PartialOrderElement___linear_extension(val_t p
       } else {
         nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
       }
-      /* ../lib/standard/kernel.nit:232 */
+      /* ../lib/standard/kernel.nit:235 */
       REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
       /* ../lib/standard/collection/array.nit:272 */
       if (UNTAG_Bool(REGB1)) {
@@ -1427,7 +1456,7 @@ val_t metamodel___partial_order___PartialOrderElement___linear_extension(val_t p
           } else {
             nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
           }
-          /* ../lib/standard/kernel.nit:232 */
+          /* ../lib/standard/kernel.nit:235 */
           REGB2 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB2));
           /* ../lib/standard/collection/array.nit:272 */
           if (UNTAG_Bool(REGB2)) {
@@ -1446,7 +1475,7 @@ val_t metamodel___partial_order___PartialOrderElement___linear_extension(val_t p
             }
             /* ../lib/standard/collection/array.nit:274 */
             REGB2 = TAG_Int(1);
-            /* ../lib/standard/kernel.nit:235 */
+            /* ../lib/standard/kernel.nit:238 */
             REGB2 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB2));
             /* ../lib/standard/collection/array.nit:274 */
             REGB1 = REGB2;
@@ -1466,7 +1495,7 @@ val_t metamodel___partial_order___PartialOrderElement___linear_extension(val_t p
         fra.me.REG[3] = fra.me.REG[6];
         /* ../lib/standard/collection/array.nit:274 */
         REGB1 = TAG_Int(1);
-        /* ../lib/standard/kernel.nit:235 */
+        /* ../lib/standard/kernel.nit:238 */
         REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
         /* ../lib/standard/collection/array.nit:274 */
         REGB0 = REGB1;
@@ -1491,6 +1520,7 @@ val_t metamodel___partial_order___PartialOrderElement___linear_extension(val_t p
   stack_frame_head = fra.me.prev;
   return fra.me.REG[1];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___reverse_linear_extension[] = "partial_order::PartialOrderElement::reverse_linear_extension";
 val_t metamodel___partial_order___PartialOrderElement___reverse_linear_extension(val_t p0){
   struct {struct stack_frame_t me; val_t MORE_REG[6];} fra;
   val_t REGB0;
@@ -1521,7 +1551,7 @@ val_t metamodel___partial_order___PartialOrderElement___reverse_linear_extension
   } else {
     REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
@@ -1558,7 +1588,7 @@ val_t metamodel___partial_order___PartialOrderElement___reverse_linear_extension
       } else {
         nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
       }
-      /* ../lib/standard/kernel.nit:232 */
+      /* ../lib/standard/kernel.nit:235 */
       REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
       /* ../lib/standard/collection/array.nit:272 */
       if (UNTAG_Bool(REGB1)) {
@@ -1577,7 +1607,7 @@ val_t metamodel___partial_order___PartialOrderElement___reverse_linear_extension
         CALL_standard___collection___abstract_collection___SimpleCollection___add_all(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[5]);
         /* ../lib/standard/collection/array.nit:274 */
         REGB1 = TAG_Int(1);
-        /* ../lib/standard/kernel.nit:235 */
+        /* ../lib/standard/kernel.nit:238 */
         REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
         /* ../lib/standard/collection/array.nit:274 */
         REGB0 = REGB1;
@@ -1606,6 +1636,7 @@ val_t metamodel___partial_order___PartialOrderElement___reverse_linear_extension
   stack_frame_head = fra.me.prev;
   return fra.me.REG[1];
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement_____l[] = "partial_order::PartialOrderElement::<";
 val_t metamodel___partial_order___PartialOrderElement_____l(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
@@ -1634,6 +1665,7 @@ val_t metamodel___partial_order___PartialOrderElement_____l(val_t p0, val_t p1){
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement_____leq[] = "partial_order::PartialOrderElement::<=";
 val_t metamodel___partial_order___PartialOrderElement_____leq(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -1665,7 +1697,7 @@ val_t metamodel___partial_order___PartialOrderElement_____leq(val_t p0, val_t p1
     REGB0 = REGB1;
   }
   if (UNTAG_Bool(REGB0)) {
-    REGB0 = TAG_Bool(true);
+    REGB0 = TAG_Bool(1);
   } else {
     REGB1 = TAG_Bool(ATTR_metamodel___partial_order___PartialOrderElement____greaters(fra.me.REG[0])!=NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
@@ -1681,6 +1713,7 @@ val_t metamodel___partial_order___PartialOrderElement_____leq(val_t p0, val_t p1
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement_____g[] = "partial_order::PartialOrderElement::>";
 val_t metamodel___partial_order___PartialOrderElement_____g(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -1717,6 +1750,7 @@ val_t metamodel___partial_order___PartialOrderElement_____g(val_t p0, val_t p1){
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement_____geq[] = "partial_order::PartialOrderElement::>=";
 val_t metamodel___partial_order___PartialOrderElement_____geq(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -1748,7 +1782,7 @@ val_t metamodel___partial_order___PartialOrderElement_____geq(val_t p0, val_t p1
     REGB0 = REGB1;
   }
   if (UNTAG_Bool(REGB0)) {
-    REGB0 = TAG_Bool(true);
+    REGB0 = TAG_Bool(1);
   } else {
     REGB1 = TAG_Bool(ATTR_metamodel___partial_order___PartialOrderElement____order(fra.me.REG[0])!=NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
@@ -1771,6 +1805,7 @@ val_t metamodel___partial_order___PartialOrderElement_____geq(val_t p0, val_t p1
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___register_direct_smallers[] = "partial_order::PartialOrderElement::register_direct_smallers";
 void metamodel___partial_order___PartialOrderElement___register_direct_smallers(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
@@ -1797,6 +1832,7 @@ void metamodel___partial_order___PartialOrderElement___register_direct_smallers(
   stack_frame_head = fra.me.prev;
   return;
 }
+static const char LOCATE_metamodel___partial_order___PartialOrderElement___init[] = "partial_order::PartialOrderElement::init";
 void metamodel___partial_order___PartialOrderElement___init(val_t p0, val_t p1, val_t p2, val_t p3, int* init_table){
   int itpos1 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_metamodel___partial_order___PartialOrderElement].i;
   struct {struct stack_frame_t me; val_t MORE_REG[6];} fra;
@@ -1873,7 +1909,7 @@ void metamodel___partial_order___PartialOrderElement___init(val_t p0, val_t p1,
     } else {
       nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
     }
-    /* ../lib/standard/kernel.nit:232 */
+    /* ../lib/standard/kernel.nit:235 */
     REGB2 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB2));
     /* ../lib/standard/collection/array.nit:272 */
     if (UNTAG_Bool(REGB2)) {
@@ -1901,14 +1937,14 @@ void metamodel___partial_order___PartialOrderElement___init(val_t p0, val_t p1,
       } else {
         nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
       }
-      /* ../lib/standard/kernel.nit:233 */
+      /* ../lib/standard/kernel.nit:236 */
       REGB2 = TAG_Bool(UNTAG_Int(REGB2)>=UNTAG_Int(REGB0));
       /* metamodel/partial_order.nit:331 */
       if (UNTAG_Bool(REGB2)) {
         /* metamodel/partial_order.nit:332 */
         REGB2 = CALL_metamodel___partial_order___PartialOrderElement___rank(fra.me.REG[5])(fra.me.REG[5]);
         REGB3 = TAG_Int(1);
-        /* ../lib/standard/kernel.nit:235 */
+        /* ../lib/standard/kernel.nit:238 */
         REGB3 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB3));
         /* metamodel/partial_order.nit:332 */
         REGB0 = REGB3;
@@ -1920,7 +1956,7 @@ void metamodel___partial_order___PartialOrderElement___init(val_t p0, val_t p1,
       CALL_standard___collection___abstract_collection___Collection___iterate(fra.me.REG[5])(fra.me.REG[5], (&(fra.me)), ((fun_t)OC_metamodel___partial_order___PartialOrderElement___init_1));
       /* ../lib/standard/collection/array.nit:274 */
       REGB3 = TAG_Int(1);
-      /* ../lib/standard/kernel.nit:235 */
+      /* ../lib/standard/kernel.nit:238 */
       REGB3 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB3));
       /* ../lib/standard/collection/array.nit:274 */
       REGB1 = REGB3;