c_src: update for 0.4
[nit.git] / c_src / inheritance._sep.c
index e6d23a9..6d2003f 100644 (file)
 /* This C file is generated by NIT to compile module inheritance. */
 #include "inheritance._sep.h"
-val_t inheritance___MMModule___type_any(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 24, LOCATE_inheritance___MMModule___type_any};
-  static val_t once_value_1; static int once_bool_1; /* Once value for variable[3]*/
-    static val_t once_value_2 = NIT_NULL; /* Once value for string variable[3]*/
-  val_t variable[4];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Local variable */
-  /* Register variable[3]: Once expression result */
-  if (once_bool_1) variable[3] = once_value_1;
-  else {
-    /* Register variable[3]: Once String constant */
-    if (once_value_2 != NIT_NULL) variable[3] = once_value_2;
-    else {
-      variable[3] = NEW_String_string___String___with_native(BOX_NativeString("Object"), TAG_Int(6)) /*new String*/;
-      once_value_2 = variable[3];
-    }
-    /* Register variable[3]: Result */
-    /* Register variable[3]: Result */
-    variable[3] = CALL_symbol___String___to_symbol(variable[3])(variable[3]) /*String::to_symbol*/;
-    once_value_1 = variable[3];
-    once_bool_1 = true;
-  }
-  /* Register variable[3]: Result */
-  /* Register variable[3]: Result */
-  variable[3] = CALL_abstractmetamodel___MMModule___class_by_name(variable[0])(variable[0], variable[3]) /*MMModule::class_by_name*/;
-  variable[2] = variable[3];
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMLocalClass___get_type( variable[2] /*c_name*/)( variable[2] /*c_name*/) /*MMLocalClass::get_type*/;
-  variable[1] = variable[3];
-  goto return_label0;
-  return_label0: while(false);
-  tracehead = trace.prev;
-  return variable[1];
+val_t inheritance___MMModule___type_any(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+  val_t REGB0;
+  val_t tmp;
+  static val_t once_value_1; /* Once value */
+    static val_t once_value_2; /* Once value */
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 24;
+  fra.me.meth = LOCATE_inheritance___MMModule___type_any;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 2;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:27 */
+  if (!once_value_1) {
+    if (!once_value_2) {
+      fra.me.REG[1] = BOX_NativeString("Object");
+      REGB0 = TAG_Int(6);
+      fra.me.REG[1] = NEW_String_string___String___with_native(fra.me.REG[1], REGB0);
+      once_value_2 = fra.me.REG[1];
+      register_static_object(&once_value_2);
+    } else fra.me.REG[1] = once_value_2;
+    fra.me.REG[1] = fra.me.REG[1];
+    fra.me.REG[1] = CALL_symbol___String___to_symbol(fra.me.REG[1])(fra.me.REG[1]);
+    once_value_1 = fra.me.REG[1];
+    register_static_object(&once_value_1);
+  } else fra.me.REG[1] = once_value_1;
+  fra.me.REG[1] = fra.me.REG[1];
+  fra.me.REG[1] = CALL_abstractmetamodel___MMModule___class_by_name(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+  /* ./metamodel//inheritance.nit:28 */
+  fra.me.REG[1] = CALL_static_type___MMLocalClass___get_type(fra.me.REG[1])(fra.me.REG[1]);
+  goto label3;
+  label3: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[1];
 }
-void inheritance___MMModule___import_global_classes(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 31, LOCATE_inheritance___MMModule___import_global_classes};
-  val_t variable[11];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Local variable */
-  /* Register variable[3]: Result */
-  variable[3] = NEW_HashMap_hash___HashMap___init() /*new HashMap[MMGlobalClass, HashSet[MMLocalClass]]*/;
-  variable[2] = variable[3];
-  /* Register variable[3]: Result */
-  variable[3] = CALL_abstractmetamodel___MMModule___mhe(variable[0])(variable[0]) /*MMModule::mhe*/;
-  /* Register variable[3]: Result */
-  variable[3] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[3] ==  NIT_NULL /*null*/) || ((variable[3] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[3])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[3], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[3])(variable[3],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[3])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMModule___import_global_classes, LOCATE_inheritance, 35); nit_exit(1);}
-  /* Register variable[3]: Result */
-  variable[3] = CALL_abstractmetamodel___MMModule___mhe(variable[0])(variable[0]) /*MMModule::mhe*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_partial_order___PartialOrderElement___direct_greaters(variable[3])(variable[3]) /*PartialOrderElement::direct_greaters*/;
-  /* Register variable[3]: For iterator */
-  variable[3] = CALL_abstract_collection___Collection___iterator(variable[3])(variable[3]) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[4]: For 'is_ok' result */
-    variable[4] = CALL_abstract_collection___Iterator___is_ok(variable[3])(variable[3]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[4])) break; /*for*/
-    variable[4] = CALL_abstract_collection___Iterator___item(variable[3])(variable[3]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[5]: Local variable */
-    variable[5] = variable[4];
-    /* Register variable[6]: Result */
-    variable[6] = CALL_abstractmetamodel___MMModule___global_classes( variable[5] /*mod*/)( variable[5] /*mod*/) /*MMModule::global_classes*/;
-    /* Register variable[6]: For iterator */
-    variable[6] = CALL_abstract_collection___Collection___iterator(variable[6])(variable[6]) /*AbstractArrayRead::iterator*/;
-    while (true) { /*for*/
-      /* Register variable[7]: For 'is_ok' result */
-      variable[7] = CALL_abstract_collection___Iterator___is_ok(variable[6])(variable[6]) /*ArrayIterator::is_ok*/;
-      if (!UNTAG_Bool(variable[7])) break; /*for*/
-      variable[7] = CALL_abstract_collection___Iterator___item(variable[6])(variable[6]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-      /* Register variable[8]: Local variable */
-      variable[8] = variable[7];
-      /* Register variable[9]: Result */
-      variable[9] = CALL_abstractmetamodel___MMModule___global_classes(variable[0])(variable[0]) /*MMModule::global_classes*/;
-      /* Register variable[9]: Result */
-      variable[9] = CALL_abstract_collection___Collection___has(variable[9])(variable[9],  variable[8] /*glob*/) /*AbstractArrayRead::has*/;
-      if (UNTAG_Bool(variable[9])) { /*if*/
-        goto continue_5;
+void inheritance___MMModule___import_global_classes(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 31;
+  fra.me.meth = LOCATE_inheritance___MMModule___import_global_classes;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 4;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:34 */
+  fra.me.REG[1] = NEW_HashMap_hash_collection___HashMap___init();
+  /* ./metamodel//inheritance.nit:35 */
+  fra.me.REG[1] = CALL_abstractmetamodel___MMModule___mhe(fra.me.REG[0])(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(false);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
+      REGB0 = REGB1;
+    }
+  }
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 35);
+  }
+  /* ./metamodel//inheritance.nit:36 */
+  fra.me.REG[1] = CALL_abstractmetamodel___MMModule___mhe(fra.me.REG[0])(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_inheritance, 36);
+  }
+  fra.me.REG[1] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[1])(fra.me.REG[1]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[1]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[2] = ATTR_array___Array____items(fra.me.REG[1]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[1]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
       }
-      /* Register variable[9]: Result */
-      variable[9] = ATTR_abstractmetamodel___MMModule____global_classes(variable[0]) /*MMModule::_global_classes*/;
-      CALL_abstract_collection___SimpleCollection___add(variable[9])(variable[9],  variable[8] /*glob*/) /*AbstractArray::add*/;
-      /* Register variable[9]: Result */
-      variable[9] = ATTR_abstractmetamodel___MMModule____global_class_by_name(variable[0]) /*MMModule::_global_class_by_name*/;
-      /* Register variable[10]: Result */
-      variable[10] = CALL_abstractmetamodel___MMGlobalClass___name( variable[8] /*glob*/)( variable[8] /*glob*/) /*MMGlobalClass::name*/;
-      CALL_abstract_collection___Map_____braeq(variable[9])(variable[9], variable[10],  variable[8] /*glob*/) /*Map::[]=*/;
-      continue_5: while(0);
-      CALL_abstract_collection___Iterator___next(variable[6])(variable[6]) /*ArrayIterator::next*/;
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[3] = ((Nit_NativeArray)fra.me.REG[2])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:37 */
+      fra.me.REG[3] = CALL_abstractmetamodel___MMModule___global_classes(fra.me.REG[3])(fra.me.REG[3]);
+      CALL_abstract_collection___Collection___iterate(fra.me.REG[3])(fra.me.REG[3], (&(fra.me)), ((fun_t)OC_inheritance___MMModule___import_global_classes_1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label3;
     }
-    break_5: while(0);
-    continue_4: while(0);
-    CALL_abstract_collection___Iterator___next(variable[3])(variable[3]) /*ArrayIterator::next*/;
   }
-  break_4: while(0);
-  return_label3: while(false);
-  tracehead = trace.prev;
+  label3: while(0);
+  stack_frame_head = fra.me.prev;
   return;
 }
-void inheritance___MMModule___import_local_classes(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 46, LOCATE_inheritance___MMModule___import_local_classes};
-  val_t variable[7];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Result */
-  variable[2] = ATTR_abstractmetamodel___MMModule____global_classes(variable[0]) /*MMModule::_global_classes*/;
-  /* Register variable[2]: For iterator */
-  variable[2] = CALL_abstract_collection___Collection___iterator(variable[2])(variable[2]) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[3]: For 'is_ok' result */
-    variable[3] = CALL_abstract_collection___Iterator___is_ok(variable[2])(variable[2]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[3])) break; /*for*/
-    variable[3] = CALL_abstract_collection___Iterator___item(variable[2])(variable[2]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[4]: Local variable */
-    variable[4] = variable[3];
-    /* Register variable[5]: Result */
-    variable[5] = ATTR_abstractmetamodel___MMModule____local_class_by_global(variable[0]) /*MMModule::_local_class_by_global*/;
-    /* Register variable[5]: Result */
-    variable[5] = CALL_abstract_collection___MapRead___has_key(variable[5])(variable[5],  variable[4] /*g*/) /*MapRead::has_key*/;
-    if (UNTAG_Bool(variable[5])) { /*if*/
-      goto continue_7;
-    }
-    /* Register variable[5]: Local variable */
-    /* Register variable[6]: Result */
-    variable[6] = NEW_MMImplicitLocalClass_inheritance___MMImplicitLocalClass___init(variable[0],  variable[4] /*g*/) /*new MMImplicitLocalClass*/;
-    variable[5] = variable[6];
-    continue_7: while(0);
-    CALL_abstract_collection___Iterator___next(variable[2])(variable[2]) /*ArrayIterator::next*/;
-  }
-  break_7: while(0);
-  return_label6: while(false);
-  tracehead = trace.prev;
+      void OC_inheritance___MMModule___import_global_classes_1(struct stack_frame_t *closctx, val_t p0){
+        struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
+        val_t REGB0;
+        val_t tmp;
+        fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+        fra.me.file = LOCATE_inheritance;
+        fra.me.line = 0;
+        fra.me.meth = LOCATE_inheritance___MMModule___import_global_classes;
+        fra.me.has_broke = 0;
+        fra.me.REG_size = 3;
+        fra.me.REG[0] = NIT_NULL;
+        fra.me.REG[1] = NIT_NULL;
+        fra.me.REG[2] = NIT_NULL;
+        fra.me.REG[0] = p0;
+        /* ./metamodel//inheritance.nit:38 */
+        fra.me.REG[1] = CALL_abstractmetamodel___MMModule___global_classes(closctx->REG[0])(closctx->REG[0]);
+        REGB0 = CALL_abstract_collection___Collection___has(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[0]);
+        if (UNTAG_Bool(REGB0)) {
+          goto label2;
+        }
+        /* ./metamodel//inheritance.nit:39 */
+        REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMModule____global_classes(closctx->REG[0])!=NIT_NULL);
+        if (UNTAG_Bool(REGB0)) {
+        } else {
+          nit_abort("Uninitialized attribute %s", "_global_classes", LOCATE_inheritance, 39);
+        }
+        fra.me.REG[1] = ATTR_abstractmetamodel___MMModule____global_classes(closctx->REG[0]);
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[0]);
+        /* ./metamodel//inheritance.nit:40 */
+        REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMModule____global_class_by_name(closctx->REG[0])!=NIT_NULL);
+        if (UNTAG_Bool(REGB0)) {
+        } else {
+          nit_abort("Uninitialized attribute %s", "_global_class_by_name", LOCATE_inheritance, 40);
+        }
+        fra.me.REG[1] = ATTR_abstractmetamodel___MMModule____global_class_by_name(closctx->REG[0]);
+        fra.me.REG[2] = CALL_abstractmetamodel___MMGlobalClass___name(fra.me.REG[0])(fra.me.REG[0]);
+        CALL_abstract_collection___Map_____braeq(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2], fra.me.REG[0]);
+        label2: while(0);
+        stack_frame_head = fra.me.prev;
+        return;
+      }
+void inheritance___MMModule___import_local_classes(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+  val_t REGB0;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 46;
+  fra.me.meth = LOCATE_inheritance___MMModule___import_local_classes;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 2;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:49 */
+  REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMModule____global_classes(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_global_classes", LOCATE_inheritance, 49);
+  }
+  fra.me.REG[1] = ATTR_abstractmetamodel___MMModule____global_classes(fra.me.REG[0]);
+  CALL_abstract_collection___Collection___iterate(fra.me.REG[1])(fra.me.REG[1], (&(fra.me)), ((fun_t)OC_inheritance___MMModule___import_local_classes_1));
+  stack_frame_head = fra.me.prev;
   return;
 }
-val_t inheritance___MMLocalClass_____bra(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 194, LOCATE_inheritance___MMLocalClass_____bra};
-  val_t variable[4];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(variable[0]) /*MMLocalClass::_local_property_by_global*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_abstract_collection___MapRead___has_key(variable[3])(variable[3],  variable[1] /*glob*/) /*MapRead::has_key*/;
-  if (UNTAG_Bool(variable[3])) { /*if*/
-    /* Register variable[3]: Result */
-    variable[3] = ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(variable[0]) /*MMLocalClass::_local_property_by_global*/;
-    /* Register variable[3]: Result */
-    variable[3] = CALL_abstract_collection___MapRead_____bra(variable[3])(variable[3],  variable[1] /*glob*/) /*MapRead::[]*/;
-    variable[2] = variable[3];
-    goto return_label8;
-  } else { /*if*/
-    /* Register variable[3]: Result */
-    variable[3] = CALL_abstractmetamodel___MMLocalClass___has_global_property(variable[0])(variable[0],  variable[1] /*glob*/) /*MMLocalClass::has_global_property*/;
-    if (UNTAG_Bool(variable[3])) { /*if*/
-      /* Register variable[3]: Result */
-      variable[3] = CALL_inheritance___MMLocalClass___inherit_local_property(variable[0])(variable[0],  variable[1] /*glob*/) /*MMLocalClass::inherit_local_property*/;
-      variable[2] = variable[3];
-      goto return_label8;
-    } else { /*if*/
-      fprintf(stderr, "Aborted"); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass_____bra, LOCATE_inheritance, 201); nit_exit(1);
+  void OC_inheritance___MMModule___import_local_classes_1(struct stack_frame_t *closctx, val_t p0, struct stack_frame_t *closctx_param, fun_t clos_fun0){
+    struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+    val_t REGB0;
+    fun_t CREG[1];
+    val_t tmp;
+    fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+    fra.me.file = LOCATE_inheritance;
+    fra.me.line = 0;
+    fra.me.meth = LOCATE_inheritance___MMModule___import_local_classes;
+    fra.me.has_broke = 0;
+    fra.me.REG_size = 2;
+    fra.me.REG[0] = NIT_NULL;
+    fra.me.REG[1] = NIT_NULL;
+    fra.me.closure_ctx = closctx_param;
+    fra.me.closure_funs = CREG;
+    fra.me.REG[0] = p0;
+    CREG[0] = clos_fun0;
+    /* ./metamodel//inheritance.nit:50 */
+    REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMModule____local_class_by_global(closctx->REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_local_class_by_global", LOCATE_inheritance, 50);
     }
+    fra.me.REG[1] = ATTR_abstractmetamodel___MMModule____local_class_by_global(closctx->REG[0]);
+    REGB0 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[0]);
+    if (UNTAG_Bool(REGB0)) {
+      goto label2;
+    }
+    /* ./metamodel//inheritance.nit:51 */
+    fra.me.REG[0] = NEW_MMImplicitLocalClass_inheritance___MMImplicitLocalClass___init(closctx->REG[0], fra.me.REG[0]);
+    label2: while(0);
+    stack_frame_head = fra.me.prev;
+    return;
+  }
+void inheritance___MMLocalClass___compute_super_classes(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+      static val_t once_value_2; /* Once value */
+      static val_t once_value_3; /* Once value */
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 64;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___compute_super_classes;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 4;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:67 */
+  REGB0 = CALL_inheritance___MMLocalClass___computed_super_classes(fra.me.REG[0])(fra.me.REG[0]);
+  if (UNTAG_Bool(REGB0)) {
+    /* ./metamodel//inheritance.nit:69 */
+    goto label1;
+  } else {
+    /* ./metamodel//inheritance.nit:70 */
+    REGB0 = TAG_Bool(ATTR_inheritance___MMLocalClass____computing_super(fra.me.REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_computing_super", LOCATE_inheritance, 70);
+    }
+    REGB0 = ATTR_inheritance___MMLocalClass____computing_super(fra.me.REG[0]);
+    if (UNTAG_Bool(REGB0)) {
+      /* ./metamodel//inheritance.nit:71 */
+      fra.me.REG[1] = CALL_file___Object___stderr(fra.me.REG[0])(fra.me.REG[0]);
+      REGB0 = TAG_Int(3);
+      fra.me.REG[2] = NEW_Array_array___Array___with_capacity(REGB0);
+      if (!once_value_2) {
+        fra.me.REG[3] = BOX_NativeString("Fatal error: Inheritance loop for class ");
+        REGB0 = TAG_Int(40);
+        fra.me.REG[3] = NEW_String_string___String___with_native(fra.me.REG[3], REGB0);
+        once_value_2 = fra.me.REG[3];
+        register_static_object(&once_value_2);
+      } else fra.me.REG[3] = once_value_2;
+      fra.me.REG[3] = fra.me.REG[3];
+      CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
+      fra.me.REG[3] = CALL_string___Object___to_s(fra.me.REG[0])(fra.me.REG[0]);
+      CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
+      if (!once_value_3) {
+        fra.me.REG[3] = BOX_NativeString("\n");
+        REGB0 = TAG_Int(1);
+        fra.me.REG[3] = NEW_String_string___String___with_native(fra.me.REG[3], REGB0);
+        once_value_3 = fra.me.REG[3];
+        register_static_object(&once_value_3);
+      } else fra.me.REG[3] = once_value_3;
+      fra.me.REG[3] = fra.me.REG[3];
+      CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
+      fra.me.REG[2] = CALL_string___Object___to_s(fra.me.REG[2])(fra.me.REG[2]);
+      CALL_stream___OStream___write(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2]);
+      /* ./metamodel//inheritance.nit:72 */
+      REGB0 = TAG_Int(1);
+      CALL_kernel___Object___exit(fra.me.REG[0])(fra.me.REG[0], REGB0);
+    }
+  }
+  /* ./metamodel//inheritance.nit:74 */
+  REGB0 = TAG_Bool(true);
+  ATTR_inheritance___MMLocalClass____computing_super(fra.me.REG[0]) = REGB0;
+  /* ./metamodel//inheritance.nit:76 */
+  fra.me.REG[2] = NEW_Array_array___Array___init();
+  /* ./metamodel//inheritance.nit:77 */
+  CALL_inheritance___MMLocalClass___add_explicit_classes(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+  /* ./metamodel//inheritance.nit:78 */
+  CALL_inheritance___MMLocalClass___add_super_classes(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+  /* ./metamodel//inheritance.nit:79 */
+  CALL_inheritance___MMLocalClass___add_default_any_class(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+  /* ./metamodel//inheritance.nit:80 */
+  CALL_inheritance___MMLocalClass___compute_super_parents(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+  /* ./metamodel//inheritance.nit:81 */
+  fra.me.REG[1] = NEW_HashSet_hash_collection___HashSet___init();
+  /* ./metamodel//inheritance.nit:82 */
+  CALL_abstract_collection___SimpleCollection___add_all(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2]);
+  /* ./metamodel//inheritance.nit:83 */
+  fra.me.REG[1] = CALL_array___Collection___to_a(fra.me.REG[1])(fra.me.REG[1]);
+  /* ./metamodel//inheritance.nit:84 */
+  fra.me.REG[2] = CALL_abstractmetamodel___MMLocalClass___mmmodule(fra.me.REG[0])(fra.me.REG[0]);
+  CALL_abstractmetamodel___MMModule___set_supers_class(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[0], fra.me.REG[1]);
+  /* ./metamodel//inheritance.nit:85 */
+  fra.me.REG[1] = ATTR_abstractmetamodel___MMLocalClass____crhe(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(false);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
+      REGB0 = REGB1;
+    }
+  }
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 85);
   }
-  return_label8: while(false);
-  tracehead = trace.prev;
-  return variable[2];
+  /* ./metamodel//inheritance.nit:86 */
+  fra.me.REG[1] = ATTR_abstractmetamodel___MMLocalClass____cshe(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(false);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
+      REGB0 = REGB1;
+    }
+  }
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 86);
+  }
+  /* ./metamodel//inheritance.nit:87 */
+  REGB0 = TAG_Bool(false);
+  ATTR_inheritance___MMLocalClass____computing_super(fra.me.REG[0]) = REGB0;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return;
 }
-void inheritance___MMLocalClass___compute_super_classes(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 64, LOCATE_inheritance___MMLocalClass___compute_super_classes};
-      static val_t once_value_10 = NIT_NULL; /* Once value for string variable[4]*/
-      static val_t once_value_11 = NIT_NULL; /* Once value for string variable[4]*/
-  val_t variable[6];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Result */
-  variable[2] = CALL_inheritance___MMLocalClass___computed_super_classes(variable[0])(variable[0]) /*MMLocalClass::computed_super_classes*/;
-  if (UNTAG_Bool(variable[2])) { /*if*/
-    goto return_label9;
-  } else { /*if*/
-    /* Register variable[2]: Result */
-    variable[2] = ATTR_inheritance___MMLocalClass____computing_super(variable[0]) /*MMLocalClass::_computing_super*/;
-    if (UNTAG_Bool(variable[2])) { /*if*/
-      /* Register variable[2]: Result */
-      variable[2] = CALL_file___Object___stderr(variable[0])(variable[0]) /*Object::stderr*/;
-      variable[3] = NEW_Array_array___Array___with_capacity(TAG_Int(3)) /*new Array[String]*/ /* Ensure var: Array (for super-string)*/;
-      /* Register variable[4]: Once String constant */
-      if (once_value_10 != NIT_NULL) variable[4] = once_value_10;
-      else {
-        variable[4] = NEW_String_string___String___with_native(BOX_NativeString("Fatal error: Inheritance loop for class "), TAG_Int(40)) /*new String*/;
-        once_value_10 = variable[4];
-      }
-      /* Register variable[4]: Result */
-      /* Ensure var variable[4]: super-string element*/
-      CALL_abstract_collection___SimpleCollection___add(variable[3])(variable[3], variable[4]) /*AbstractArray::add*/;
-      /* Ensure var variable[0]: super-string element*/
-      CALL_abstract_collection___SimpleCollection___add(variable[3])(variable[3], CALL_string___Object___to_s(variable[0])(variable[0]) /*Object::to_s*/) /*AbstractArray::add*/;
-      /* Register variable[4]: Once String constant */
-      if (once_value_11 != NIT_NULL) variable[4] = once_value_11;
-      else {
-        variable[4] = NEW_String_string___String___with_native(BOX_NativeString("\n"), TAG_Int(1)) /*new String*/;
-        once_value_11 = variable[4];
+void inheritance___MMLocalClass___compute_ancestors(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
+  val_t REGB0;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 90;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___compute_ancestors;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 3;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:93 */
+  REGB0 = CALL_inheritance___MMLocalClass___computed_super_classes(fra.me.REG[0])(fra.me.REG[0]);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 93);
+  }
+  /* ./metamodel//inheritance.nit:94 */
+  REGB0 = CALL_inheritance___MMLocalClass___computed_ancestors(fra.me.REG[0])(fra.me.REG[0]);
+  if (UNTAG_Bool(REGB0)) {
+    goto label1;
+  }
+  /* ./metamodel//inheritance.nit:96 */
+  fra.me.REG[1] = CALL_inheritance___MMLocalClass___build_ancestors(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[1] = CALL_inheritance___MMLocalClass___group_ancestors(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+  /* ./metamodel//inheritance.nit:97 */
+  fra.me.REG[2] = NEW_HashMap_hash_collection___HashMap___init();
+  ATTR_static_type___MMLocalClass____ancestors(fra.me.REG[0]) = fra.me.REG[2];
+  CALL_abstract_collection___Collection___iterate(fra.me.REG[1])(fra.me.REG[1], (&(fra.me)), ((fun_t)OC_inheritance___MMLocalClass___compute_ancestors_2));
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return;
+}
+  void OC_inheritance___MMLocalClass___compute_ancestors_2(struct stack_frame_t *closctx, val_t p0, struct stack_frame_t *closctx_param, fun_t clos_fun0){
+    struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+    val_t REGB0;
+    val_t REGB1;
+    val_t REGB2;
+    fun_t CREG[1];
+    val_t tmp;
+    /* ./metamodel//inheritance.nit:99 */
+    fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+    fra.me.file = LOCATE_inheritance;
+    fra.me.line = 0;
+    fra.me.meth = LOCATE_inheritance___MMLocalClass___compute_ancestors;
+    fra.me.has_broke = 0;
+    fra.me.REG_size = 2;
+    fra.me.REG[0] = NIT_NULL;
+    fra.me.REG[1] = NIT_NULL;
+    fra.me.closure_ctx = closctx_param;
+    fra.me.closure_funs = CREG;
+    fra.me.REG[0] = p0;
+    CREG[0] = clos_fun0;
+    /* ./metamodel//inheritance.nit:100 */
+    REGB0 = CALL_abstract_collection___Collection___length(fra.me.REG[0])(fra.me.REG[0]);
+    REGB1 = TAG_Int(1);
+    REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1));
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      /* ./../lib/standard//kernel.nit:207 */
+      REGB1 = TAG_Bool((REGB0)==(REGB1));
+      /* ./metamodel//inheritance.nit:100 */
+      REGB2 = REGB1;
+    }
+    if (UNTAG_Bool(REGB2)) {
+      /* ./metamodel//inheritance.nit:101 */
+      fra.me.REG[1] = CALL_abstract_collection___Collection___first(fra.me.REG[0])(fra.me.REG[0]);
+      CALL_static_type___MMLocalClass___add_ancestor(closctx->REG[0])(closctx->REG[0], fra.me.REG[1]);
+    } else {
+      /* ./metamodel//inheritance.nit:103 */
+      fra.me.REG[1] = CALL_inheritance___MMLocalClass___merge_ancestors(closctx->REG[0])(closctx->REG[0], fra.me.REG[0]);
+      /* ./metamodel//inheritance.nit:104 */
+      fra.me.REG[0] = CALL_inheritance___MMLocalClass___merge_ancestors(closctx->REG[0])(closctx->REG[0], fra.me.REG[0]);
+      CALL_static_type___MMLocalClass___add_ancestor(closctx->REG[0])(closctx->REG[0], fra.me.REG[0]);
+    }
+    stack_frame_head = fra.me.prev;
+    return;
+  }
+void inheritance___MMLocalClass___inherit_global_properties(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[4];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 111;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___inherit_global_properties;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 5;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:114 */
+  REGB0 = TAG_Bool(ATTR_inheritance___MMLocalClass____are_global_properties_inherited(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_are_global_properties_inherited", LOCATE_inheritance, 114);
+  }
+  REGB0 = ATTR_inheritance___MMLocalClass____are_global_properties_inherited(fra.me.REG[0]);
+  if (UNTAG_Bool(REGB0)) {
+    goto label1;
+  }
+  /* ./metamodel//inheritance.nit:115 */
+  REGB0 = TAG_Bool(true);
+  ATTR_inheritance___MMLocalClass____are_global_properties_inherited(fra.me.REG[0]) = REGB0;
+  /* ./metamodel//inheritance.nit:117 */
+  REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_properties_by_name", LOCATE_inheritance, 117);
+  }
+  fra.me.REG[1] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0]);
+  /* ./metamodel//inheritance.nit:118 */
+  REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_global_properties", LOCATE_inheritance, 118);
+  }
+  fra.me.REG[1] = ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0]);
+  /* ./metamodel//inheritance.nit:119 */
+  fra.me.REG[2] = CALL_abstractmetamodel___MMLocalClass___che(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[2] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[2])(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[3] = ATTR_array___Array____items(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[2]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
       }
-      /* Register variable[4]: Result */
-      /* Ensure var variable[4]: super-string element*/
-      CALL_abstract_collection___SimpleCollection___add(variable[3])(variable[3], variable[4]) /*AbstractArray::add*/;
-      /* Register variable[3]: Result */
-      variable[3] = CALL_string___Object___to_s(variable[3])(variable[3]) /*Object::to_s*/;
-      CALL_stream___OStream___write(variable[2])(variable[2], variable[3]) /*OFStream::write*/;
-      exit(UNTAG_Int( TAG_Int(1)));
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[4] = ((Nit_NativeArray)fra.me.REG[3])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:120 */
+      fra.me.REG[4] = CALL_abstractmetamodel___MMLocalClass___global_properties(fra.me.REG[4])(fra.me.REG[4]);
+      CALL_abstract_collection___Collection___iterate(fra.me.REG[4])(fra.me.REG[4], (&(fra.me)), ((fun_t)OC_inheritance___MMLocalClass___inherit_global_properties_2));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label4;
     }
   }
-  ATTR_inheritance___MMLocalClass____computing_super(variable[0]) /*MMLocalClass::_computing_super*/ =  TAG_Bool(true);
-  /* Register variable[2]: Local variable */
-  /* Register variable[3]: Result */
-  variable[3] = NEW_Array_array___Array___init() /*new Array[MMLocalClass]*/;
-  variable[2] = variable[3];
-  CALL_inheritance___MMLocalClass___add_explicit_classes(variable[0])(variable[0],  variable[2] /*supers*/) /*MMLocalClass::add_explicit_classes*/;
-  CALL_inheritance___MMLocalClass___add_super_classes(variable[0])(variable[0],  variable[2] /*supers*/) /*MMLocalClass::add_super_classes*/;
-  CALL_inheritance___MMLocalClass___add_default_any_class(variable[0])(variable[0],  variable[2] /*supers*/) /*MMLocalClass::add_default_any_class*/;
-  CALL_inheritance___MMLocalClass___compute_super_parents(variable[0])(variable[0],  variable[2] /*supers*/) /*MMLocalClass::compute_super_parents*/;
-  /* Register variable[3]: Local variable */
-  /* Register variable[4]: Result */
-  variable[4] = NEW_HashSet_hash___HashSet___init() /*new HashSet[MMLocalClass]*/;
-  variable[3] = variable[4];
-  CALL_abstract_collection___SimpleCollection___add_all( variable[3] /*set*/)( variable[3] /*set*/,  variable[2] /*supers*/) /*SimpleCollection::add_all*/;
-  /* Register variable[4]: Local variable */
-  /* Register variable[5]: Result */
-  variable[5] = CALL_array___Collection___to_a( variable[3] /*set*/)( variable[3] /*set*/) /*Collection::to_a*/;
-  variable[4] = variable[5];
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstractmetamodel___MMLocalClass___module(variable[0])(variable[0]) /*MMLocalClass::module*/;
-  CALL_abstractmetamodel___MMModule___set_supers_class(variable[5])(variable[5], variable[0],  variable[4] /*u*/) /*MMModule::set_supers_class*/;
-  /* Register variable[5]: Result */
-  variable[5] = ATTR_abstractmetamodel___MMLocalClass____crhe(variable[0]) /*MMLocalClass::_crhe*/;
-  /* Register variable[5]: Result */
-  variable[5] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[5] ==  NIT_NULL /*null*/) || ((variable[5] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[5])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[5], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[5])(variable[5],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[5])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___compute_super_classes, LOCATE_inheritance, 85); nit_exit(1);}
-  /* Register variable[5]: Result */
-  variable[5] = ATTR_abstractmetamodel___MMLocalClass____cshe(variable[0]) /*MMLocalClass::_cshe*/;
-  /* Register variable[5]: Result */
-  variable[5] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[5] ==  NIT_NULL /*null*/) || ((variable[5] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[5])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[5], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[5])(variable[5],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[5])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___compute_super_classes, LOCATE_inheritance, 86); nit_exit(1);}
-  ATTR_inheritance___MMLocalClass____computing_super(variable[0]) /*MMLocalClass::_computing_super*/ =  TAG_Bool(false);
-  return_label9: while(false);
-  tracehead = trace.prev;
+  label4: while(0);
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
   return;
 }
-void inheritance___MMLocalClass___compute_ancestors(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 90, LOCATE_inheritance___MMLocalClass___compute_ancestors};
-  val_t variable[8];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Result */
-  variable[2] = CALL_inheritance___MMLocalClass___computed_super_classes(variable[0])(variable[0]) /*MMLocalClass::computed_super_classes*/;
-  if (!UNTAG_Bool(variable[2])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___compute_ancestors, LOCATE_inheritance, 93); nit_exit(1);}
-  /* Register variable[2]: Result */
-  variable[2] = CALL_inheritance___MMLocalClass___computed_ancestors(variable[0])(variable[0]) /*MMLocalClass::computed_ancestors*/;
-  if (UNTAG_Bool(variable[2])) { /*if*/
-    goto return_label12;
-  }
-  /* Register variable[2]: Local variable */
-  /* Register variable[3]: Result */
-  variable[3] = CALL_inheritance___MMLocalClass___build_ancestors(variable[0])(variable[0]) /*MMLocalClass::build_ancestors*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_inheritance___MMLocalClass___group_ancestors(variable[0])(variable[0], variable[3]) /*MMLocalClass::group_ancestors*/;
-  variable[2] = variable[3];
-  /* Register variable[3]: Result */
-  variable[3] = NEW_HashMap_hash___HashMap___init() /*new HashMap[MMLocalClass, MMAncestor]*/;
-  ATTR_static_type___MMLocalClass____ancestors(variable[0]) /*MMLocalClass::_ancestors*/ = variable[3];
-  /* Register variable[3]: For iterator */
-  variable[3] = CALL_abstract_collection___Collection___iterator( variable[2] /*ancestors*/)( variable[2] /*ancestors*/) /*MapRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[4]: For 'is_ok' result */
-    variable[4] = CALL_abstract_collection___Iterator___is_ok(variable[3])(variable[3]) /*Iterator::is_ok*/;
-    if (!UNTAG_Bool(variable[4])) break; /*for*/
-    variable[4] = CALL_abstract_collection___Iterator___item(variable[3])(variable[3]) /*Iterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[5]: Local variable */
-    variable[5] = variable[4];
-    /* Register variable[6]: Result */
-    variable[6] = CALL_abstract_collection___Collection___length( variable[5] /*set*/)( variable[5] /*set*/) /*Collection::length*/;
-    /* Register variable[6]: Result */
-    variable[6] = TAG_Bool((variable[6])==( TAG_Int(1)));
-    if (UNTAG_Bool(variable[6])) { /*if*/
-      /* Register variable[6]: Result */
-      variable[6] = CALL_abstract_collection___Collection___first( variable[5] /*set*/)( variable[5] /*set*/) /*Collection::first*/;
-      CALL_static_type___MMLocalClass___add_ancestor(variable[0])(variable[0], variable[6]) /*MMLocalClass::add_ancestor*/;
-    } else { /*if*/
-      /* Register variable[6]: Local variable */
-      /* Register variable[7]: Result */
-      variable[7] = CALL_inheritance___MMLocalClass___merge_ancestors(variable[0])(variable[0],  variable[5] /*set*/) /*MMLocalClass::merge_ancestors*/;
-      variable[6] = variable[7];
-      /* Register variable[7]: Result */
-      variable[7] = CALL_inheritance___MMLocalClass___merge_ancestors(variable[0])(variable[0],  variable[5] /*set*/) /*MMLocalClass::merge_ancestors*/;
-      CALL_static_type___MMLocalClass___add_ancestor(variable[0])(variable[0], variable[7]) /*MMLocalClass::add_ancestor*/;
+      void OC_inheritance___MMLocalClass___inherit_global_properties_2(struct stack_frame_t *closctx, val_t p0){
+        struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
+        val_t REGB0;
+        val_t REGB1;
+        val_t REGB2;
+        val_t tmp;
+        fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+        fra.me.file = LOCATE_inheritance;
+        fra.me.line = 0;
+        fra.me.meth = LOCATE_inheritance___MMLocalClass___inherit_global_properties;
+        fra.me.has_broke = 0;
+        fra.me.REG_size = 3;
+        fra.me.REG[0] = NIT_NULL;
+        fra.me.REG[1] = NIT_NULL;
+        fra.me.REG[2] = NIT_NULL;
+        fra.me.REG[0] = p0;
+        /* ./metamodel//inheritance.nit:121 */
+        REGB0 = CALL_abstract_collection___Collection___has(closctx->REG[1])(closctx->REG[1], fra.me.REG[0]);
+        if (UNTAG_Bool(REGB0)) {
+          goto label3;
+        }
+        /* ./metamodel//inheritance.nit:123 */
+        CALL_abstract_collection___SimpleCollection___add(closctx->REG[1])(closctx->REG[1], fra.me.REG[0]);
+        /* ./metamodel//inheritance.nit:127 */
+        REGB0 = CALL_abstractmetamodel___MMGlobalProperty___is_init(fra.me.REG[0])(fra.me.REG[0]);
+        if (UNTAG_Bool(REGB0)) {
+          fra.me.REG[1] = CALL_abstractmetamodel___MMGlobalProperty___intro(fra.me.REG[0])(fra.me.REG[0]);
+          fra.me.REG[1] = CALL_abstractmetamodel___MMLocalProperty___local_class(fra.me.REG[1])(fra.me.REG[1]);
+          fra.me.REG[1] = CALL_abstractmetamodel___MMLocalClass___global(fra.me.REG[1])(fra.me.REG[1]);
+          fra.me.REG[2] = CALL_abstractmetamodel___MMLocalClass___global(closctx->REG[0])(closctx->REG[0]);
+          REGB0 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[1],fra.me.REG[2]));
+          if (UNTAG_Bool(REGB0)) {
+          } else {
+            REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2]);
+            REGB0 = REGB1;
+          }
+          REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+        } else {
+          REGB1 = TAG_Bool(false);
+          REGB0 = REGB1;
+        }
+        if (UNTAG_Bool(REGB0)) {
+          /* ./metamodel//inheritance.nit:129 */
+          goto label3;
+        }
+        /* ./metamodel//inheritance.nit:133 */
+        fra.me.REG[2] = CALL_abstractmetamodel___MMGlobalProperty___intro(fra.me.REG[0])(fra.me.REG[0]);
+        fra.me.REG[2] = CALL_abstractmetamodel___MMLocalProperty___name(fra.me.REG[2])(fra.me.REG[2]);
+        fra.me.REG[2] = CALL_string___Object___to_s(fra.me.REG[2])(fra.me.REG[2]);
+        REGB0 = TAG_Int(0);
+        REGB0 = CALL_abstract_collection___MapRead_____bra(fra.me.REG[2])(fra.me.REG[2], REGB0);
+        REGB1 = TAG_Char('@');
+        REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1));
+        if (UNTAG_Bool(REGB2)) {
+        } else {
+          /* ./../lib/standard//kernel.nit:347 */
+          REGB1 = TAG_Bool((REGB0)==(REGB1));
+          /* ./metamodel//inheritance.nit:133 */
+          REGB2 = REGB1;
+        }
+        if (UNTAG_Bool(REGB2)) {
+          goto label3;
+        }
+        /* ./metamodel//inheritance.nit:135 */
+        CALL_inheritance___MMLocalClass___make_visible_an_inherited_global_property(closctx->REG[0])(closctx->REG[0], fra.me.REG[0]);
+        label3: while(0);
+        stack_frame_head = fra.me.prev;
+        return;
+      }
+val_t inheritance___MMLocalClass___global_properties(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+  val_t REGB0;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 140;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___global_properties;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 2;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:142 */
+  REGB0 = TAG_Bool(ATTR_inheritance___MMLocalClass____are_global_properties_inherited(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_are_global_properties_inherited", LOCATE_inheritance, 142);
+  }
+  REGB0 = ATTR_inheritance___MMLocalClass____are_global_properties_inherited(fra.me.REG[0]);
+  if (UNTAG_Bool(REGB0)) {
+    REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_global_properties", LOCATE_inheritance, 142);
     }
-    continue_13: while(0);
-    CALL_abstract_collection___Iterator___next(variable[3])(variable[3]) /*Iterator::next*/;
+    fra.me.REG[1] = ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0]);
+    goto label1;
   }
-  break_13: while(0);
-  return_label12: while(false);
-  tracehead = trace.prev;
-  return;
+  /* ./metamodel//inheritance.nit:143 */
+  REGB0 = CALL_inheritance___MMLocalClass___computed_super_classes(fra.me.REG[0])(fra.me.REG[0]);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 143);
+  }
+  /* ./metamodel//inheritance.nit:144 */
+  CALL_inheritance___MMLocalClass___inherit_global_properties(fra.me.REG[0])(fra.me.REG[0]);
+  /* ./metamodel//inheritance.nit:145 */
+  REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_global_properties", LOCATE_inheritance, 145);
+  }
+  fra.me.REG[0] = ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0]);
+  fra.me.REG[1] = fra.me.REG[0];
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[1];
 }
-void inheritance___MMLocalClass___inherit_global_properties(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 109, LOCATE_inheritance___MMLocalClass___inherit_global_properties};
-  val_t variable[12];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Result */
-  variable[2] = ATTR_abstractmetamodel___MMLocalClass____global_properties(variable[0]) /*MMLocalClass::_global_properties*/;
-  /* Register variable[2]: Result */
-  variable[2] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[2] ==  NIT_NULL /*null*/) || ((variable[2] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[2])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[2], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[2])(variable[2],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (UNTAG_Bool(variable[2])) { /*if*/
-    goto return_label14;
-  }
-  /* Register variable[2]: Result */
-  variable[2] = NEW_HashSet_hash___HashSet___init() /*new HashSet[MMGlobalProperty]*/;
-  ATTR_abstractmetamodel___MMLocalClass____global_properties(variable[0]) /*MMLocalClass::_global_properties*/ = variable[2];
-  /* Register variable[2]: Result */
-  variable[2] = NEW_HashMap_hash___HashMap___init() /*new HashMap[Symbol, Array[MMGlobalProperty]]*/;
-  ATTR_abstractmetamodel___MMLocalClass____properties_by_name(variable[0]) /*MMLocalClass::_properties_by_name*/ = variable[2];
-  /* Register variable[2]: Result */
-  variable[2] = NEW_HashMap_hash___HashMap___init() /*new HashMap[MMGlobalProperty, MMLocalProperty]*/;
-  ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(variable[0]) /*MMLocalClass::_local_property_by_global*/ = variable[2];
-  /* Register variable[2]: Local variable */
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(variable[0]) /*MMLocalClass::_properties_by_name*/;
-  variable[2] = variable[3];
-  /* Register variable[3]: Local variable */
-  /* Register variable[4]: Result */
-  variable[4] = ATTR_abstractmetamodel___MMLocalClass____global_properties(variable[0]) /*MMLocalClass::_global_properties*/;
-  variable[3] = variable[4];
-  /* Register variable[4]: Result */
-  variable[4] = CALL_abstractmetamodel___MMLocalClass___che(variable[0])(variable[0]) /*MMLocalClass::che*/;
-  /* Register variable[4]: Result */
-  variable[4] = CALL_partial_order___PartialOrderElement___direct_greaters(variable[4])(variable[4]) /*PartialOrderElement::direct_greaters*/;
-  /* Register variable[4]: For iterator */
-  variable[4] = CALL_abstract_collection___Collection___iterator(variable[4])(variable[4]) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[5]: For 'is_ok' result */
-    variable[5] = CALL_abstract_collection___Iterator___is_ok(variable[4])(variable[4]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[5])) break; /*for*/
-    variable[5] = CALL_abstract_collection___Iterator___item(variable[4])(variable[4]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[6]: Local variable */
-    variable[6] = variable[5];
-    /* Register variable[7]: Result */
-    variable[7] = CALL_abstractmetamodel___MMLocalClass___global_properties( variable[6] /*c*/)( variable[6] /*c*/) /*MMLocalClass::global_properties*/;
-    /* Register variable[7]: For iterator */
-    variable[7] = CALL_abstract_collection___Collection___iterator(variable[7])(variable[7]) /*Collection::iterator*/;
-    while (true) { /*for*/
-      /* Register variable[8]: For 'is_ok' result */
-      variable[8] = CALL_abstract_collection___Iterator___is_ok(variable[7])(variable[7]) /*Iterator::is_ok*/;
-      if (!UNTAG_Bool(variable[8])) break; /*for*/
-      variable[8] = CALL_abstract_collection___Iterator___item(variable[7])(variable[7]) /*Iterator::item*/ /* Ensure var: For item*/;
-      /* Register variable[9]: Local variable */
-      variable[9] = variable[8];
-      /* Register variable[10]: Result */
-      variable[10] = CALL_abstract_collection___Collection___has( variable[3] /*set*/)( variable[3] /*set*/,  variable[9] /*glob*/) /*Collection::has*/;
-      if (UNTAG_Bool(variable[10])) { /*if*/
-        goto continue_16;
+val_t inheritance___MMLocalClass___has_global_property(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[4];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t REGB2;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 148;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___has_global_property;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 5;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:152 */
+  REGB0 = CALL_inheritance___MMLocalClass___computed_super_classes(fra.me.REG[0])(fra.me.REG[0]);
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+    REGB0 = TAG_Bool(false);
+    goto label1;
+  }
+  /* ./metamodel//inheritance.nit:154 */
+  REGB1 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_global_properties", LOCATE_inheritance, 154);
+  }
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0]);
+  /* ./metamodel//inheritance.nit:155 */
+  REGB1 = CALL_abstract_collection___Collection___has(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+  if (UNTAG_Bool(REGB1)) {
+    REGB1 = TAG_Bool(true);
+    REGB0 = REGB1;
+    goto label1;
+  }
+  /* ./metamodel//inheritance.nit:156 */
+  fra.me.REG[0] = CALL_abstractmetamodel___MMLocalClass___che(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[0] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[0])(fra.me.REG[0]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB1 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB2 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB2)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB2 = ATTR_array___AbstractArrayRead____length(fra.me.REG[0]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[3] = ATTR_array___Array____items(fra.me.REG[0]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB2 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB2 = ATTR_array___AbstractArrayRead____length(fra.me.REG[0]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB2 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB2));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB2)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB2 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+      if (UNTAG_Bool(REGB2)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
       }
-      CALL_abstract_collection___SimpleCollection___add( variable[3] /*set*/)( variable[3] /*set*/,  variable[9] /*glob*/) /*SimpleCollection::add*/;
-      /* Register variable[10]: Result */
-      variable[10] = CALL_abstractmetamodel___MMGlobalProperty___is_init( variable[9] /*glob*/)( variable[9] /*glob*/) /*MMGlobalProperty::is_init*/;
-      /* Ensure var variable[10]: Left 'and' operand*/
-      if (UNTAG_Bool(variable[10])) { /* and */
-        /* Register variable[10]: Result */
-        variable[10] = CALL_abstractmetamodel___MMGlobalProperty___intro( variable[9] /*glob*/)( variable[9] /*glob*/) /*MMGlobalProperty::intro*/;
-        /* Register variable[10]: Result */
-        variable[10] = CALL_abstractmetamodel___MMLocalProperty___local_class(variable[10])(variable[10]) /*MMLocalProperty::local_class*/;
-        /* Register variable[10]: Result */
-        variable[10] = CALL_abstractmetamodel___MMLocalClass___global(variable[10])(variable[10]) /*MMLocalClass::global*/;
-        /* Register variable[11]: Result */
-        variable[11] = CALL_abstractmetamodel___MMLocalClass___global(variable[0])(variable[0]) /*MMLocalClass::global*/;
-        /* Register variable[10]: Result */
-        variable[10] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[10] == variable[11]) || ((variable[10] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[10])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[10],variable[11])):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[10])(variable[10], variable[11]) /*Object::==*/)))))));
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[4] = ((Nit_NativeArray)fra.me.REG[3])->val[UNTAG_Int(REGB1)];
+      /* ./metamodel//inheritance.nit:157 */
+      REGB2 = CALL_abstractmetamodel___MMLocalClass___has_global_property(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[1]);
+      if (UNTAG_Bool(REGB2)) {
+        /* ./metamodel//inheritance.nit:158 */
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+        /* ./metamodel//inheritance.nit:159 */
+        REGB2 = TAG_Bool(true);
+        REGB0 = REGB2;
+        goto label1;
       }
-      /* Register variable[10]: Result */
-      if (UNTAG_Bool(variable[10])) { /*if*/
-        goto continue_16;
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB2 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB2 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB2));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = REGB2;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label2;
+    }
+  }
+  label2: while(0);
+  /* ./metamodel//inheritance.nit:162 */
+  REGB1 = TAG_Bool(false);
+  REGB0 = REGB1;
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return REGB0;
+}
+val_t inheritance___MMLocalClass___has_global_property_by_name(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[8];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t REGB2;
+  val_t REGB3;
+  val_t REGB4;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 165;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___has_global_property_by_name;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 9;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[6] = NIT_NULL;
+  fra.me.REG[7] = NIT_NULL;
+  fra.me.REG[8] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:169 */
+  REGB0 = CALL_inheritance___MMLocalClass___computed_super_classes(fra.me.REG[0])(fra.me.REG[0]);
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+    REGB0 = TAG_Bool(false);
+    goto label1;
+  }
+  /* ./metamodel//inheritance.nit:172 */
+  CALL_inheritance___MMLocalClass___compute_super_classes(fra.me.REG[0])(fra.me.REG[0]);
+  /* ./metamodel//inheritance.nit:174 */
+  REGB1 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_properties_by_name", LOCATE_inheritance, 174);
+  }
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0]);
+  REGB1 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+  if (UNTAG_Bool(REGB1)) {
+    /* ./metamodel//inheritance.nit:175 */
+    REGB1 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_properties_by_name", LOCATE_inheritance, 175);
+    }
+    fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0]);
+    fra.me.REG[2] = CALL_abstract_collection___MapRead_____bra(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+    REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      nit_abort("Reciever is null", NULL, LOCATE_inheritance, 175);
+    }
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[2]);
+    /* ./metamodel//inheritance.nit:175 */
+    REGB2 = TAG_Int(1);
+    REGB3 = TAG_Bool(IS_EQUAL_OO(REGB1,REGB2));
+    if (UNTAG_Bool(REGB3)) {
+    } else {
+      /* ./../lib/standard//kernel.nit:207 */
+      REGB2 = TAG_Bool((REGB1)==(REGB2));
+      /* ./metamodel//inheritance.nit:175 */
+      REGB3 = REGB2;
+    }
+    REGB0 = REGB3;
+    goto label1;
+  }
+  /* ./metamodel//inheritance.nit:177 */
+  REGB3 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_global_properties", LOCATE_inheritance, 177);
+  }
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____global_properties(fra.me.REG[0]);
+  /* ./metamodel//inheritance.nit:179 */
+  REGB3 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_properties_by_name", LOCATE_inheritance, 179);
+  }
+  fra.me.REG[3] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0]);
+  REGB3 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+  if (UNTAG_Bool(REGB3)) {
+    /* ./metamodel//inheritance.nit:180 */
+    REGB3 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB3)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_properties_by_name", LOCATE_inheritance, 180);
+    }
+    fra.me.REG[3] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0]);
+    fra.me.REG[3] = CALL_abstract_collection___MapRead_____bra(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+  } else {
+    /* ./metamodel//inheritance.nit:182 */
+    fra.me.REG[4] = NEW_Array_array___Array___init();
+    fra.me.REG[3] = fra.me.REG[4];
+    /* ./metamodel//inheritance.nit:183 */
+    REGB3 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB3)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_properties_by_name", LOCATE_inheritance, 183);
+    }
+    fra.me.REG[4] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0]);
+    CALL_abstract_collection___Map_____braeq(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[1], fra.me.REG[3]);
+  }
+  /* ./metamodel//inheritance.nit:185 */
+  fra.me.REG[4] = CALL_abstractmetamodel___MMLocalClass___che(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[4] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[4])(fra.me.REG[4]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB3 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB2 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
+  if (UNTAG_Bool(REGB2)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB2 = ATTR_array___AbstractArrayRead____length(fra.me.REG[4]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[5] = ATTR_array___Array____items(fra.me.REG[4]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB2 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB2 = ATTR_array___AbstractArrayRead____length(fra.me.REG[4]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB2 = TAG_Bool(UNTAG_Int(REGB3)<UNTAG_Int(REGB2));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB2)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB2 = TAG_Bool(fra.me.REG[5]==NIT_NULL);
+      if (UNTAG_Bool(REGB2)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
       }
-      CALL_inheritance___MMLocalClass___make_visible_an_inherited_global_property(variable[0])(variable[0],  variable[9] /*glob*/) /*MMLocalClass::make_visible_an_inherited_global_property*/;
-      continue_16: while(0);
-      CALL_abstract_collection___Iterator___next(variable[7])(variable[7]) /*Iterator::next*/;
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[6] = ((Nit_NativeArray)fra.me.REG[5])->val[UNTAG_Int(REGB3)];
+      /* ./metamodel//inheritance.nit:186 */
+      REGB2 = CALL_abstractmetamodel___MMLocalClass___has_global_property_by_name(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[1]);
+      if (UNTAG_Bool(REGB2)) {
+        /* ./metamodel//inheritance.nit:187 */
+        fra.me.REG[6] = CALL_abstractmetamodel___MMLocalClass___get_property_by_name(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[1]);
+        /* ./metamodel//inheritance.nit:188 */
+        REGB2 = CALL_abstract_collection___Collection___has(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        REGB2 = TAG_Bool(!UNTAG_Bool(REGB2));
+        if (UNTAG_Bool(REGB2)) {
+          CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        }
+        /* ./metamodel//inheritance.nit:189 */
+        REGB2 = CALL_abstractmetamodel___MMGlobalProperty___is_init(fra.me.REG[6])(fra.me.REG[6]);
+        if (UNTAG_Bool(REGB2)) {
+          fra.me.REG[7] = CALL_abstractmetamodel___MMGlobalProperty___intro(fra.me.REG[6])(fra.me.REG[6]);
+          fra.me.REG[7] = CALL_abstractmetamodel___MMLocalProperty___local_class(fra.me.REG[7])(fra.me.REG[7]);
+          fra.me.REG[7] = CALL_abstractmetamodel___MMLocalClass___global(fra.me.REG[7])(fra.me.REG[7]);
+          fra.me.REG[8] = CALL_abstractmetamodel___MMLocalClass___global(fra.me.REG[0])(fra.me.REG[0]);
+          REGB2 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[7],fra.me.REG[8]));
+          if (UNTAG_Bool(REGB2)) {
+          } else {
+            REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[7])(fra.me.REG[7], fra.me.REG[8]);
+            REGB2 = REGB1;
+          }
+          REGB2 = TAG_Bool(!UNTAG_Bool(REGB2));
+        } else {
+          REGB1 = TAG_Bool(false);
+          REGB2 = REGB1;
+        }
+        if (UNTAG_Bool(REGB2)) {
+          goto label2;
+        }
+        /* ./metamodel//inheritance.nit:190 */
+        fra.me.REG[8] = CALL_abstractmetamodel___MMGlobalProperty___intro(fra.me.REG[6])(fra.me.REG[6]);
+        fra.me.REG[8] = CALL_abstractmetamodel___MMLocalProperty___name(fra.me.REG[8])(fra.me.REG[8]);
+        fra.me.REG[8] = CALL_string___Object___to_s(fra.me.REG[8])(fra.me.REG[8]);
+        fra.me.REG[8] = CALL_abstract_collection___Collection___first(fra.me.REG[8])(fra.me.REG[8]);
+        REGB2 = TAG_Char('@');
+        REGB1 = TAG_Bool(IS_EQUAL_ON(REGB2,fra.me.REG[8]));
+        if (UNTAG_Bool(REGB1)) {
+        } else {
+          REGB4 = TAG_Bool(fra.me.REG[8]==NIT_NULL);
+          if (UNTAG_Bool(REGB4)) {
+            REGB4 = TAG_Bool(false);
+            REGB1 = REGB4;
+          } else {
+            /* ./../lib/standard//kernel.nit:347 */
+            REGB2 = TAG_Bool((fra.me.REG[8])==(REGB2));
+            /* ./metamodel//inheritance.nit:190 */
+            REGB1 = REGB2;
+          }
+        }
+        if (UNTAG_Bool(REGB1)) {
+          goto label2;
+        }
+        /* ./metamodel//inheritance.nit:191 */
+        REGB1 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+        if (UNTAG_Bool(REGB1)) {
+          nit_abort("Reciever is null", NULL, LOCATE_inheritance, 191);
+        }
+        REGB1 = CALL_abstract_collection___Collection___has(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[6]);
+        if (UNTAG_Bool(REGB1)) {
+          goto label2;
+        }
+        /* ./metamodel//inheritance.nit:192 */
+        REGB1 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+        if (UNTAG_Bool(REGB1)) {
+          nit_abort("Reciever is null", NULL, LOCATE_inheritance, 192);
+        }
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[6]);
+      }
+      label2: while(0);
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB3)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB3 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label3;
     }
-    break_16: while(0);
-    continue_15: while(0);
-    CALL_abstract_collection___Iterator___next(variable[4])(variable[4]) /*ArrayIterator::next*/;
   }
-  break_15: while(0);
-  return_label14: while(false);
-  tracehead = trace.prev;
-  return;
+  label3: while(0);
+  /* ./metamodel//inheritance.nit:195 */
+  REGB3 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+  if (UNTAG_Bool(REGB3)) {
+    nit_abort("Reciever is null", NULL, LOCATE_inheritance, 195);
+  }
+  /* ./../lib/standard//collection//array.nit:23 */
+  REGB3 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+  }
+  REGB3 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+  /* ./metamodel//inheritance.nit:195 */
+  REGB1 = TAG_Int(1);
+  REGB2 = TAG_Bool(IS_EQUAL_OO(REGB3,REGB1));
+  if (UNTAG_Bool(REGB2)) {
+  } else {
+    /* ./../lib/standard//kernel.nit:207 */
+    REGB1 = TAG_Bool((REGB3)==(REGB1));
+    /* ./metamodel//inheritance.nit:195 */
+    REGB2 = REGB1;
+  }
+  REGB0 = REGB2;
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return REGB0;
 }
-void inheritance___MMLocalClass___make_visible_an_inherited_global_property(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 138, LOCATE_inheritance___MMLocalClass___make_visible_an_inherited_global_property};
-  val_t variable[7];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Local variable */
-  /* Register variable[4]: Result */
-  variable[4] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(variable[0]) /*MMLocalClass::_properties_by_name*/;
-  variable[3] = variable[4];
-  /* Register variable[4]: Local variable */
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstractmetamodel___MMGlobalProperty___intro( variable[1] /*glob*/)( variable[1] /*glob*/) /*MMGlobalProperty::intro*/;
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstractmetamodel___MMLocalProperty___name(variable[5])(variable[5]) /*MMLocalProperty::name*/;
-  variable[4] = variable[5];
-  /* Register variable[5]: Local variable */
-  /*variable[5] is variable conf_set*/
-  /* Register variable[6]: Result */
-  variable[6] = CALL_abstract_collection___MapRead___has_key( variable[3] /*names*/)( variable[3] /*names*/,  variable[4] /*gname*/) /*MapRead::has_key*/;
-  if (UNTAG_Bool(variable[6])) { /*if*/
-    /* Register variable[6]: Result */
-    variable[6] = CALL_abstract_collection___MapRead_____bra( variable[3] /*names*/)( variable[3] /*names*/,  variable[4] /*gname*/) /*MapRead::[]*/;
-    variable[5] = variable[6] /*conf_set=*/;
-  } else { /*if*/
-    /* Register variable[6]: Result */
-    variable[6] = NEW_Array_array___Array___init() /*new Array[MMGlobalProperty]*/;
-    variable[5] = variable[6] /*conf_set=*/;
-    CALL_abstract_collection___Map_____braeq( variable[3] /*names*/)( variable[3] /*names*/,  variable[4] /*gname*/,  variable[5] /*conf_set*/) /*Map::[]=*/;
-  }
-  CALL_abstract_collection___SimpleCollection___add( variable[5] /*conf_set*/)( variable[5] /*conf_set*/,  variable[1] /*glob*/) /*AbstractArray::add*/;
-  return_label17: while(false);
-  tracehead = trace.prev;
+void inheritance___MMLocalClass___make_visible_an_inherited_global_property(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[4];} fra;
+  val_t REGB0;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 198;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___make_visible_an_inherited_global_property;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 5;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:201 */
+  REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_properties_by_name", LOCATE_inheritance, 201);
+  }
+  fra.me.REG[0] = ATTR_abstractmetamodel___MMLocalClass____properties_by_name(fra.me.REG[0]);
+  /* ./metamodel//inheritance.nit:202 */
+  fra.me.REG[2] = CALL_abstractmetamodel___MMGlobalProperty___intro(fra.me.REG[1])(fra.me.REG[1]);
+  fra.me.REG[2] = CALL_abstractmetamodel___MMLocalProperty___name(fra.me.REG[2])(fra.me.REG[2]);
+  /* ./metamodel//inheritance.nit:204 */
+  REGB0 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+  if (UNTAG_Bool(REGB0)) {
+    /* ./metamodel//inheritance.nit:205 */
+    fra.me.REG[3] = CALL_abstract_collection___MapRead_____bra(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+  } else {
+    /* ./metamodel//inheritance.nit:207 */
+    fra.me.REG[4] = NEW_Array_array___Array___init();
+    fra.me.REG[3] = fra.me.REG[4];
+    /* ./metamodel//inheritance.nit:208 */
+    CALL_abstract_collection___Map_____braeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2], fra.me.REG[3]);
+  }
+  /* ./metamodel//inheritance.nit:210 */
+  CALL_abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+  stack_frame_head = fra.me.prev;
   return;
 }
-void inheritance___MMLocalClass___add_direct_parent(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 153, LOCATE_inheritance___MMLocalClass___add_direct_parent};
-  val_t variable[4];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_inheritance___MMLocalClass____direct_parents(variable[0]) /*MMLocalClass::_direct_parents*/;
-  CALL_abstract_collection___SimpleCollection___add(variable[3])(variable[3],  variable[1] /*p*/) /*AbstractArray::add*/;
-  return_label18: while(false);
-  tracehead = trace.prev;
+void inheritance___MMLocalClass___add_direct_parent(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+  val_t REGB0;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 213;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___add_direct_parent;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 2;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:216 */
+  REGB0 = TAG_Bool(ATTR_inheritance___MMLocalClass____direct_parents(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_direct_parents", LOCATE_inheritance, 216);
+  }
+  fra.me.REG[0] = ATTR_inheritance___MMLocalClass____direct_parents(fra.me.REG[0]);
+  CALL_abstract_collection___SimpleCollection___add(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+  stack_frame_head = fra.me.prev;
   return;
 }
-val_t inheritance___MMLocalClass___computed_super_classes(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 159, LOCATE_inheritance___MMLocalClass___computed_super_classes};
-  val_t variable[3];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Result */
-  variable[2] = ATTR_abstractmetamodel___MMLocalClass____crhe(variable[0]) /*MMLocalClass::_crhe*/;
-  /* Register variable[2]: Result */
-  variable[2] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[2] ==  NIT_NULL /*null*/) || ((variable[2] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[2])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[2], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[2])(variable[2],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  /* Ensure var variable[2]: Left 'and' operand*/
-  if (UNTAG_Bool(variable[2])) { /* and */
-    /* Register variable[2]: Result */
-    variable[2] = ATTR_abstractmetamodel___MMLocalClass____cshe(variable[0]) /*MMLocalClass::_cshe*/;
-    /* Register variable[2]: Result */
-    variable[2] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[2] ==  NIT_NULL /*null*/) || ((variable[2] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[2])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[2], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[2])(variable[2],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  }
-  /* Register variable[2]: Result */
-  variable[1] = variable[2];
-  goto return_label19;
-  return_label19: while(false);
-  tracehead = trace.prev;
-  return variable[1];
+val_t inheritance___MMLocalClass___computed_super_classes(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 219;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___computed_super_classes;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 2;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:222 */
+  fra.me.REG[1] = ATTR_abstractmetamodel___MMLocalClass____crhe(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(false);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
+      REGB0 = REGB1;
+    }
+  }
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+    fra.me.REG[0] = ATTR_abstractmetamodel___MMLocalClass____cshe(fra.me.REG[0]);
+    REGB0 = TAG_Bool(fra.me.REG[0]==NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      REGB1 = TAG_Bool(fra.me.REG[0]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        REGB1 = TAG_Bool(false);
+        REGB0 = REGB1;
+      } else {
+        REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[0])(fra.me.REG[0], NIT_NULL);
+        REGB0 = REGB1;
+      }
+    }
+    REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  } else {
+    REGB1 = TAG_Bool(false);
+    REGB0 = REGB1;
+  }
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return REGB0;
 }
-val_t inheritance___MMLocalClass___computed_ancestors(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 165, LOCATE_inheritance___MMLocalClass___computed_ancestors};
-  val_t variable[3];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Result */
-  variable[2] = ATTR_static_type___MMLocalClass____ancestors(variable[0]) /*MMLocalClass::_ancestors*/;
-  /* Register variable[2]: Result */
-  variable[2] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[2] ==  NIT_NULL /*null*/) || ((variable[2] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[2])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[2], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[2])(variable[2],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  variable[1] = variable[2];
-  goto return_label20;
-  return_label20: while(false);
-  tracehead = trace.prev;
-  return variable[1];
+val_t inheritance___MMLocalClass___computed_ancestors(val_t p0){
+  struct {struct stack_frame_t me;} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 225;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___computed_ancestors;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 1;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:228 */
+  fra.me.REG[0] = ATTR_static_type___MMLocalClass____ancestors(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[0]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[0]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(false);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[0])(fra.me.REG[0], NIT_NULL);
+      REGB0 = REGB1;
+    }
+  }
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return REGB0;
 }
-val_t inheritance___MMLocalClass___ancestor_for(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 171, LOCATE_inheritance___MMLocalClass___ancestor_for};
-  val_t variable[7];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMLocalClass___ancestors(variable[0])(variable[0]) /*MMLocalClass::ancestors*/;
-  /* Register variable[3]: Result */
-  variable[3] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[3] ==  NIT_NULL /*null*/) || ((variable[3] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[3])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[3], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[3])(variable[3],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[3])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___ancestor_for, LOCATE_inheritance, 175); nit_exit(1);}
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_static_type___MMLocalClass____ancestors(variable[0]) /*MMLocalClass::_ancestors*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_abstract_collection___MapRead___has_key(variable[3])(variable[3],  variable[1] /*c*/) /*MapRead::has_key*/;
-  if (UNTAG_Bool(variable[3])) { /*if*/
-    /* Register variable[3]: Result */
-    variable[3] = ATTR_static_type___MMLocalClass____ancestors(variable[0]) /*MMLocalClass::_ancestors*/;
-    /* Register variable[3]: Result */
-    variable[3] = CALL_abstract_collection___MapRead_____bra(variable[3])(variable[3],  variable[1] /*c*/) /*MapRead::[]*/;
-    variable[2] = variable[3];
-    goto return_label21;
-  }
-  /* Register variable[3]: Local variable */
-  /* Register variable[4]: Result */
-  variable[4] = CALL_abstractmetamodel___MMLocalClass___module(variable[0])(variable[0]) /*MMLocalClass::module*/;
-  /* Register variable[4]: Result */
-  variable[4] = CALL_abstractmetamodel___MMLocalClass___for_module( variable[1] /*c*/)( variable[1] /*c*/, variable[4]) /*MMLocalClass::for_module*/;
-  variable[3] = variable[4];
-  /* Register variable[4]: Result */
-  variable[4] = CALL_abstractmetamodel___MMLocalClass___cshe(variable[0])(variable[0]) /*MMLocalClass::cshe*/;
-  /* Register variable[4]: Result */
-  variable[4] = CALL_partial_order___PartialOrderElement_____leq(variable[4])(variable[4],  variable[3] /*a*/) /*PartialOrderElement::<=*/;
-  if (!UNTAG_Bool(variable[4])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___ancestor_for, LOCATE_inheritance, 181); nit_exit(1);}
-  /* Register variable[4]: Local variable */
-  /*variable[4] is variable ra*/
-  /* Register variable[5]: Result */
-  variable[5] = ATTR_static_type___MMLocalClass____ancestors(variable[0]) /*MMLocalClass::_ancestors*/;
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstract_collection___MapRead___has_key(variable[5])(variable[5],  variable[3] /*a*/) /*MapRead::has_key*/;
-  if (UNTAG_Bool(variable[5])) { /*if*/
-    /* Register variable[5]: Result */
-    variable[5] = ATTR_static_type___MMLocalClass____ancestors(variable[0]) /*MMLocalClass::_ancestors*/;
-    /* Register variable[5]: Result */
-    variable[5] = CALL_abstract_collection___MapRead_____bra(variable[5])(variable[5],  variable[3] /*a*/) /*MapRead::[]*/;
-    variable[4] = variable[5] /*ra=*/;
-  } else { /*if*/
-    /* Register variable[5]: Result */
-    variable[5] = CALL_abstractmetamodel___MMLocalClass___global( variable[1] /*c*/)( variable[1] /*c*/) /*MMLocalClass::global*/;
-    /* Register variable[6]: Result */
-    variable[6] = ATTR_abstractmetamodel___MMLocalClass____global(variable[0]) /*MMLocalClass::_global*/;
-    /* Register variable[5]: Result */
-    variable[5] = TAG_Bool((variable[5] == variable[6]) || ((variable[5] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[5])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[5],variable[6])):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[5])(variable[5], variable[6]) /*Object::==*/)))));
-    if (UNTAG_Bool(variable[5])) { /*if*/
-      /* Register variable[5]: Result */
-      variable[5] = NEW_MMRefineAncestor_inheritance___MMRefineAncestor___init(variable[0],  variable[1] /*c*/) /*new MMRefineAncestor*/;
-      variable[4] = variable[5] /*ra=*/;
-    } else { /*if*/
-      /* Register variable[5]: Result */
-      variable[5] = CALL_static_type___MMLocalClass___get_type(variable[0])(variable[0]) /*MMLocalClass::get_type*/;
-      /* Register variable[6]: Result */
-      variable[6] = CALL_static_type___MMLocalClass___get_type( variable[1] /*c*/)( variable[1] /*c*/) /*MMLocalClass::get_type*/;
-      /* Register variable[5]: Result */
-      variable[5] = NEW_MMSpecAncestor_inheritance___MMSpecAncestor___init(variable[5], variable[6]) /*new MMSpecAncestor*/;
-      variable[4] = variable[5] /*ra=*/;
+val_t inheritance___MMLocalClass___ancestor_for(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[5];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 231;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___ancestor_for;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 6;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:235 */
+  fra.me.REG[2] = CALL_static_type___MMLocalClass___ancestors(fra.me.REG[0])(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(false);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
+      REGB0 = REGB1;
     }
   }
-  /* Register variable[5]: Result */
-  variable[5] = ATTR_static_type___MMLocalClass____ancestors(variable[0]) /*MMLocalClass::_ancestors*/;
-  CALL_abstract_collection___Map_____braeq(variable[5])(variable[5],  variable[1] /*c*/,  variable[4] /*ra*/) /*Map::[]=*/;
-  variable[2] =  variable[4] /*ra*/;
-  goto return_label21;
-  return_label21: while(false);
-  tracehead = trace.prev;
-  return variable[2];
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 235);
+  }
+  /* ./metamodel//inheritance.nit:237 */
+  fra.me.REG[2] = ATTR_static_type___MMLocalClass____ancestors(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_inheritance, 237);
+  }
+  REGB0 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+  if (UNTAG_Bool(REGB0)) {
+    /* ./metamodel//inheritance.nit:238 */
+    fra.me.REG[2] = ATTR_static_type___MMLocalClass____ancestors(fra.me.REG[0]);
+    REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+      nit_abort("Reciever is null", NULL, LOCATE_inheritance, 238);
+    }
+    fra.me.REG[2] = CALL_abstract_collection___MapRead_____bra(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+    goto label1;
+  }
+  /* ./metamodel//inheritance.nit:240 */
+  fra.me.REG[3] = CALL_abstractmetamodel___MMLocalClass___mmmodule(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[3] = CALL_abstractmetamodel___MMLocalClass___for_module(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[3]);
+  /* ./metamodel//inheritance.nit:241 */
+  fra.me.REG[4] = CALL_abstractmetamodel___MMLocalClass___cshe(fra.me.REG[0])(fra.me.REG[0]);
+  REGB0 = CALL_partial_order___PartialOrderElement_____leq(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[3]);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 241);
+  }
+  /* ./metamodel//inheritance.nit:243 */
+  fra.me.REG[4] = ATTR_static_type___MMLocalClass____ancestors(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_inheritance, 243);
+  }
+  REGB0 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[3]);
+  if (UNTAG_Bool(REGB0)) {
+    /* ./metamodel//inheritance.nit:244 */
+    fra.me.REG[4] = ATTR_static_type___MMLocalClass____ancestors(fra.me.REG[0]);
+    REGB0 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+      nit_abort("Reciever is null", NULL, LOCATE_inheritance, 244);
+    }
+    fra.me.REG[3] = CALL_abstract_collection___MapRead_____bra(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[3]);
+  } else {
+    /* ./metamodel//inheritance.nit:245 */
+    fra.me.REG[4] = CALL_abstractmetamodel___MMLocalClass___global(fra.me.REG[1])(fra.me.REG[1]);
+    fra.me.REG[5] = ATTR_abstractmetamodel___MMLocalClass____global(fra.me.REG[0]);
+    REGB0 = TAG_Bool(IS_EQUAL_ON(fra.me.REG[4],fra.me.REG[5]));
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[5]);
+      REGB0 = REGB1;
+    }
+    if (UNTAG_Bool(REGB0)) {
+      /* ./metamodel//inheritance.nit:246 */
+      fra.me.REG[5] = NEW_MMRefineAncestor_inheritance___MMRefineAncestor___init(fra.me.REG[0], fra.me.REG[1]);
+      fra.me.REG[3] = fra.me.REG[5];
+    } else {
+      /* ./metamodel//inheritance.nit:248 */
+      fra.me.REG[5] = CALL_static_type___MMLocalClass___get_type(fra.me.REG[0])(fra.me.REG[0]);
+      fra.me.REG[4] = CALL_static_type___MMLocalClass___get_type(fra.me.REG[1])(fra.me.REG[1]);
+      fra.me.REG[4] = NEW_MMSpecAncestor_inheritance___MMSpecAncestor___init(fra.me.REG[5], fra.me.REG[4]);
+      fra.me.REG[3] = fra.me.REG[4];
+    }
+  }
+  /* ./metamodel//inheritance.nit:250 */
+  fra.me.REG[0] = ATTR_static_type___MMLocalClass____ancestors(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[0]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_inheritance, 250);
+  }
+  CALL_abstract_collection___Map_____braeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], fra.me.REG[3]);
+  /* ./metamodel//inheritance.nit:251 */
+  fra.me.REG[2] = fra.me.REG[3];
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[2];
 }
-void inheritance___MMLocalClass___add_default_any_class(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 205, LOCATE_inheritance___MMLocalClass___add_default_any_class};
-    static val_t once_value_23; static int once_bool_23; /* Once value for variable[4]*/
-      static val_t once_value_24 = NIT_NULL; /* Once value for string variable[4]*/
-  val_t variable[6];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Result */
-  variable[3] = CALL_abstract_collection___Collection___is_empty( variable[1] /*supers*/)( variable[1] /*supers*/) /*AbstractArrayRead::is_empty*/;
-  /* Ensure var variable[3]: Left 'and' operand*/
-  if (UNTAG_Bool(variable[3])) { /* and */
-    /* Register variable[3]: Result */
-    variable[3] = CALL_abstractmetamodel___MMLocalClass___name(variable[0])(variable[0]) /*MMLocalClass::name*/;
-    /* Register variable[4]: Once expression result */
-    if (once_bool_23) variable[4] = once_value_23;
-    else {
-      /* Register variable[4]: Once String constant */
-      if (once_value_24 != NIT_NULL) variable[4] = once_value_24;
-      else {
-        variable[4] = NEW_String_string___String___with_native(BOX_NativeString("Object"), TAG_Int(6)) /*new String*/;
-        once_value_24 = variable[4];
-      }
-      /* Register variable[4]: Result */
-      /* Register variable[4]: Result */
-      variable[4] = CALL_symbol___String___to_symbol(variable[4])(variable[4]) /*String::to_symbol*/;
-      once_value_23 = variable[4];
-      once_bool_23 = true;
+val_t inheritance___MMLocalClass_____bra(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
+  val_t REGB0;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 254;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass_____bra;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 3;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:256 */
+  REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_local_property_by_global", LOCATE_inheritance, 256);
+  }
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(fra.me.REG[0]);
+  REGB0 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+  if (UNTAG_Bool(REGB0)) {
+    /* ./metamodel//inheritance.nit:257 */
+    REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(fra.me.REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_local_property_by_global", LOCATE_inheritance, 257);
     }
-    /* Register variable[4]: Result */
-    /* Register variable[3]: Result */
-    variable[3] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[3] == variable[4]) || ((variable[3] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[3])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[3],variable[4])):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[3])(variable[3], variable[4]) /*Object::==*/)))))));
-  }
-  /* Register variable[3]: Result */
-  if (UNTAG_Bool(variable[3])) { /*if*/
-    /* Register variable[3]: Local variable */
-    /* Register variable[4]: Result */
-    variable[4] = CALL_abstractmetamodel___MMLocalClass___module(variable[0])(variable[0]) /*MMLocalClass::module*/;
-    /* Register variable[4]: Result */
-    variable[4] = CALL_inheritance___MMModule___type_any(variable[4])(variable[4]) /*MMModule::type_any*/;
-    variable[3] = variable[4];
-    /* Register variable[4]: Result */
-    variable[4] = CALL_static_type___MMType___local_class( variable[3] /*t_any*/)( variable[3] /*t_any*/) /*MMType::local_class*/;
-    CALL_abstract_collection___SimpleCollection___add( variable[1] /*supers*/)( variable[1] /*supers*/, variable[4]) /*AbstractArray::add*/;
-    /* Register variable[4]: Local variable */
-    /* Register variable[5]: Result */
-    variable[5] = NEW_MMDefaultAncestor_inheritance___MMDefaultAncestor___init(variable[0],  variable[3] /*t_any*/) /*new MMDefaultAncestor*/;
-    variable[4] = variable[5];
-    CALL_inheritance___MMLocalClass___add_direct_parent(variable[0])(variable[0],  variable[4] /*default*/) /*MMLocalClass::add_direct_parent*/;
-  }
-  return_label22: while(false);
-  tracehead = trace.prev;
-  return;
+    fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(fra.me.REG[0]);
+    fra.me.REG[2] = CALL_abstract_collection___MapRead_____bra(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+    goto label1;
+  } else {
+    /* ./metamodel//inheritance.nit:258 */
+    REGB0 = CALL_abstractmetamodel___MMLocalClass___has_global_property(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+    if (UNTAG_Bool(REGB0)) {
+      /* ./metamodel//inheritance.nit:259 */
+      fra.me.REG[1] = CALL_inheritance___MMLocalClass___inherit_local_property(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+      fra.me.REG[2] = fra.me.REG[1];
+      goto label1;
+    } else {
+      /* ./metamodel//inheritance.nit:261 */
+      nit_abort("Aborted", NULL, LOCATE_inheritance, 261);
+    }
+  }
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[2];
 }
-void inheritance___MMLocalClass___add_super_classes(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 216, LOCATE_inheritance___MMLocalClass___add_super_classes};
-  val_t variable[11];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_abstractmetamodel___MMLocalClass____crhe(variable[0]) /*MMLocalClass::_crhe*/;
-  /* Register variable[3]: Result */
-  variable[3] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[3] ==  NIT_NULL /*null*/) || ((variable[3] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[3])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[3], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[3])(variable[3],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[3])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___add_super_classes, LOCATE_inheritance, 219); nit_exit(1);}
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_abstractmetamodel___MMLocalClass____crhe(variable[0]) /*MMLocalClass::_crhe*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_partial_order___PartialOrderElement___direct_greaters(variable[3])(variable[3]) /*PartialOrderElement::direct_greaters*/;
-  /* Register variable[3]: For iterator */
-  variable[3] = CALL_abstract_collection___Collection___iterator(variable[3])(variable[3]) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[4]: For 'is_ok' result */
-    variable[4] = CALL_abstract_collection___Iterator___is_ok(variable[3])(variable[3]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[4])) break; /*for*/
-    variable[4] = CALL_abstract_collection___Iterator___item(variable[3])(variable[3]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[5]: Local variable */
-    variable[5] = variable[4];
-    /* Register variable[6]: Result */
-    variable[6] = CALL_abstractmetamodel___MMLocalClass___cshe( variable[5] /*ref*/)( variable[5] /*ref*/) /*MMLocalClass::cshe*/;
-    /* Register variable[6]: Result */
-    variable[6] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[6] ==  NIT_NULL /*null*/) || ((variable[6] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[6])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[6], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[6])(variable[6],  NIT_NULL /*null*/) /*Object::==*/)))))));
-    if (!UNTAG_Bool(variable[6])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___add_super_classes, LOCATE_inheritance, 221); nit_exit(1);}
-    /* Register variable[6]: Result */
-    variable[6] = CALL_abstractmetamodel___MMLocalClass___cshe( variable[5] /*ref*/)( variable[5] /*ref*/) /*MMLocalClass::cshe*/;
-    /* Register variable[6]: Result */
-    variable[6] = CALL_partial_order___PartialOrderElement___direct_greaters(variable[6])(variable[6]) /*PartialOrderElement::direct_greaters*/;
-    /* Register variable[6]: For iterator */
-    variable[6] = CALL_abstract_collection___Collection___iterator(variable[6])(variable[6]) /*AbstractArrayRead::iterator*/;
-    while (true) { /*for*/
-      /* Register variable[7]: For 'is_ok' result */
-      variable[7] = CALL_abstract_collection___Iterator___is_ok(variable[6])(variable[6]) /*ArrayIterator::is_ok*/;
-      if (!UNTAG_Bool(variable[7])) break; /*for*/
-      variable[7] = CALL_abstract_collection___Iterator___item(variable[6])(variable[6]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-      /* Register variable[8]: Local variable */
-      variable[8] = variable[7];
-      /* Register variable[9]: Local variable */
-      /* Register variable[10]: Result */
-      variable[10] = ATTR_abstractmetamodel___MMLocalClass____module(variable[0]) /*MMLocalClass::_module*/;
-      /* Register variable[10]: Result */
-      variable[10] = CALL_abstractmetamodel___MMLocalClass___for_module( variable[8] /*sup*/)( variable[8] /*sup*/, variable[10]) /*MMLocalClass::for_module*/;
-      variable[9] = variable[10];
-      /* Register variable[10]: Result */
-      variable[10] = TAG_Bool(!UNTAG_Bool(TAG_Bool(( variable[9] /*cla*/ ==  NIT_NULL /*null*/) || (( variable[9] /*cla*/ != NIT_NULL) && ((CALL_kernel___Object_____eqeq( variable[9] /*cla*/)==kernel___Object_____eqeq)?(IS_EQUAL_NN( variable[9] /*cla*/, NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq( variable[9] /*cla*/)( variable[9] /*cla*/,  NIT_NULL /*null*/) /*Object::==*/)))))));
-      if (!UNTAG_Bool(variable[10])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___add_super_classes, LOCATE_inheritance, 224); nit_exit(1);}
-      CALL_abstract_collection___SimpleCollection___add( variable[1] /*supers*/)( variable[1] /*supers*/,  variable[9] /*cla*/) /*AbstractArray::add*/;
-      continue_27: while(0);
-      CALL_abstract_collection___Iterator___next(variable[6])(variable[6]) /*ArrayIterator::next*/;
+void inheritance___MMLocalClass___add_default_any_class(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+    static val_t once_value_1; /* Once value */
+      static val_t once_value_2; /* Once value */
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 265;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___add_default_any_class;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 4;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:268 */
+  REGB0 = CALL_abstract_collection___Collection___is_empty(fra.me.REG[1])(fra.me.REG[1]);
+  if (UNTAG_Bool(REGB0)) {
+    fra.me.REG[2] = CALL_abstractmetamodel___MMLocalClass___name(fra.me.REG[0])(fra.me.REG[0]);
+    if (!once_value_1) {
+      if (!once_value_2) {
+        fra.me.REG[3] = BOX_NativeString("Object");
+        REGB0 = TAG_Int(6);
+        fra.me.REG[3] = NEW_String_string___String___with_native(fra.me.REG[3], REGB0);
+        once_value_2 = fra.me.REG[3];
+        register_static_object(&once_value_2);
+      } else fra.me.REG[3] = once_value_2;
+      fra.me.REG[3] = fra.me.REG[3];
+      fra.me.REG[3] = CALL_symbol___String___to_symbol(fra.me.REG[3])(fra.me.REG[3]);
+      once_value_1 = fra.me.REG[3];
+      register_static_object(&once_value_1);
+    } else fra.me.REG[3] = once_value_1;
+    fra.me.REG[3] = fra.me.REG[3];
+    REGB0 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[2],fra.me.REG[3]));
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
+      REGB0 = REGB1;
     }
-    break_27: while(0);
-    continue_26: while(0);
-    CALL_abstract_collection___Iterator___next(variable[3])(variable[3]) /*ArrayIterator::next*/;
+    REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  } else {
+    REGB1 = TAG_Bool(false);
+    REGB0 = REGB1;
   }
-  break_26: while(0);
-  return_label25: while(false);
-  tracehead = trace.prev;
+  if (UNTAG_Bool(REGB0)) {
+    /* ./metamodel//inheritance.nit:269 */
+    fra.me.REG[3] = CALL_abstractmetamodel___MMLocalClass___mmmodule(fra.me.REG[0])(fra.me.REG[0]);
+    fra.me.REG[3] = CALL_inheritance___MMModule___type_any(fra.me.REG[3])(fra.me.REG[3]);
+    /* ./metamodel//inheritance.nit:270 */
+    fra.me.REG[2] = CALL_static_type___MMType___local_class(fra.me.REG[3])(fra.me.REG[3]);
+    CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2]);
+    /* ./metamodel//inheritance.nit:271 */
+    fra.me.REG[3] = NEW_MMDefaultAncestor_inheritance___MMDefaultAncestor___init(fra.me.REG[0], fra.me.REG[3]);
+    /* ./metamodel//inheritance.nit:272 */
+    CALL_inheritance___MMLocalClass___add_direct_parent(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[3]);
+  }
+  stack_frame_head = fra.me.prev;
   return;
 }
-void inheritance___MMLocalClass___add_explicit_classes(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 230, LOCATE_inheritance___MMLocalClass___add_explicit_classes};
-  val_t variable[7];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_inheritance___MMLocalClass____direct_parents(variable[0]) /*MMLocalClass::_direct_parents*/;
-  /* Register variable[3]: For iterator */
-  variable[3] = CALL_abstract_collection___Collection___iterator(variable[3])(variable[3]) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[4]: For 'is_ok' result */
-    variable[4] = CALL_abstract_collection___Iterator___is_ok(variable[3])(variable[3]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[4])) break; /*for*/
-    variable[4] = CALL_abstract_collection___Iterator___item(variable[3])(variable[3]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[5]: Local variable */
-    variable[5] = variable[4];
-    /* Register variable[6]: Result */
-    variable[6] = CALL_static_type___MMAncestor___local_class( variable[5] /*p*/)( variable[5] /*p*/) /*MMAncestor::local_class*/;
-    CALL_abstract_collection___SimpleCollection___add( variable[1] /*supers*/)( variable[1] /*supers*/, variable[6]) /*AbstractArray::add*/;
-    continue_29: while(0);
-    CALL_abstract_collection___Iterator___next(variable[3])(variable[3]) /*ArrayIterator::next*/;
-  }
-  break_29: while(0);
-  return_label28: while(false);
-  tracehead = trace.prev;
+void inheritance___MMLocalClass___add_super_classes(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[7];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t REGB2;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 276;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___add_super_classes;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 8;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[6] = NIT_NULL;
+  fra.me.REG[7] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:279 */
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____crhe(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(false);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
+      REGB0 = REGB1;
+    }
+  }
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 279);
+  }
+  /* ./metamodel//inheritance.nit:280 */
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____crhe(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_inheritance, 280);
+  }
+  fra.me.REG[2] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[2])(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[3] = ATTR_array___Array____items(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[2]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
+      }
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[4] = ((Nit_NativeArray)fra.me.REG[3])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:281 */
+      fra.me.REG[4] = CALL_abstractmetamodel___MMLocalClass___cshe(fra.me.REG[4])(fra.me.REG[4]);
+      fra.me.REG[4] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[4])(fra.me.REG[4]);
+      /* ./../lib/standard//collection//array.nit:234 */
+      REGB1 = TAG_Int(0);
+      /* ./../lib/standard//collection//array.nit:235 */
+      REGB2 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
+      if (UNTAG_Bool(REGB2)) {
+      } else {
+        nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+      }
+      REGB2 = ATTR_array___AbstractArrayRead____length(fra.me.REG[4]);
+      /* ./../lib/standard//collection//array.nit:236 */
+      fra.me.REG[5] = ATTR_array___Array____items(fra.me.REG[4]);
+      /* ./../lib/standard//collection//array.nit:237 */
+      while(1) {
+        /* ./../lib/standard//collection//array.nit:23 */
+        REGB2 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
+        if (UNTAG_Bool(REGB2)) {
+        } else {
+          nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+        }
+        REGB2 = ATTR_array___AbstractArrayRead____length(fra.me.REG[4]);
+        /* ./../lib/standard//kernel.nit:212 */
+        REGB2 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB2));
+        /* ./../lib/standard//collection//array.nit:237 */
+        if (UNTAG_Bool(REGB2)) {
+          /* ./../lib/standard//collection//array.nit:238 */
+          REGB2 = TAG_Bool(fra.me.REG[5]==NIT_NULL);
+          if (UNTAG_Bool(REGB2)) {
+            nit_abort("Reciever is null", NULL, LOCATE_array, 238);
+          }
+          /* ./../lib/standard//collection//array.nit:654 */
+          fra.me.REG[6] = ((Nit_NativeArray)fra.me.REG[5])->val[UNTAG_Int(REGB1)];
+          /* ./metamodel//inheritance.nit:282 */
+          REGB2 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____mmmodule(fra.me.REG[0])!=NIT_NULL);
+          if (UNTAG_Bool(REGB2)) {
+          } else {
+            nit_abort("Uninitialized attribute %s", "_mmmodule", LOCATE_inheritance, 282);
+          }
+          fra.me.REG[7] = ATTR_abstractmetamodel___MMLocalClass____mmmodule(fra.me.REG[0]);
+          fra.me.REG[7] = CALL_abstractmetamodel___MMLocalClass___for_module(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[7]);
+          /* ./metamodel//inheritance.nit:283 */
+          CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[7]);
+          /* ./../lib/standard//collection//array.nit:239 */
+          REGB2 = TAG_Int(1);
+          /* ./../lib/standard//kernel.nit:215 */
+          REGB2 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB2));
+          /* ./../lib/standard//collection//array.nit:239 */
+          REGB1 = REGB2;
+        } else {
+          /* ./../lib/standard//collection//array.nit:237 */
+          goto label1;
+        }
+      }
+      label1: while(0);
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label2;
+    }
+  }
+  label2: while(0);
+  stack_frame_head = fra.me.prev;
   return;
 }
-void inheritance___MMLocalClass___compute_super_parents(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 238, LOCATE_inheritance___MMLocalClass___compute_super_parents};
-  val_t variable[7];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: For iterator */
-  variable[3] = CALL_abstract_collection___Collection___iterator( variable[1] /*supers*/)( variable[1] /*supers*/) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[4]: For 'is_ok' result */
-    variable[4] = CALL_abstract_collection___Iterator___is_ok(variable[3])(variable[3]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[4])) break; /*for*/
-    variable[4] = CALL_abstract_collection___Iterator___item(variable[3])(variable[3]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[5]: Local variable */
-    variable[5] = variable[4];
-    /* Register variable[6]: Result */
-    variable[6] = TAG_Bool(!UNTAG_Bool(TAG_Bool(( variable[5] /*p*/ ==  NIT_NULL /*null*/) || (( variable[5] /*p*/ != NIT_NULL) && ((CALL_kernel___Object_____eqeq( variable[5] /*p*/)==kernel___Object_____eqeq)?(IS_EQUAL_NN( variable[5] /*p*/, NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq( variable[5] /*p*/)( variable[5] /*p*/,  NIT_NULL /*null*/) /*Object::==*/)))))));
-    if (!UNTAG_Bool(variable[6])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___compute_super_parents, LOCATE_inheritance, 242); nit_exit(1);}
-    CALL_inheritance___MMLocalClass___compute_super_classes( variable[5] /*p*/)( variable[5] /*p*/) /*MMLocalClass::compute_super_classes*/;
-    continue_31: while(0);
-    CALL_abstract_collection___Iterator___next(variable[3])(variable[3]) /*ArrayIterator::next*/;
-  }
-  break_31: while(0);
-  return_label30: while(false);
-  tracehead = trace.prev;
+void inheritance___MMLocalClass___add_explicit_classes(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 288;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___add_explicit_classes;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 4;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:291 */
+  REGB0 = TAG_Bool(ATTR_inheritance___MMLocalClass____direct_parents(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_direct_parents", LOCATE_inheritance, 291);
+  }
+  fra.me.REG[0] = ATTR_inheritance___MMLocalClass____direct_parents(fra.me.REG[0]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[0]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[2] = ATTR_array___Array____items(fra.me.REG[0]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[0])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[0]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
+      }
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[3] = ((Nit_NativeArray)fra.me.REG[2])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:292 */
+      fra.me.REG[3] = CALL_static_type___MMAncestor___local_class(fra.me.REG[3])(fra.me.REG[3]);
+      CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[3]);
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label1;
+    }
+  }
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
   return;
 }
-val_t inheritance___MMLocalClass___build_ancestors(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 247, LOCATE_inheritance___MMLocalClass___build_ancestors};
-  val_t variable[8];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Local variable */
-  /* Register variable[3]: Result */
-  variable[3] = NEW_Array_array___Array___init() /*new Array[MMAncestor]*/;
-  variable[2] = variable[3];
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_abstractmetamodel___MMLocalClass____crhe(variable[0]) /*MMLocalClass::_crhe*/;
-  /* Register variable[3]: Result */
-  variable[3] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[3] ==  NIT_NULL /*null*/) || ((variable[3] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[3])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[3], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[3])(variable[3],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[3])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___build_ancestors, LOCATE_inheritance, 252); nit_exit(1);}
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_abstractmetamodel___MMLocalClass____crhe(variable[0]) /*MMLocalClass::_crhe*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_partial_order___PartialOrderElement___direct_greaters(variable[3])(variable[3]) /*PartialOrderElement::direct_greaters*/;
-  /* Register variable[3]: For iterator */
-  variable[3] = CALL_abstract_collection___Collection___iterator(variable[3])(variable[3]) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[4]: For 'is_ok' result */
-    variable[4] = CALL_abstract_collection___Iterator___is_ok(variable[3])(variable[3]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[4])) break; /*for*/
-    variable[4] = CALL_abstract_collection___Iterator___item(variable[3])(variable[3]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[5]: Local variable */
-    variable[5] = variable[4];
-    /* Register variable[6]: Result */
-    variable[6] = TAG_Bool(!UNTAG_Bool(TAG_Bool(( variable[5] /*p*/ == variable[0]) || (( variable[5] /*p*/ != NIT_NULL) && ((CALL_kernel___Object_____eqeq( variable[5] /*p*/)==kernel___Object_____eqeq)?(IS_EQUAL_NN( variable[5] /*p*/,variable[0])):(UNTAG_Bool(CALL_kernel___Object_____eqeq( variable[5] /*p*/)( variable[5] /*p*/, variable[0]) /*Object::==*/)))))));
-    if (!UNTAG_Bool(variable[6])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___build_ancestors, LOCATE_inheritance, 254); nit_exit(1);}
-    /* Register variable[6]: Local variable */
-    /* Register variable[7]: Result */
-    variable[7] = NEW_MMRefineAncestor_inheritance___MMRefineAncestor___init(variable[0],  variable[5] /*p*/) /*new MMRefineAncestor*/;
-    variable[6] = variable[7];
-    CALL_inheritance___MMAncestor___add_in( variable[6] /*anc*/)( variable[6] /*anc*/,  variable[2] /*all_ancestors*/) /*MMAncestor::add_in*/;
-    continue_33: while(0);
-    CALL_abstract_collection___Iterator___next(variable[3])(variable[3]) /*ArrayIterator::next*/;
-  }
-  break_33: while(0);
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_inheritance___MMLocalClass____direct_parents(variable[0]) /*MMLocalClass::_direct_parents*/;
-  /* Register variable[3]: For iterator */
-  variable[3] = CALL_abstract_collection___Collection___iterator(variable[3])(variable[3]) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[4]: For 'is_ok' result */
-    variable[4] = CALL_abstract_collection___Iterator___is_ok(variable[3])(variable[3]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[4])) break; /*for*/
-    variable[4] = CALL_abstract_collection___Iterator___item(variable[3])(variable[3]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[5]: Local variable */
-    variable[5] = variable[4];
-    /* Register variable[6]: Result */
-    variable[6] = CALL_static_type___MMAncestor___local_class( variable[5] /*anc*/)( variable[5] /*anc*/) /*MMAncestor::local_class*/;
-    /* Register variable[6]: Result */
-    variable[6] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[6] == variable[0]) || ((variable[6] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[6])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[6],variable[0])):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[6])(variable[6], variable[0]) /*Object::==*/)))))));
-    if (!UNTAG_Bool(variable[6])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___build_ancestors, LOCATE_inheritance, 259); nit_exit(1);}
-    CALL_inheritance___MMAncestor___add_in( variable[5] /*anc*/)( variable[5] /*anc*/,  variable[2] /*all_ancestors*/) /*MMAncestor::add_in*/;
-    continue_34: while(0);
-    CALL_abstract_collection___Iterator___next(variable[3])(variable[3]) /*ArrayIterator::next*/;
-  }
-  break_34: while(0);
-  variable[1] =  variable[2] /*all_ancestors*/;
-  goto return_label32;
-  return_label32: while(false);
-  tracehead = trace.prev;
-  return variable[1];
-}
-val_t inheritance___MMLocalClass___group_ancestors(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 265, LOCATE_inheritance___MMLocalClass___group_ancestors};
-  val_t variable[10];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Local variable */
-  /* Register variable[4]: Result */
-  variable[4] = NEW_HashMap_hash___HashMap___init() /*new HashMap[MMLocalClass, Set[MMAncestor]]*/;
-  variable[3] = variable[4];
-  /* Register variable[4]: For iterator */
-  variable[4] = CALL_abstract_collection___Collection___iterator( variable[1] /*all*/)( variable[1] /*all*/) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[5]: For 'is_ok' result */
-    variable[5] = CALL_abstract_collection___Iterator___is_ok(variable[4])(variable[4]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[5])) break; /*for*/
-    variable[5] = CALL_abstract_collection___Iterator___item(variable[4])(variable[4]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[6]: Local variable */
-    variable[6] = variable[5];
-    /* Register variable[7]: Local variable */
-    /* Register variable[8]: Result */
-    variable[8] = CALL_static_type___MMAncestor___local_class( variable[6] /*a*/)( variable[6] /*a*/) /*MMAncestor::local_class*/;
-    variable[7] = variable[8];
-    /* Register variable[8]: Local variable */
-    /*variable[8] is variable set*/
-    CALL_inheritance___MMLocalClass___compute_ancestors( variable[7] /*c*/)( variable[7] /*c*/) /*MMLocalClass::compute_ancestors*/;
-    /* Register variable[9]: Result */
-    variable[9] = CALL_abstract_collection___MapRead___has_key( variable[3] /*map*/)( variable[3] /*map*/,  variable[7] /*c*/) /*CoupleMap::has_key*/;
-    if (UNTAG_Bool(variable[9])) { /*if*/
-      /* Register variable[9]: Result */
-      variable[9] = CALL_abstract_collection___MapRead_____bra( variable[3] /*map*/)( variable[3] /*map*/,  variable[7] /*c*/) /*CoupleMap::[]*/;
-      variable[8] = variable[9] /*set=*/;
-    } else { /*if*/
-      /* Register variable[9]: Result */
-      variable[9] = NEW_HashSet_hash___HashSet___init() /*new HashSet[MMAncestor]*/;
-      variable[8] = variable[9] /*set=*/;
-      CALL_abstract_collection___Map_____braeq( variable[3] /*map*/)( variable[3] /*map*/,  variable[7] /*c*/,  variable[8] /*set*/) /*HashMap::[]=*/;
+void inheritance___MMLocalClass___compute_super_parents(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 296;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___compute_super_parents;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 3;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[1]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[0] = ATTR_array___Array____items(fra.me.REG[1]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
     }
-    CALL_abstract_collection___SimpleCollection___add( variable[8] /*set*/)( variable[8] /*set*/,  variable[6] /*a*/) /*SimpleCollection::add*/;
-    continue_36: while(0);
-    CALL_abstract_collection___Iterator___next(variable[4])(variable[4]) /*ArrayIterator::next*/;
-  }
-  break_36: while(0);
-  variable[2] =  variable[3] /*map*/;
-  goto return_label35;
-  return_label35: while(false);
-  tracehead = trace.prev;
-  return variable[2];
-}
-val_t inheritance___MMLocalClass___merge_ancestors(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 287, LOCATE_inheritance___MMLocalClass___merge_ancestors};
-    static val_t once_value_40 = NIT_NULL; /* Once value for string variable[7]*/
-    static val_t once_value_41 = NIT_NULL; /* Once value for string variable[7]*/
-    static val_t once_value_42 = NIT_NULL; /* Once value for string variable[7]*/
-    static val_t once_value_43 = NIT_NULL; /* Once value for string variable[7]*/
-  val_t variable[13];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Local variable */
-  /* Register variable[4]: Result */
-  variable[4] = NEW_HashSet_hash___HashSet___init() /*new HashSet[MMAncestor]*/;
-  variable[3] = variable[4];
-  /* Register variable[4]: Local variable */
-  /* Register variable[5]: Result */
-  variable[5] = NEW_Array_array___Array___init() /*new Array[MMAncestor]*/;
-  variable[4] = variable[5];
-  /* Register variable[5]: For iterator */
-  variable[5] = CALL_abstract_collection___Collection___iterator( variable[1] /*set*/)( variable[1] /*set*/) /*Collection::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[6]: For 'is_ok' result */
-    variable[6] = CALL_abstract_collection___Iterator___is_ok(variable[5])(variable[5]) /*Iterator::is_ok*/;
-    if (!UNTAG_Bool(variable[6])) break; /*for*/
-    variable[6] = CALL_abstract_collection___Iterator___item(variable[5])(variable[5]) /*Iterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[7]: Local variable */
-    variable[7] = variable[6];
-    /* Register variable[8]: Local variable */
-    /* Register variable[9]: Result */
-    variable[9] = CALL_abstract_collection___Collection___iterator( variable[1] /*set*/)( variable[1] /*set*/) /*Collection::iterator*/;
-    variable[8] = variable[9];
-    /* Register variable[9]: Local variable */
-    variable[9] =  TAG_Bool(true);
-    while (true) { /*while*/
-      /* Register variable[10]: Result */
-      variable[10] = CALL_abstract_collection___Iterator___is_ok( variable[8] /*it*/)( variable[8] /*it*/) /*Iterator::is_ok*/;
-      /* Ensure var variable[10]: Left 'and' operand*/
-      if (UNTAG_Bool(variable[10])) { /* and */
-        variable[10] =  variable[9] /*search*/;
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[1]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[0]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
       }
-      /* Register variable[10]: Result */
-      if (!UNTAG_Bool(variable[10])) break; /* while*/
-      /* Register variable[10]: Local variable */
-      /* Register variable[11]: Result */
-      variable[11] = CALL_abstract_collection___Iterator___item( variable[8] /*it*/)( variable[8] /*it*/) /*Iterator::item*/;
-      /* Register variable[11]: Result */
-      variable[11] = TAG_Bool(( variable[7] /*t*/ == variable[11]) || (( variable[7] /*t*/ != NIT_NULL) && ((CALL_kernel___Object_____eqeq( variable[7] /*t*/)==kernel___Object_____eqeq)?(IS_EQUAL_NN( variable[7] /*t*/,variable[11])):(UNTAG_Bool(CALL_kernel___Object_____eqeq( variable[7] /*t*/)( variable[7] /*t*/, variable[11]) /*Object::==*/)))));
-      variable[10] = variable[11];
-      /* Register variable[11]: Result */
-      variable[11] = CALL_abstract_collection___Iterator___item( variable[8] /*it*/)( variable[8] /*it*/) /*Iterator::item*/;
-      /* Register variable[11]: Result */
-      variable[11] = CALL_abstract_collection___Collection___has( variable[3] /*marks*/)( variable[3] /*marks*/, variable[11]) /*HashSet::has*/;
-      variable[10] = variable[11] /*a=*/;
-      /* Register variable[11]: Result */
-      variable[11] = CALL_abstract_collection___Iterator___item( variable[8] /*it*/)( variable[8] /*it*/) /*Iterator::item*/;
-      /* Register variable[11]: Result */
-      variable[11] = CALL_static_type___MMAncestor___stype(variable[11])(variable[11]) /*MMAncestor::stype*/;
-      /* Register variable[12]: Result */
-      variable[12] = CALL_static_type___MMAncestor___stype( variable[7] /*t*/)( variable[7] /*t*/) /*MMAncestor::stype*/;
-      /* Register variable[11]: Result */
-      variable[11] = CALL_static_type___MMType_____l(variable[11])(variable[11], variable[12]) /*MMType::<*/;
-      variable[10] = variable[11] /*a=*/;
-      /* Register variable[11]: Result */
-      variable[11] = CALL_abstract_collection___Iterator___item( variable[8] /*it*/)( variable[8] /*it*/) /*Iterator::item*/;
-      /* Register variable[11]: Result */
-      variable[11] = TAG_Bool(( variable[7] /*t*/ == variable[11]) || (( variable[7] /*t*/ != NIT_NULL) && ((CALL_kernel___Object_____eqeq( variable[7] /*t*/)==kernel___Object_____eqeq)?(IS_EQUAL_NN( variable[7] /*t*/,variable[11])):(UNTAG_Bool(CALL_kernel___Object_____eqeq( variable[7] /*t*/)( variable[7] /*t*/, variable[11]) /*Object::==*/)))));
-      /* Ensure var variable[11]: Left 'or' operand*/
-      if (!UNTAG_Bool(variable[11])) { /* or */
-        /* Register variable[11]: Result */
-        variable[11] = CALL_abstract_collection___Iterator___item( variable[8] /*it*/)( variable[8] /*it*/) /*Iterator::item*/;
-        /* Register variable[11]: Result */
-        variable[11] = CALL_abstract_collection___Collection___has( variable[3] /*marks*/)( variable[3] /*marks*/, variable[11]) /*HashSet::has*/;
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[2] = ((Nit_NativeArray)fra.me.REG[0])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:300 */
+      CALL_inheritance___MMLocalClass___compute_super_classes(fra.me.REG[2])(fra.me.REG[2]);
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label1;
+    }
+  }
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return;
+}
+val_t inheritance___MMLocalClass___build_ancestors(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[5];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t REGB2;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 304;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___build_ancestors;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 6;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:307 */
+  fra.me.REG[1] = NEW_Array_array___Array___init();
+  /* ./metamodel//inheritance.nit:309 */
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____crhe(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(false);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
+      REGB0 = REGB1;
+    }
+  }
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 309);
+  }
+  /* ./metamodel//inheritance.nit:310 */
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____crhe(fra.me.REG[0]);
+  REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_inheritance, 310);
+  }
+  fra.me.REG[2] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[2])(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[3] = ATTR_array___Array____items(fra.me.REG[2]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[2]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
       }
-      /* Register variable[11]: Result */
-      variable[11] =  TAG_Bool(!UNTAG_Bool(variable[11])) /* Ensure var: Left 'and' operand*/;
-      if (UNTAG_Bool(variable[11])) { /* and */
-        /* Register variable[11]: Result */
-        variable[11] = CALL_abstract_collection___Iterator___item( variable[8] /*it*/)( variable[8] /*it*/) /*Iterator::item*/;
-        /* Register variable[11]: Result */
-        variable[11] = CALL_static_type___MMAncestor___stype(variable[11])(variable[11]) /*MMAncestor::stype*/;
-        /* Register variable[12]: Result */
-        variable[12] = CALL_static_type___MMAncestor___stype( variable[7] /*t*/)( variable[7] /*t*/) /*MMAncestor::stype*/;
-        /* Register variable[11]: Result */
-        variable[11] = CALL_static_type___MMType_____l(variable[11])(variable[11], variable[12]) /*MMType::<*/;
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[4] = ((Nit_NativeArray)fra.me.REG[3])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:311 */
+      REGB1 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[4],fra.me.REG[0]));
+      if (UNTAG_Bool(REGB1)) {
+      } else {
+        REGB2 = CALL_kernel___Object_____eqeq(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[0]);
+        REGB1 = REGB2;
       }
-      /* Register variable[11]: Result */
-      if (UNTAG_Bool(variable[11])) { /*if*/
-        CALL_abstract_collection___SimpleCollection___add( variable[3] /*marks*/)( variable[3] /*marks*/,  variable[7] /*t*/) /*HashSet::add*/;
-        variable[9] =  TAG_Bool(false) /*search=*/;
+      REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
+      if (UNTAG_Bool(REGB1)) {
+      } else {
+        nit_abort("Assert failed", NULL, LOCATE_inheritance, 311);
       }
-      CALL_abstract_collection___Iterator___next( variable[8] /*it*/)( variable[8] /*it*/) /*Iterator::next*/;
-      continue_39: while(0);
+      /* ./metamodel//inheritance.nit:312 */
+      fra.me.REG[4] = NEW_MMRefineAncestor_inheritance___MMRefineAncestor___init(fra.me.REG[0], fra.me.REG[4]);
+      /* ./metamodel//inheritance.nit:313 */
+      CALL_inheritance___MMAncestor___add_in(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[1]);
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label1;
     }
-    break_39: while(0);
-    /* Register variable[10]: Result */
-    variable[10] = CALL_abstract_collection___Collection___has( variable[3] /*marks*/)( variable[3] /*marks*/,  variable[7] /*t*/) /*HashSet::has*/;
-    if (UNTAG_Bool( TAG_Bool(!UNTAG_Bool(variable[10])))) { /*if*/
-      CALL_abstract_collection___SimpleCollection___add( variable[4] /*res*/)( variable[4] /*res*/,  variable[7] /*t*/) /*AbstractArray::add*/;
-    }
-    continue_38: while(0);
-    CALL_abstract_collection___Iterator___next(variable[5])(variable[5]) /*Iterator::next*/;
-  }
-  break_38: while(0);
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstract_collection___Collection___length( variable[4] /*res*/)( variable[4] /*res*/) /*AbstractArrayRead::length*/;
-  /* Register variable[5]: Result */
-  variable[5] = TAG_Bool(UNTAG_Int(variable[5])>UNTAG_Int( TAG_Int(1)));
-  if (UNTAG_Bool(variable[5])) { /*if*/
-    /* Register variable[5]: Result */
-    variable[5] = CALL_file___Object___stderr(variable[0])(variable[0]) /*Object::stderr*/;
-    variable[6] = NEW_Array_array___Array___with_capacity(TAG_Int(5)) /*new Array[String]*/ /* Ensure var: Array (for super-string)*/;
-    /* Register variable[7]: Once String constant */
-    if (once_value_40 != NIT_NULL) variable[7] = once_value_40;
-    else {
-      variable[7] = NEW_String_string___String___with_native(BOX_NativeString("Fatal error: Incompatibles ancestors for "), TAG_Int(41)) /*new String*/;
-      once_value_40 = variable[7];
+  }
+  label1: while(0);
+  /* ./metamodel//inheritance.nit:315 */
+  REGB0 = TAG_Bool(ATTR_inheritance___MMLocalClass____direct_parents(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_direct_parents", LOCATE_inheritance, 315);
+  }
+  fra.me.REG[3] = ATTR_inheritance___MMLocalClass____direct_parents(fra.me.REG[0]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[2] = ATTR_array___Array____items(fra.me.REG[3]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
     }
-    /* Register variable[7]: Result */
-    /* Ensure var variable[7]: super-string element*/
-    CALL_abstract_collection___SimpleCollection___add(variable[6])(variable[6], variable[7]) /*AbstractArray::add*/;
-    /* Register variable[7]: Result */
-    variable[7] = CALL_abstractmetamodel___MMLocalClass___name(variable[0])(variable[0]) /*MMLocalClass::name*/;
-    /* Ensure var variable[7]: super-string element*/
-    CALL_abstract_collection___SimpleCollection___add(variable[6])(variable[6], CALL_string___Object___to_s(variable[7])(variable[7]) /*Object::to_s*/) /*AbstractArray::add*/;
-    /* Register variable[7]: Once String constant */
-    if (once_value_41 != NIT_NULL) variable[7] = once_value_41;
-    else {
-      variable[7] = NEW_String_string___String___with_native(BOX_NativeString(": "), TAG_Int(2)) /*new String*/;
-      once_value_41 = variable[7];
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
+      }
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[4] = ((Nit_NativeArray)fra.me.REG[2])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:316 */
+      fra.me.REG[5] = CALL_static_type___MMAncestor___local_class(fra.me.REG[4])(fra.me.REG[4]);
+      REGB1 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[5],fra.me.REG[0]));
+      if (UNTAG_Bool(REGB1)) {
+      } else {
+        REGB2 = CALL_kernel___Object_____eqeq(fra.me.REG[5])(fra.me.REG[5], fra.me.REG[0]);
+        REGB1 = REGB2;
+      }
+      REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
+      if (UNTAG_Bool(REGB1)) {
+      } else {
+        nit_abort("Assert failed", NULL, LOCATE_inheritance, 316);
+      }
+      /* ./metamodel//inheritance.nit:317 */
+      CALL_inheritance___MMAncestor___add_in(fra.me.REG[4])(fra.me.REG[4], fra.me.REG[1]);
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label2;
     }
-    /* Register variable[7]: Result */
-    /* Ensure var variable[7]: super-string element*/
-    CALL_abstract_collection___SimpleCollection___add(variable[6])(variable[6], variable[7]) /*AbstractArray::add*/;
-    /* Register variable[7]: Once String constant */
-    if (once_value_42 != NIT_NULL) variable[7] = once_value_42;
-    else {
-      variable[7] = NEW_String_string___String___with_native(BOX_NativeString(", "), TAG_Int(2)) /*new String*/;
-      once_value_42 = variable[7];
+  }
+  label2: while(0);
+  /* ./metamodel//inheritance.nit:319 */
+  goto label3;
+  label3: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[1];
+}
+val_t inheritance___MMLocalClass___group_ancestors(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[6];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 322;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___group_ancestors;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 7;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[6] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:326 */
+  fra.me.REG[0] = NEW_HashMap_hash_collection___HashMap___init();
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[1]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[2] = ATTR_array___Array____items(fra.me.REG[1]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
     }
-    /* Register variable[7]: Result */
-    /* Register variable[7]: Result */
-    variable[7] = CALL_string___Collection___join( variable[4] /*res*/)( variable[4] /*res*/, variable[7]) /*Collection::join*/;
-    /* Ensure var variable[7]: super-string element*/
-    CALL_abstract_collection___SimpleCollection___add(variable[6])(variable[6], variable[7]) /*AbstractArray::add*/;
-    /* Register variable[7]: Once String constant */
-    if (once_value_43 != NIT_NULL) variable[7] = once_value_43;
-    else {
-      variable[7] = NEW_String_string___String___with_native(BOX_NativeString("\n"), TAG_Int(1)) /*new String*/;
-      once_value_43 = variable[7];
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[1]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
+      }
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[3] = ((Nit_NativeArray)fra.me.REG[2])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:328 */
+      fra.me.REG[4] = CALL_static_type___MMAncestor___local_class(fra.me.REG[3])(fra.me.REG[3]);
+      /* ./metamodel//inheritance.nit:332 */
+      CALL_inheritance___MMLocalClass___compute_ancestors(fra.me.REG[4])(fra.me.REG[4]);
+      /* ./metamodel//inheritance.nit:333 */
+      REGB1 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[4]);
+      if (UNTAG_Bool(REGB1)) {
+        /* ./metamodel//inheritance.nit:334 */
+        fra.me.REG[5] = CALL_abstract_collection___MapRead_____bra(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[4]);
+      } else {
+        /* ./metamodel//inheritance.nit:336 */
+        fra.me.REG[6] = NEW_HashSet_hash_collection___HashSet___init();
+        fra.me.REG[5] = fra.me.REG[6];
+        /* ./metamodel//inheritance.nit:337 */
+        CALL_abstract_collection___Map_____braeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[4], fra.me.REG[5]);
+      }
+      /* ./metamodel//inheritance.nit:339 */
+      CALL_abstract_collection___SimpleCollection___add(fra.me.REG[5])(fra.me.REG[5], fra.me.REG[3]);
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label1;
     }
-    /* Register variable[7]: Result */
-    /* Ensure var variable[7]: super-string element*/
-    CALL_abstract_collection___SimpleCollection___add(variable[6])(variable[6], variable[7]) /*AbstractArray::add*/;
-    /* Register variable[6]: Result */
-    variable[6] = CALL_string___Object___to_s(variable[6])(variable[6]) /*Object::to_s*/;
-    CALL_stream___OStream___write(variable[5])(variable[5], variable[6]) /*OFStream::write*/;
-    exit(UNTAG_Int( TAG_Int(1)));
-  }
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstract_collection___Collection___first( variable[4] /*res*/)( variable[4] /*res*/) /*IndexedCollectionRead::first*/;
-  variable[2] = variable[5];
-  goto return_label37;
-  return_label37: while(false);
-  tracehead = trace.prev;
-  return variable[2];
+  }
+  label1: while(0);
+  /* ./metamodel//inheritance.nit:341 */
+  goto label2;
+  label2: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[0];
 }
-val_t inheritance___MMLocalClass___inherit_local_property(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 320, LOCATE_inheritance___MMLocalClass___inherit_local_property};
-        static val_t once_value_46 = NIT_NULL; /* Once value for string variable[9]*/
-        static val_t once_value_47 = NIT_NULL; /* Once value for string variable[9]*/
-        static val_t once_value_48 = NIT_NULL; /* Once value for string variable[9]*/
-        static val_t once_value_49 = NIT_NULL; /* Once value for string variable[9]*/
-        static val_t once_value_50 = NIT_NULL; /* Once value for string variable[9]*/
-          static val_t once_value_52 = NIT_NULL; /* Once value for string variable[12]*/
-          static val_t once_value_53 = NIT_NULL; /* Once value for string variable[12]*/
-        static val_t once_value_54 = NIT_NULL; /* Once value for string variable[9]*/
-        static val_t once_value_55 = NIT_NULL; /* Once value for string variable[9]*/
-        static val_t once_value_56 = NIT_NULL; /* Once value for string variable[9]*/
-        static val_t once_value_57 = NIT_NULL; /* Once value for string variable[9]*/
-  val_t variable[13];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Result */
-  variable[3] = ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(variable[0]) /*MMLocalClass::_local_property_by_global*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_abstract_collection___MapRead___has_key(variable[3])(variable[3],  variable[1] /*glob*/) /*MapRead::has_key*/;
-  if (!UNTAG_Bool( TAG_Bool(!UNTAG_Bool(variable[3])))) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___inherit_local_property, LOCATE_inheritance, 325); nit_exit(1);}
-  /* Register variable[3]: Result */
-  variable[3] = TAG_Bool(!UNTAG_Bool(TAG_Bool(( variable[1] /*glob*/ ==  NIT_NULL /*null*/) || (( variable[1] /*glob*/ != NIT_NULL) && ((CALL_kernel___Object_____eqeq( variable[1] /*glob*/)==kernel___Object_____eqeq)?(IS_EQUAL_NN( variable[1] /*glob*/, NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq( variable[1] /*glob*/)( variable[1] /*glob*/,  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[3])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMLocalClass___inherit_local_property, LOCATE_inheritance, 326); nit_exit(1);}
-  /* Register variable[3]: Local variable */
-  /*variable[3] is variable impl*/
-  /* Register variable[4]: Local variable */
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstractmetamodel___MMGlobalProperty___property_hierarchy( variable[1] /*glob*/)( variable[1] /*glob*/) /*MMGlobalProperty::property_hierarchy*/;
-  variable[4] = variable[5];
-  /* Register variable[5]: Local variable */
-  /* Register variable[6]: Result */
-  variable[6] = CALL_abstractmetamodel___MMLocalClass___che(variable[0])(variable[0]) /*MMLocalClass::che*/;
-  /* Register variable[6]: Result */
-  variable[6] = CALL_partial_order___PartialOrderElement___direct_greaters(variable[6])(variable[6]) /*PartialOrderElement::direct_greaters*/;
-  variable[5] = variable[6];
-  /* Register variable[6]: Result */
-  variable[6] = CALL_abstract_collection___Collection___length( variable[4] /*ghier*/)( variable[4] /*ghier*/) /*PartialOrder::length*/;
-  /* Register variable[6]: Result */
-  variable[6] = TAG_Bool((variable[6])==( TAG_Int(1)));
-  if (UNTAG_Bool(variable[6])) { /*if*/
-    /* Register variable[6]: Result */
-    variable[6] = CALL_abstractmetamodel___MMGlobalProperty___intro( variable[1] /*glob*/)( variable[1] /*glob*/) /*MMGlobalProperty::intro*/;
-    variable[3] = variable[6] /*impl=*/;
-  } else { /*if*/
-    /* Register variable[6]: Result */
-    variable[6] = CALL_abstract_collection___Collection___length( variable[5] /*supers*/)( variable[5] /*supers*/) /*AbstractArrayRead::length*/;
-    /* Register variable[6]: Result */
-    variable[6] = TAG_Bool((variable[6])==( TAG_Int(1)));
-    if (UNTAG_Bool(variable[6])) { /*if*/
-      /* Register variable[6]: Result */
-      variable[6] = CALL_abstract_collection___Collection___first( variable[5] /*supers*/)( variable[5] /*supers*/) /*IndexedCollectionRead::first*/;
-      /* Register variable[6]: Result */
-      variable[6] = CALL_abstractmetamodel___MMLocalClass_____bra(variable[6])(variable[6],  variable[1] /*glob*/) /*MMLocalClass::[]*/;
-      variable[3] = variable[6] /*impl=*/;
-    } else { /*if*/
-      /* Register variable[6]: Local variable */
-      /* Register variable[7]: Result */
-      variable[7] = NEW_ArraySet_array___ArraySet___init() /*new ArraySet[MMLocalProperty]*/;
-      variable[6] = variable[7];
-      /* Register variable[7]: For iterator */
-      variable[7] = CALL_abstract_collection___Collection___iterator( variable[5] /*supers*/)( variable[5] /*supers*/) /*AbstractArrayRead::iterator*/;
-      while (true) { /*for*/
-        /* Register variable[8]: For 'is_ok' result */
-        variable[8] = CALL_abstract_collection___Iterator___is_ok(variable[7])(variable[7]) /*ArrayIterator::is_ok*/;
-        if (!UNTAG_Bool(variable[8])) break; /*for*/
-        variable[8] = CALL_abstract_collection___Iterator___item(variable[7])(variable[7]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-        /* Register variable[9]: Local variable */
-        variable[9] = variable[8];
-        /* Register variable[10]: Result */
-        variable[10] = CALL_abstractmetamodel___MMLocalClass___has_global_property( variable[9] /*sc*/)( variable[9] /*sc*/,  variable[1] /*glob*/) /*MMLocalClass::has_global_property*/;
-        if (UNTAG_Bool(variable[10])) { /*if*/
-          /* Register variable[10]: Result */
-          variable[10] = CALL_abstractmetamodel___MMLocalClass_____bra( variable[9] /*sc*/)( variable[9] /*sc*/,  variable[1] /*glob*/) /*MMLocalClass::[]*/;
-          CALL_abstract_collection___SimpleCollection___add( variable[6] /*impls*/)( variable[6] /*impls*/, variable[10]) /*ArraySet::add*/;
-        }
-        continue_45: while(0);
-        CALL_abstract_collection___Iterator___next(variable[7])(variable[7]) /*ArrayIterator::next*/;
+val_t inheritance___MMLocalClass___merge_ancestors(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[4];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+    static val_t once_value_3; /* Once value */
+    static val_t once_value_4; /* Once value */
+    static val_t once_value_5; /* Once value */
+    static val_t once_value_6; /* Once value */
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 344;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___merge_ancestors;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 5;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:347 */
+  fra.me.REG[2] = NEW_HashSet_hash_collection___HashSet___init();
+  /* ./metamodel//inheritance.nit:348 */
+  fra.me.REG[3] = NEW_Array_array___Array___init();
+  CALL_abstract_collection___Collection___iterate(fra.me.REG[1])(fra.me.REG[1], (&(fra.me)), ((fun_t)OC_inheritance___MMLocalClass___merge_ancestors_1));
+  /* ./../lib/standard//collection//array.nit:23 */
+  REGB0 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+  }
+  REGB0 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+  /* ./metamodel//inheritance.nit:370 */
+  REGB1 = TAG_Int(1);
+  /* ./../lib/standard//kernel.nit:214 */
+  REGB1 = TAG_Bool(UNTAG_Int(REGB0)>UNTAG_Int(REGB1));
+  /* ./metamodel//inheritance.nit:370 */
+  if (UNTAG_Bool(REGB1)) {
+    /* ./metamodel//inheritance.nit:371 */
+    fra.me.REG[2] = CALL_file___Object___stderr(fra.me.REG[0])(fra.me.REG[0]);
+    REGB1 = TAG_Int(5);
+    fra.me.REG[1] = NEW_Array_array___Array___with_capacity(REGB1);
+    if (!once_value_3) {
+      fra.me.REG[4] = BOX_NativeString("Fatal error: Incompatibles ancestors for ");
+      REGB1 = TAG_Int(41);
+      fra.me.REG[4] = NEW_String_string___String___with_native(fra.me.REG[4], REGB1);
+      once_value_3 = fra.me.REG[4];
+      register_static_object(&once_value_3);
+    } else fra.me.REG[4] = once_value_3;
+    fra.me.REG[4] = fra.me.REG[4];
+    CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[4]);
+    fra.me.REG[4] = CALL_abstractmetamodel___MMLocalClass___name(fra.me.REG[0])(fra.me.REG[0]);
+    fra.me.REG[4] = CALL_string___Object___to_s(fra.me.REG[4])(fra.me.REG[4]);
+    CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[4]);
+    if (!once_value_4) {
+      fra.me.REG[4] = BOX_NativeString(": ");
+      REGB1 = TAG_Int(2);
+      fra.me.REG[4] = NEW_String_string___String___with_native(fra.me.REG[4], REGB1);
+      once_value_4 = fra.me.REG[4];
+      register_static_object(&once_value_4);
+    } else fra.me.REG[4] = once_value_4;
+    fra.me.REG[4] = fra.me.REG[4];
+    CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[4]);
+    if (!once_value_5) {
+      fra.me.REG[4] = BOX_NativeString(", ");
+      REGB1 = TAG_Int(2);
+      fra.me.REG[4] = NEW_String_string___String___with_native(fra.me.REG[4], REGB1);
+      once_value_5 = fra.me.REG[4];
+      register_static_object(&once_value_5);
+    } else fra.me.REG[4] = once_value_5;
+    fra.me.REG[4] = fra.me.REG[4];
+    fra.me.REG[4] = CALL_string___Collection___join(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[4]);
+    CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[4]);
+    if (!once_value_6) {
+      fra.me.REG[4] = BOX_NativeString("\n");
+      REGB1 = TAG_Int(1);
+      fra.me.REG[4] = NEW_String_string___String___with_native(fra.me.REG[4], REGB1);
+      once_value_6 = fra.me.REG[4];
+      register_static_object(&once_value_6);
+    } else fra.me.REG[4] = once_value_6;
+    fra.me.REG[4] = fra.me.REG[4];
+    CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[4]);
+    fra.me.REG[1] = CALL_string___Object___to_s(fra.me.REG[1])(fra.me.REG[1]);
+    CALL_stream___OStream___write(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+    /* ./metamodel//inheritance.nit:372 */
+    REGB1 = TAG_Int(1);
+    CALL_kernel___Object___exit(fra.me.REG[0])(fra.me.REG[0], REGB1);
+  }
+  /* ./metamodel//inheritance.nit:374 */
+  fra.me.REG[3] = CALL_abstract_collection___Collection___first(fra.me.REG[3])(fra.me.REG[3]);
+  goto label7;
+  label7: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[3];
+}
+  void OC_inheritance___MMLocalClass___merge_ancestors_1(struct stack_frame_t *closctx, val_t p0, struct stack_frame_t *closctx_param, fun_t clos_fun0){
+    struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+    val_t REGB0;
+    val_t REGB1;
+    val_t REGB2;
+    fun_t CREG[1];
+    val_t tmp;
+    /* ./metamodel//inheritance.nit:349 */
+    fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+    fra.me.file = LOCATE_inheritance;
+    fra.me.line = 0;
+    fra.me.meth = LOCATE_inheritance___MMLocalClass___merge_ancestors;
+    fra.me.has_broke = 0;
+    fra.me.REG_size = 4;
+    fra.me.REG[0] = NIT_NULL;
+    fra.me.REG[1] = NIT_NULL;
+    fra.me.REG[2] = NIT_NULL;
+    fra.me.REG[3] = NIT_NULL;
+    fra.me.closure_ctx = closctx_param;
+    fra.me.closure_funs = CREG;
+    fra.me.REG[0] = p0;
+    CREG[0] = clos_fun0;
+    /* ./metamodel//inheritance.nit:350 */
+    fra.me.REG[1] = CALL_abstract_collection___Collection___iterator(closctx->REG[1])(closctx->REG[1]);
+    /* ./metamodel//inheritance.nit:351 */
+    REGB0 = TAG_Bool(true);
+    /* ./metamodel//inheritance.nit:352 */
+    while(1) {
+      REGB1 = CALL_abstract_collection___Iterator___is_ok(fra.me.REG[1])(fra.me.REG[1]);
+      if (UNTAG_Bool(REGB1)) {
+        REGB1 = REGB0;
+      } else {
+        REGB2 = TAG_Bool(false);
+        REGB1 = REGB2;
       }
-      break_45: while(0);
-      /* Register variable[7]: Local variable */
-      /* Register variable[8]: Result */
-      variable[8] = CALL_partial_order___PartialOrder___select_smallests( variable[4] /*ghier*/)( variable[4] /*ghier*/,  variable[6] /*impls*/) /*PartialOrder::select_smallests*/;
-      variable[7] = variable[8];
-      /* Register variable[8]: Result */
-      variable[8] = CALL_abstract_collection___Collection___length( variable[7] /*impls2*/)( variable[7] /*impls2*/) /*AbstractArrayRead::length*/;
-      /* Register variable[8]: Result */
-      variable[8] = TAG_Bool((variable[8])!=( TAG_Int(1)));
-      if (UNTAG_Bool(variable[8])) { /*if*/
-        /* Register variable[8]: Result */
-        variable[8] = CALL_file___Object___stderr(variable[0])(variable[0]) /*Object::stderr*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_46 != NIT_NULL) variable[9] = once_value_46;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString("Fatal error: inherit_local_property error\n"), TAG_Int(42)) /*new String*/;
-          once_value_46 = variable[9];
-        }
-        /* Register variable[9]: Result */
-        CALL_stream___OStream___write(variable[8])(variable[8], variable[9]) /*OFStream::write*/;
-        variable[8] = NEW_Array_array___Array___with_capacity(TAG_Int(7)) /*new Array[String]*/ /* Ensure var: Array (for super-string)*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_47 != NIT_NULL) variable[9] = once_value_47;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString("------- "), TAG_Int(8)) /*new String*/;
-          once_value_47 = variable[9];
+      if (UNTAG_Bool(REGB1)) {
+        /* ./metamodel//inheritance.nit:354 */
+        fra.me.REG[2] = CALL_abstract_collection___Iterator___item(fra.me.REG[1])(fra.me.REG[1]);
+        REGB1 = TAG_Bool(IS_EQUAL_ON(fra.me.REG[0],fra.me.REG[2]));
+        if (UNTAG_Bool(REGB1)) {
+        } else {
+          REGB2 = CALL_kernel___Object_____eqeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+          REGB1 = REGB2;
         }
-        /* Register variable[9]: Result */
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[9]: Result */
-        variable[9] = CALL_abstractmetamodel___MMLocalClass___module(variable[0])(variable[0]) /*MMLocalClass::module*/;
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], CALL_string___Object___to_s(variable[9])(variable[9]) /*Object::to_s*/) /*AbstractArray::add*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_48 != NIT_NULL) variable[9] = once_value_48;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString("::"), TAG_Int(2)) /*new String*/;
-          once_value_48 = variable[9];
+        /* ./metamodel//inheritance.nit:355 */
+        fra.me.REG[2] = CALL_abstract_collection___Iterator___item(fra.me.REG[1])(fra.me.REG[1]);
+        REGB1 = CALL_abstract_collection___Collection___has(closctx->REG[2])(closctx->REG[2], fra.me.REG[2]);
+        /* ./metamodel//inheritance.nit:356 */
+        fra.me.REG[2] = CALL_abstract_collection___Iterator___item(fra.me.REG[1])(fra.me.REG[1]);
+        REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+        if (UNTAG_Bool(REGB1)) {
+          nit_abort("Reciever is null", NULL, LOCATE_inheritance, 356);
         }
-        /* Register variable[9]: Result */
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Ensure var variable[0]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], CALL_string___Object___to_s(variable[0])(variable[0]) /*Object::to_s*/) /*AbstractArray::add*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_49 != NIT_NULL) variable[9] = once_value_49;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString(" "), TAG_Int(1)) /*new String*/;
-          once_value_49 = variable[9];
+        fra.me.REG[2] = CALL_static_type___MMAncestor___stype(fra.me.REG[2])(fra.me.REG[2]);
+        fra.me.REG[3] = CALL_static_type___MMAncestor___stype(fra.me.REG[0])(fra.me.REG[0]);
+        REGB1 = CALL_static_type___MMType_____l(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
+        /* ./metamodel//inheritance.nit:358 */
+        fra.me.REG[3] = CALL_abstract_collection___Iterator___item(fra.me.REG[1])(fra.me.REG[1]);
+        REGB1 = TAG_Bool(IS_EQUAL_ON(fra.me.REG[0],fra.me.REG[3]));
+        if (UNTAG_Bool(REGB1)) {
+        } else {
+          REGB2 = CALL_kernel___Object_____eqeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[3]);
+          REGB1 = REGB2;
         }
-        /* Register variable[9]: Result */
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[9]: Result */
-        variable[9] = CALL_abstractmetamodel___MMGlobalProperty___intro( variable[1] /*glob*/)( variable[1] /*glob*/) /*MMGlobalProperty::intro*/;
-        /* Register variable[9]: Result */
-        variable[9] = CALL_abstractmetamodel___MMLocalProperty___full_name(variable[9])(variable[9]) /*MMLocalProperty::full_name*/;
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_50 != NIT_NULL) variable[9] = once_value_50;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString(""), TAG_Int(0)) /*new String*/;
-          once_value_50 = variable[9];
+        if (UNTAG_Bool(REGB1)) {
+          REGB1 = TAG_Bool(true);
+        } else {
+          fra.me.REG[3] = CALL_abstract_collection___Iterator___item(fra.me.REG[1])(fra.me.REG[1]);
+          REGB2 = CALL_abstract_collection___Collection___has(closctx->REG[2])(closctx->REG[2], fra.me.REG[3]);
+          REGB1 = REGB2;
         }
-        /* Register variable[9]: Result */
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[8]: Result */
-        variable[8] = CALL_string___Object___to_s(variable[8])(variable[8]) /*Object::to_s*/;
-        CALL_file___Object___print(variable[0])(variable[0], variable[8]) /*Object::print*/;
-        /* Register variable[8]: For iterator */
-        variable[8] = CALL_abstract_collection___Collection___iterator( variable[7] /*impls2*/)( variable[7] /*impls2*/) /*AbstractArrayRead::iterator*/;
-        while (true) { /*for*/
-          /* Register variable[9]: For 'is_ok' result */
-          variable[9] = CALL_abstract_collection___Iterator___is_ok(variable[8])(variable[8]) /*ArrayIterator::is_ok*/;
-          if (!UNTAG_Bool(variable[9])) break; /*for*/
-          variable[9] = CALL_abstract_collection___Iterator___item(variable[8])(variable[8]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-          /* Register variable[10]: Local variable */
-          variable[10] = variable[9];
-          variable[11] = NEW_Array_array___Array___with_capacity(TAG_Int(3)) /*new Array[String]*/ /* Ensure var: Array (for super-string)*/;
-          /* Register variable[12]: Once String constant */
-          if (once_value_52 != NIT_NULL) variable[12] = once_value_52;
-          else {
-            variable[12] = NEW_String_string___String___with_native(BOX_NativeString("   "), TAG_Int(3)) /*new String*/;
-            once_value_52 = variable[12];
-          }
-          /* Register variable[12]: Result */
-          /* Ensure var variable[12]: super-string element*/
-          CALL_abstract_collection___SimpleCollection___add(variable[11])(variable[11], variable[12]) /*AbstractArray::add*/;
-          /* Register variable[12]: Result */
-          variable[12] = CALL_abstractmetamodel___MMLocalProperty___full_name( variable[10] /*i*/)( variable[10] /*i*/) /*MMLocalProperty::full_name*/;
-          /* Ensure var variable[12]: super-string element*/
-          CALL_abstract_collection___SimpleCollection___add(variable[11])(variable[11], variable[12]) /*AbstractArray::add*/;
-          /* Register variable[12]: Once String constant */
-          if (once_value_53 != NIT_NULL) variable[12] = once_value_53;
-          else {
-            variable[12] = NEW_String_string___String___with_native(BOX_NativeString(""), TAG_Int(0)) /*new String*/;
-            once_value_53 = variable[12];
+        REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
+        if (UNTAG_Bool(REGB1)) {
+          /* ./metamodel//inheritance.nit:359 */
+          fra.me.REG[3] = CALL_abstract_collection___Iterator___item(fra.me.REG[1])(fra.me.REG[1]);
+          REGB1 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+          if (UNTAG_Bool(REGB1)) {
+            nit_abort("Reciever is null", NULL, LOCATE_inheritance, 359);
           }
-          /* Register variable[12]: Result */
-          /* Ensure var variable[12]: super-string element*/
-          CALL_abstract_collection___SimpleCollection___add(variable[11])(variable[11], variable[12]) /*AbstractArray::add*/;
-          /* Register variable[11]: Result */
-          variable[11] = CALL_string___Object___to_s(variable[11])(variable[11]) /*Object::to_s*/;
-          CALL_file___Object___print(variable[0])(variable[0], variable[11]) /*Object::print*/;
-          continue_51: while(0);
-          CALL_abstract_collection___Iterator___next(variable[8])(variable[8]) /*ArrayIterator::next*/;
+          fra.me.REG[3] = CALL_static_type___MMAncestor___stype(fra.me.REG[3])(fra.me.REG[3]);
+          fra.me.REG[2] = CALL_static_type___MMAncestor___stype(fra.me.REG[0])(fra.me.REG[0]);
+          REGB1 = CALL_static_type___MMType_____l(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[2]);
+        } else {
+          /* ./metamodel//inheritance.nit:358 */
+          REGB2 = TAG_Bool(false);
+          REGB1 = REGB2;
         }
-        break_51: while(0);
-        variable[8] = NEW_Array_array___Array___with_capacity(TAG_Int(3)) /*new Array[String]*/ /* Ensure var: Array (for super-string)*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_54 != NIT_NULL) variable[9] = once_value_54;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString("------- "), TAG_Int(8)) /*new String*/;
-          once_value_54 = variable[9];
+        if (UNTAG_Bool(REGB1)) {
+          /* ./metamodel//inheritance.nit:360 */
+          CALL_abstract_collection___SimpleCollection___add(closctx->REG[2])(closctx->REG[2], fra.me.REG[0]);
+          /* ./metamodel//inheritance.nit:361 */
+          REGB1 = TAG_Bool(false);
+          REGB0 = REGB1;
+        }
+        /* ./metamodel//inheritance.nit:363 */
+        CALL_abstract_collection___Iterator___next(fra.me.REG[1])(fra.me.REG[1]);
+      } else {
+        /* ./metamodel//inheritance.nit:352 */
+        goto label2;
+      }
+    }
+    label2: while(0);
+    /* ./metamodel//inheritance.nit:365 */
+    REGB0 = CALL_abstract_collection___Collection___has(closctx->REG[2])(closctx->REG[2], fra.me.REG[0]);
+    REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+    if (UNTAG_Bool(REGB0)) {
+      /* ./metamodel//inheritance.nit:366 */
+      CALL_abstract_collection___SimpleCollection___add(closctx->REG[3])(closctx->REG[3], fra.me.REG[0]);
+    }
+    stack_frame_head = fra.me.prev;
+    return;
+  }
+val_t inheritance___MMLocalClass___inherit_local_property(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[8];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t REGB2;
+  val_t tmp;
+        static val_t once_value_2; /* Once value */
+        static val_t once_value_3; /* Once value */
+        static val_t once_value_4; /* Once value */
+        static val_t once_value_5; /* Once value */
+        static val_t once_value_6; /* Once value */
+            static val_t once_value_7; /* Once value */
+            static val_t once_value_8; /* Once value */
+        static val_t once_value_10; /* Once value */
+        static val_t once_value_11; /* Once value */
+        static val_t once_value_12; /* Once value */
+        static val_t once_value_13; /* Once value */
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 377;
+  fra.me.meth = LOCATE_inheritance___MMLocalClass___inherit_local_property;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 9;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[6] = NIT_NULL;
+  fra.me.REG[7] = NIT_NULL;
+  fra.me.REG[8] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:382 */
+  REGB0 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_local_property_by_global", LOCATE_inheritance, 382);
+  }
+  fra.me.REG[2] = ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(fra.me.REG[0]);
+  REGB0 = CALL_abstract_collection___MapRead___has_key(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[1]);
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert failed", NULL, LOCATE_inheritance, 382);
+  }
+  /* ./metamodel//inheritance.nit:386 */
+  fra.me.REG[2] = CALL_abstractmetamodel___MMGlobalProperty___property_hierarchy(fra.me.REG[1])(fra.me.REG[1]);
+  /* ./metamodel//inheritance.nit:387 */
+  fra.me.REG[3] = CALL_abstractmetamodel___MMLocalClass___che(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[3] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[3])(fra.me.REG[3]);
+  /* ./metamodel//inheritance.nit:388 */
+  REGB0 = CALL_abstract_collection___Collection___length(fra.me.REG[2])(fra.me.REG[2]);
+  REGB1 = TAG_Int(1);
+  REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1));
+  if (UNTAG_Bool(REGB2)) {
+  } else {
+    /* ./../lib/standard//kernel.nit:207 */
+    REGB1 = TAG_Bool((REGB0)==(REGB1));
+    /* ./metamodel//inheritance.nit:388 */
+    REGB2 = REGB1;
+  }
+  if (UNTAG_Bool(REGB2)) {
+    /* ./metamodel//inheritance.nit:390 */
+    fra.me.REG[4] = CALL_abstractmetamodel___MMGlobalProperty___intro(fra.me.REG[1])(fra.me.REG[1]);
+  } else {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB2 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB2 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+    /* ./metamodel//inheritance.nit:391 */
+    REGB1 = TAG_Int(1);
+    REGB0 = TAG_Bool(IS_EQUAL_OO(REGB2,REGB1));
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      /* ./../lib/standard//kernel.nit:207 */
+      REGB1 = TAG_Bool((REGB2)==(REGB1));
+      /* ./metamodel//inheritance.nit:391 */
+      REGB0 = REGB1;
+    }
+    if (UNTAG_Bool(REGB0)) {
+      /* ./metamodel//inheritance.nit:393 */
+      fra.me.REG[5] = CALL_abstract_collection___Collection___first(fra.me.REG[3])(fra.me.REG[3]);
+      REGB0 = TAG_Bool(fra.me.REG[5]==NIT_NULL);
+      if (UNTAG_Bool(REGB0)) {
+        nit_abort("Reciever is null", NULL, LOCATE_inheritance, 393);
+      }
+      fra.me.REG[5] = CALL_abstractmetamodel___MMLocalClass_____bra(fra.me.REG[5])(fra.me.REG[5], fra.me.REG[1]);
+      fra.me.REG[4] = fra.me.REG[5];
+    } else {
+      /* ./metamodel//inheritance.nit:397 */
+      fra.me.REG[5] = NEW_ArraySet_array___ArraySet___init();
+      /* ./../lib/standard//collection//array.nit:234 */
+      REGB0 = TAG_Int(0);
+      /* ./../lib/standard//collection//array.nit:235 */
+      REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+      } else {
+        nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+      }
+      REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+      /* ./../lib/standard//collection//array.nit:236 */
+      fra.me.REG[6] = ATTR_array___Array____items(fra.me.REG[3]);
+      /* ./../lib/standard//collection//array.nit:237 */
+      while(1) {
+        /* ./../lib/standard//collection//array.nit:23 */
+        REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+        if (UNTAG_Bool(REGB1)) {
+        } else {
+          nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
         }
-        /* Register variable[9]: Result */
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[9]: Result */
-        variable[9] = CALL_abstractmetamodel___MMGlobalProperty___property_hierarchy( variable[1] /*glob*/)( variable[1] /*glob*/) /*MMGlobalProperty::property_hierarchy*/;
-        /* Register variable[9]: Result */
-        variable[9] = CALL_abstract_collection___Collection___first(variable[9])(variable[9]) /*PartialOrder::first*/;
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], CALL_string___Object___to_s(variable[9])(variable[9]) /*Object::to_s*/) /*AbstractArray::add*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_55 != NIT_NULL) variable[9] = once_value_55;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString(""), TAG_Int(0)) /*new String*/;
-          once_value_55 = variable[9];
+        REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+        /* ./../lib/standard//kernel.nit:212 */
+        REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+        /* ./../lib/standard//collection//array.nit:237 */
+        if (UNTAG_Bool(REGB1)) {
+          /* ./../lib/standard//collection//array.nit:238 */
+          REGB1 = TAG_Bool(fra.me.REG[6]==NIT_NULL);
+          if (UNTAG_Bool(REGB1)) {
+            nit_abort("Reciever is null", NULL, LOCATE_array, 238);
+          }
+          /* ./../lib/standard//collection//array.nit:654 */
+          fra.me.REG[7] = ((Nit_NativeArray)fra.me.REG[6])->val[UNTAG_Int(REGB0)];
+          /* ./metamodel//inheritance.nit:399 */
+          REGB1 = CALL_abstractmetamodel___MMLocalClass___has_global_property(fra.me.REG[7])(fra.me.REG[7], fra.me.REG[1]);
+          if (UNTAG_Bool(REGB1)) {
+            fra.me.REG[7] = CALL_abstractmetamodel___MMLocalClass_____bra(fra.me.REG[7])(fra.me.REG[7], fra.me.REG[1]);
+            CALL_abstract_collection___SimpleCollection___add(fra.me.REG[5])(fra.me.REG[5], fra.me.REG[7]);
+          }
+          /* ./../lib/standard//collection//array.nit:239 */
+          REGB1 = TAG_Int(1);
+          /* ./../lib/standard//kernel.nit:215 */
+          REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+          /* ./../lib/standard//collection//array.nit:239 */
+          REGB0 = REGB1;
+        } else {
+          /* ./../lib/standard//collection//array.nit:237 */
+          goto label1;
         }
-        /* Register variable[9]: Result */
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[8]: Result */
-        variable[8] = CALL_string___Object___to_s(variable[8])(variable[8]) /*Object::to_s*/;
-        CALL_file___Object___print(variable[0])(variable[0], variable[8]) /*Object::print*/;
-        variable[8] = NEW_Array_array___Array___with_capacity(TAG_Int(3)) /*new Array[String]*/ /* Ensure var: Array (for super-string)*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_56 != NIT_NULL) variable[9] = once_value_56;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString("------- "), TAG_Int(8)) /*new String*/;
-          once_value_56 = variable[9];
+      }
+      label1: while(0);
+      /* ./metamodel//inheritance.nit:402 */
+      fra.me.REG[5] = CALL_partial_order___PartialOrder___select_smallests(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[5]);
+      /* ./../lib/standard//collection//array.nit:23 */
+      REGB0 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[5])!=NIT_NULL);
+      if (UNTAG_Bool(REGB0)) {
+      } else {
+        nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+      }
+      REGB0 = ATTR_array___AbstractArrayRead____length(fra.me.REG[5]);
+      /* ./metamodel//inheritance.nit:404 */
+      REGB1 = TAG_Int(1);
+      REGB2 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB1));
+      if (UNTAG_Bool(REGB2)) {
+      } else {
+        /* ./../lib/standard//kernel.nit:207 */
+        REGB1 = TAG_Bool((REGB0)==(REGB1));
+        /* ./metamodel//inheritance.nit:404 */
+        REGB2 = REGB1;
+      }
+      REGB2 = TAG_Bool(!UNTAG_Bool(REGB2));
+      if (UNTAG_Bool(REGB2)) {
+        /* ./metamodel//inheritance.nit:405 */
+        fra.me.REG[2] = CALL_file___Object___stderr(fra.me.REG[0])(fra.me.REG[0]);
+        if (!once_value_2) {
+          fra.me.REG[6] = BOX_NativeString("Fatal error: inherit_local_property error\n");
+          REGB2 = TAG_Int(42);
+          fra.me.REG[6] = NEW_String_string___String___with_native(fra.me.REG[6], REGB2);
+          once_value_2 = fra.me.REG[6];
+          register_static_object(&once_value_2);
+        } else fra.me.REG[6] = once_value_2;
+        fra.me.REG[6] = fra.me.REG[6];
+        CALL_stream___OStream___write(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        /* ./metamodel//inheritance.nit:406 */
+        REGB2 = TAG_Int(7);
+        fra.me.REG[6] = NEW_Array_array___Array___with_capacity(REGB2);
+        if (!once_value_3) {
+          fra.me.REG[2] = BOX_NativeString("------- ");
+          REGB2 = TAG_Int(8);
+          fra.me.REG[2] = NEW_String_string___String___with_native(fra.me.REG[2], REGB2);
+          once_value_3 = fra.me.REG[2];
+          register_static_object(&once_value_3);
+        } else fra.me.REG[2] = once_value_3;
+        fra.me.REG[2] = fra.me.REG[2];
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[2]);
+        fra.me.REG[2] = CALL_abstractmetamodel___MMLocalClass___mmmodule(fra.me.REG[0])(fra.me.REG[0]);
+        fra.me.REG[2] = CALL_string___Object___to_s(fra.me.REG[2])(fra.me.REG[2]);
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[2]);
+        if (!once_value_4) {
+          fra.me.REG[2] = BOX_NativeString("::");
+          REGB2 = TAG_Int(2);
+          fra.me.REG[2] = NEW_String_string___String___with_native(fra.me.REG[2], REGB2);
+          once_value_4 = fra.me.REG[2];
+          register_static_object(&once_value_4);
+        } else fra.me.REG[2] = once_value_4;
+        fra.me.REG[2] = fra.me.REG[2];
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[2]);
+        fra.me.REG[2] = CALL_string___Object___to_s(fra.me.REG[0])(fra.me.REG[0]);
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[2]);
+        if (!once_value_5) {
+          fra.me.REG[2] = BOX_NativeString(" ");
+          REGB2 = TAG_Int(1);
+          fra.me.REG[2] = NEW_String_string___String___with_native(fra.me.REG[2], REGB2);
+          once_value_5 = fra.me.REG[2];
+          register_static_object(&once_value_5);
+        } else fra.me.REG[2] = once_value_5;
+        fra.me.REG[2] = fra.me.REG[2];
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[2]);
+        fra.me.REG[2] = CALL_abstractmetamodel___MMGlobalProperty___intro(fra.me.REG[1])(fra.me.REG[1]);
+        fra.me.REG[2] = CALL_abstractmetamodel___MMLocalProperty___full_name(fra.me.REG[2])(fra.me.REG[2]);
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[2]);
+        if (!once_value_6) {
+          fra.me.REG[2] = BOX_NativeString("");
+          REGB2 = TAG_Int(0);
+          fra.me.REG[2] = NEW_String_string___String___with_native(fra.me.REG[2], REGB2);
+          once_value_6 = fra.me.REG[2];
+          register_static_object(&once_value_6);
+        } else fra.me.REG[2] = once_value_6;
+        fra.me.REG[2] = fra.me.REG[2];
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[6])(fra.me.REG[6], fra.me.REG[2]);
+        fra.me.REG[6] = CALL_string___Object___to_s(fra.me.REG[6])(fra.me.REG[6]);
+        CALL_file___Object___print(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[6]);
+        /* ./../lib/standard//collection//array.nit:231 */
+        fra.me.REG[6] = fra.me.REG[5];
+        /* ./../lib/standard//collection//array.nit:234 */
+        REGB2 = TAG_Int(0);
+        /* ./../lib/standard//collection//array.nit:235 */
+        REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[6])!=NIT_NULL);
+        if (UNTAG_Bool(REGB1)) {
+        } else {
+          nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
         }
-        /* Register variable[9]: Result */
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[9]: Result */
-        variable[9] = CALL_abstractmetamodel___MMGlobalProperty___property_hierarchy( variable[1] /*glob*/)( variable[1] /*glob*/) /*MMGlobalProperty::property_hierarchy*/;
-        /* Register variable[9]: Result */
-        variable[9] = CALL_partial_order___PartialOrder___to_dot(variable[9])(variable[9]) /*PartialOrder::to_dot*/;
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[9]: Once String constant */
-        if (once_value_57 != NIT_NULL) variable[9] = once_value_57;
-        else {
-          variable[9] = NEW_String_string___String___with_native(BOX_NativeString(""), TAG_Int(0)) /*new String*/;
-          once_value_57 = variable[9];
+        REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[6]);
+        /* ./../lib/standard//collection//array.nit:236 */
+        fra.me.REG[2] = ATTR_array___Array____items(fra.me.REG[6]);
+        /* ./../lib/standard//collection//array.nit:237 */
+        while(1) {
+          /* ./../lib/standard//collection//array.nit:23 */
+          REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[6])!=NIT_NULL);
+          if (UNTAG_Bool(REGB1)) {
+          } else {
+            nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+          }
+          REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[6]);
+          /* ./../lib/standard//kernel.nit:212 */
+          REGB1 = TAG_Bool(UNTAG_Int(REGB2)<UNTAG_Int(REGB1));
+          /* ./../lib/standard//collection//array.nit:237 */
+          if (UNTAG_Bool(REGB1)) {
+            /* ./../lib/standard//collection//array.nit:238 */
+            REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+            if (UNTAG_Bool(REGB1)) {
+              nit_abort("Reciever is null", NULL, LOCATE_array, 238);
+            }
+            /* ./../lib/standard//collection//array.nit:654 */
+            fra.me.REG[3] = ((Nit_NativeArray)fra.me.REG[2])->val[UNTAG_Int(REGB2)];
+            /* ./metamodel//inheritance.nit:408 */
+            REGB1 = TAG_Int(3);
+            fra.me.REG[7] = NEW_Array_array___Array___with_capacity(REGB1);
+            if (!once_value_7) {
+              fra.me.REG[8] = BOX_NativeString("   ");
+              REGB1 = TAG_Int(3);
+              fra.me.REG[8] = NEW_String_string___String___with_native(fra.me.REG[8], REGB1);
+              once_value_7 = fra.me.REG[8];
+              register_static_object(&once_value_7);
+            } else fra.me.REG[8] = once_value_7;
+            fra.me.REG[8] = fra.me.REG[8];
+            CALL_abstract_collection___SimpleCollection___add(fra.me.REG[7])(fra.me.REG[7], fra.me.REG[8]);
+            fra.me.REG[3] = CALL_abstractmetamodel___MMLocalProperty___full_name(fra.me.REG[3])(fra.me.REG[3]);
+            CALL_abstract_collection___SimpleCollection___add(fra.me.REG[7])(fra.me.REG[7], fra.me.REG[3]);
+            if (!once_value_8) {
+              fra.me.REG[3] = BOX_NativeString("");
+              REGB1 = TAG_Int(0);
+              fra.me.REG[3] = NEW_String_string___String___with_native(fra.me.REG[3], REGB1);
+              once_value_8 = fra.me.REG[3];
+              register_static_object(&once_value_8);
+            } else fra.me.REG[3] = once_value_8;
+            fra.me.REG[3] = fra.me.REG[3];
+            CALL_abstract_collection___SimpleCollection___add(fra.me.REG[7])(fra.me.REG[7], fra.me.REG[3]);
+            fra.me.REG[7] = CALL_string___Object___to_s(fra.me.REG[7])(fra.me.REG[7]);
+            CALL_file___Object___print(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[7]);
+            /* ./../lib/standard//collection//array.nit:239 */
+            REGB1 = TAG_Int(1);
+            /* ./../lib/standard//kernel.nit:215 */
+            REGB1 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB1));
+            /* ./../lib/standard//collection//array.nit:239 */
+            REGB2 = REGB1;
+          } else {
+            /* ./../lib/standard//collection//array.nit:237 */
+            goto label9;
+          }
         }
-        /* Register variable[9]: Result */
-        /* Ensure var variable[9]: super-string element*/
-        CALL_abstract_collection___SimpleCollection___add(variable[8])(variable[8], variable[9]) /*AbstractArray::add*/;
-        /* Register variable[8]: Result */
-        variable[8] = CALL_string___Object___to_s(variable[8])(variable[8]) /*Object::to_s*/;
-        CALL_file___Object___print(variable[0])(variable[0], variable[8]) /*Object::print*/;
-        exit(UNTAG_Int( TAG_Int(1)));
+        label9: while(0);
+        /* ./metamodel//inheritance.nit:410 */
+        REGB2 = TAG_Int(3);
+        fra.me.REG[2] = NEW_Array_array___Array___with_capacity(REGB2);
+        if (!once_value_10) {
+          fra.me.REG[6] = BOX_NativeString("------- ");
+          REGB2 = TAG_Int(8);
+          fra.me.REG[6] = NEW_String_string___String___with_native(fra.me.REG[6], REGB2);
+          once_value_10 = fra.me.REG[6];
+          register_static_object(&once_value_10);
+        } else fra.me.REG[6] = once_value_10;
+        fra.me.REG[6] = fra.me.REG[6];
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        fra.me.REG[6] = CALL_abstractmetamodel___MMGlobalProperty___property_hierarchy(fra.me.REG[1])(fra.me.REG[1]);
+        fra.me.REG[6] = CALL_abstract_collection___Collection___first(fra.me.REG[6])(fra.me.REG[6]);
+        fra.me.REG[6] = CALL_string___Object___to_s(fra.me.REG[6])(fra.me.REG[6]);
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        if (!once_value_11) {
+          fra.me.REG[6] = BOX_NativeString("");
+          REGB2 = TAG_Int(0);
+          fra.me.REG[6] = NEW_String_string___String___with_native(fra.me.REG[6], REGB2);
+          once_value_11 = fra.me.REG[6];
+          register_static_object(&once_value_11);
+        } else fra.me.REG[6] = once_value_11;
+        fra.me.REG[6] = fra.me.REG[6];
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        fra.me.REG[2] = CALL_string___Object___to_s(fra.me.REG[2])(fra.me.REG[2]);
+        CALL_file___Object___print(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+        /* ./metamodel//inheritance.nit:411 */
+        REGB2 = TAG_Int(3);
+        fra.me.REG[2] = NEW_Array_array___Array___with_capacity(REGB2);
+        if (!once_value_12) {
+          fra.me.REG[6] = BOX_NativeString("------- ");
+          REGB2 = TAG_Int(8);
+          fra.me.REG[6] = NEW_String_string___String___with_native(fra.me.REG[6], REGB2);
+          once_value_12 = fra.me.REG[6];
+          register_static_object(&once_value_12);
+        } else fra.me.REG[6] = once_value_12;
+        fra.me.REG[6] = fra.me.REG[6];
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        fra.me.REG[6] = CALL_abstractmetamodel___MMGlobalProperty___property_hierarchy(fra.me.REG[1])(fra.me.REG[1]);
+        fra.me.REG[6] = CALL_partial_order___PartialOrder___to_dot(fra.me.REG[6])(fra.me.REG[6]);
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        if (!once_value_13) {
+          fra.me.REG[6] = BOX_NativeString("");
+          REGB2 = TAG_Int(0);
+          fra.me.REG[6] = NEW_String_string___String___with_native(fra.me.REG[6], REGB2);
+          once_value_13 = fra.me.REG[6];
+          register_static_object(&once_value_13);
+        } else fra.me.REG[6] = once_value_13;
+        fra.me.REG[6] = fra.me.REG[6];
+        CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[6]);
+        fra.me.REG[2] = CALL_string___Object___to_s(fra.me.REG[2])(fra.me.REG[2]);
+        CALL_file___Object___print(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+        /* ./metamodel//inheritance.nit:412 */
+        REGB2 = TAG_Int(1);
+        CALL_kernel___Object___exit(fra.me.REG[0])(fra.me.REG[0], REGB2);
       }
-      /* Register variable[8]: Result */
-      variable[8] = CALL_abstract_collection___Collection___first( variable[7] /*impls2*/)( variable[7] /*impls2*/) /*IndexedCollectionRead::first*/;
-      variable[3] = variable[8] /*impl=*/;
+      /* ./metamodel//inheritance.nit:414 */
+      fra.me.REG[5] = CALL_abstract_collection___Collection___first(fra.me.REG[5])(fra.me.REG[5]);
+      fra.me.REG[4] = fra.me.REG[5];
     }
   }
-  /* Register variable[6]: Result */
-  variable[6] = ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(variable[0]) /*MMLocalClass::_local_property_by_global*/;
-  CALL_abstract_collection___Map_____braeq(variable[6])(variable[6],  variable[1] /*glob*/,  variable[3] /*impl*/) /*Map::[]=*/;
-  variable[2] =  variable[3] /*impl*/;
-  goto return_label44;
-  return_label44: while(false);
-  tracehead = trace.prev;
-  return variable[2];
+  /* ./metamodel//inheritance.nit:424 */
+  REGB2 = TAG_Bool(ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB2)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_local_property_by_global", LOCATE_inheritance, 424);
+  }
+  fra.me.REG[0] = ATTR_abstractmetamodel___MMLocalClass____local_property_by_global(fra.me.REG[0]);
+  CALL_abstract_collection___Map_____braeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], fra.me.REG[4]);
+  /* ./metamodel//inheritance.nit:426 */
+  goto label14;
+  label14: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[4];
 }
-void inheritance___MMLocalProperty___inherit_global(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 375, LOCATE_inheritance___MMLocalProperty___inherit_global};
-  val_t variable[8];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  CALL_abstractmetamodel___MMLocalProperty___set_global(variable[0])(variable[0],  variable[1] /*g*/) /*MMLocalProperty::set_global*/;
-  /* Register variable[3]: Local variable */
-  /* Register variable[4]: Result */
-  variable[4] = NEW_Array_array___Array___init() /*new Array[MMLocalProperty]*/;
-  variable[3] = variable[4];
-  /* Register variable[4]: Result */
-  variable[4] = CALL_abstractmetamodel___MMLocalProperty___local_class(variable[0])(variable[0]) /*MMLocalProperty::local_class*/;
-  /* Register variable[4]: Result */
-  variable[4] = CALL_abstractmetamodel___MMLocalClass___che(variable[4])(variable[4]) /*MMLocalClass::che*/;
-  /* Register variable[4]: Result */
-  variable[4] = CALL_partial_order___PartialOrderElement___direct_greaters(variable[4])(variable[4]) /*PartialOrderElement::direct_greaters*/;
-  /* Register variable[4]: For iterator */
-  variable[4] = CALL_abstract_collection___Collection___iterator(variable[4])(variable[4]) /*AbstractArrayRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[5]: For 'is_ok' result */
-    variable[5] = CALL_abstract_collection___Iterator___is_ok(variable[4])(variable[4]) /*ArrayIterator::is_ok*/;
-    if (!UNTAG_Bool(variable[5])) break; /*for*/
-    variable[5] = CALL_abstract_collection___Iterator___item(variable[4])(variable[4]) /*ArrayIterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[6]: Local variable */
-    variable[6] = variable[5];
-    /* Register variable[7]: Result */
-    variable[7] = CALL_abstractmetamodel___MMLocalClass___has_global_property( variable[6] /*sc*/)( variable[6] /*sc*/,  variable[1] /*g*/) /*MMLocalClass::has_global_property*/;
-    if (UNTAG_Bool( TAG_Bool(!UNTAG_Bool(variable[7])))) { /*if*/
-      goto continue_59;
+void inheritance___MMLocalProperty___inherit_global(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[5];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 431;
+  fra.me.meth = LOCATE_inheritance___MMLocalProperty___inherit_global;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 6;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:434 */
+  CALL_abstractmetamodel___MMLocalProperty___set_global(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+  /* ./metamodel//inheritance.nit:435 */
+  fra.me.REG[2] = NEW_Array_array___Array___init();
+  /* ./metamodel//inheritance.nit:436 */
+  fra.me.REG[3] = CALL_abstractmetamodel___MMLocalProperty___local_class(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[3] = CALL_abstractmetamodel___MMLocalClass___che(fra.me.REG[3])(fra.me.REG[3]);
+  fra.me.REG[3] = CALL_partial_order___PartialOrderElement___direct_greaters(fra.me.REG[3])(fra.me.REG[3]);
+  /* ./../lib/standard//collection//array.nit:234 */
+  REGB0 = TAG_Int(0);
+  /* ./../lib/standard//collection//array.nit:235 */
+  REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 235);
+  }
+  REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+  /* ./../lib/standard//collection//array.nit:236 */
+  fra.me.REG[4] = ATTR_array___Array____items(fra.me.REG[3]);
+  /* ./../lib/standard//collection//array.nit:237 */
+  while(1) {
+    /* ./../lib/standard//collection//array.nit:23 */
+    REGB1 = TAG_Bool(ATTR_array___AbstractArrayRead____length(fra.me.REG[3])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_array, 23);
+    }
+    REGB1 = ATTR_array___AbstractArrayRead____length(fra.me.REG[3]);
+    /* ./../lib/standard//kernel.nit:212 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB0)<UNTAG_Int(REGB1));
+    /* ./../lib/standard//collection//array.nit:237 */
+    if (UNTAG_Bool(REGB1)) {
+      /* ./../lib/standard//collection//array.nit:238 */
+      REGB1 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+      if (UNTAG_Bool(REGB1)) {
+        nit_abort("Reciever is null", NULL, LOCATE_array, 238);
+      }
+      /* ./../lib/standard//collection//array.nit:654 */
+      fra.me.REG[5] = ((Nit_NativeArray)fra.me.REG[4])->val[UNTAG_Int(REGB0)];
+      /* ./metamodel//inheritance.nit:437 */
+      REGB1 = CALL_abstractmetamodel___MMLocalClass___has_global_property(fra.me.REG[5])(fra.me.REG[5], fra.me.REG[1]);
+      REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
+      if (UNTAG_Bool(REGB1)) {
+        goto label1;
+      }
+      /* ./metamodel//inheritance.nit:438 */
+      fra.me.REG[5] = CALL_abstractmetamodel___MMLocalClass_____bra(fra.me.REG[5])(fra.me.REG[5], fra.me.REG[1]);
+      CALL_abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[5]);
+      label1: while(0);
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB1 = TAG_Int(1);
+      /* ./../lib/standard//kernel.nit:215 */
+      REGB1 = TAG_Int(UNTAG_Int(REGB0)+UNTAG_Int(REGB1));
+      /* ./../lib/standard//collection//array.nit:239 */
+      REGB0 = REGB1;
+    } else {
+      /* ./../lib/standard//collection//array.nit:237 */
+      goto label2;
     }
-    /* Register variable[7]: Result */
-    variable[7] = CALL_abstractmetamodel___MMLocalClass_____bra( variable[6] /*sc*/)( variable[6] /*sc*/,  variable[1] /*g*/) /*MMLocalClass::[]*/;
-    CALL_abstract_collection___SimpleCollection___add( variable[3] /*impls*/)( variable[3] /*impls*/, variable[7]) /*AbstractArray::add*/;
-    continue_59: while(0);
-    CALL_abstract_collection___Iterator___next(variable[4])(variable[4]) /*ArrayIterator::next*/;
-  }
-  break_59: while(0);
-  CALL_abstractmetamodel___MMGlobalProperty___add_local_property( variable[1] /*g*/)( variable[1] /*g*/, variable[0],  variable[3] /*impls*/) /*MMGlobalProperty::add_local_property*/;
-  return_label58: while(false);
-  tracehead = trace.prev;
+  }
+  label2: while(0);
+  /* ./metamodel//inheritance.nit:440 */
+  CALL_abstractmetamodel___MMGlobalProperty___add_local_property(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[0], fra.me.REG[2]);
+  stack_frame_head = fra.me.prev;
   return;
 }
-void inheritance___MMAncestor___add_in(val_t  self, val_t  param0) {
-  struct trace_t trace = {NULL, NULL, 389, LOCATE_inheritance___MMAncestor___add_in};
-  val_t variable[12];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Method return value and escape marker */
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMAncestor___stype(variable[0])(variable[0]) /*MMAncestor::stype*/;
-  /* Register variable[3]: Result */
-  variable[3] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[3] ==  NIT_NULL /*null*/) || ((variable[3] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[3])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[3], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[3])(variable[3],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[3])) { fprintf(stderr, "Assert%s failed", " 'ancestor' "); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMAncestor___add_in, LOCATE_inheritance, 392); nit_exit(1);}
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMAncestor___stype(variable[0])(variable[0]) /*MMAncestor::stype*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMType___local_class(variable[3])(variable[3]) /*MMType::local_class*/;
-  /* Register variable[3]: Result */
-  variable[3] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[3] ==  NIT_NULL /*null*/) || ((variable[3] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[3])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[3], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[3])(variable[3],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[3])) { fprintf(stderr, "Assert%s failed", " 'local_class' "); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMAncestor___add_in, LOCATE_inheritance, 393); nit_exit(1);}
-  CALL_abstract_collection___SimpleCollection___add( variable[1] /*tab*/)( variable[1] /*tab*/, variable[0]) /*AbstractArray::add*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMAncestor___stype(variable[0])(variable[0]) /*MMAncestor::stype*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMType___local_class(variable[3])(variable[3]) /*MMType::local_class*/;
-  CALL_inheritance___MMLocalClass___compute_ancestors(variable[3])(variable[3]) /*MMLocalClass::compute_ancestors*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMAncestor___stype(variable[0])(variable[0]) /*MMAncestor::stype*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMType___local_class(variable[3])(variable[3]) /*MMType::local_class*/;
-  /* Register variable[3]: Result */
-  variable[3] = CALL_static_type___MMLocalClass___ancestors(variable[3])(variable[3]) /*MMLocalClass::ancestors*/;
-  /* Register variable[3]: For iterator */
-  variable[3] = CALL_abstract_collection___Collection___iterator(variable[3])(variable[3]) /*MapRead::iterator*/;
-  while (true) { /*for*/
-    /* Register variable[4]: For 'is_ok' result */
-    variable[4] = CALL_abstract_collection___Iterator___is_ok(variable[3])(variable[3]) /*Iterator::is_ok*/;
-    if (!UNTAG_Bool(variable[4])) break; /*for*/
-    variable[4] = CALL_abstract_collection___Iterator___item(variable[3])(variable[3]) /*Iterator::item*/ /* Ensure var: For item*/;
-    /* Register variable[5]: Local variable */
-    variable[5] = variable[4];
-    /* Register variable[6]: Local variable */
-    /* Register variable[7]: Result */
-    variable[7] = CALL_static_type___MMAncestor___stype( variable[5] /*anc*/)( variable[5] /*anc*/) /*MMAncestor::stype*/;
-    /* Register variable[8]: Result */
-    variable[8] = CALL_static_type___MMAncestor___stype(variable[0])(variable[0]) /*MMAncestor::stype*/;
-    /* Register variable[8]: Result */
-    variable[8] = CALL_static_type___MMType___module(variable[8])(variable[8]) /*MMType::module*/;
-    /* Register variable[7]: Result */
-    variable[7] = CALL_static_type___MMType___for_module(variable[7])(variable[7], variable[8]) /*MMType::for_module*/;
-    variable[6] = variable[7];
-    /* Register variable[7]: Local variable */
-    /* Register variable[8]: Result */
-    variable[8] = CALL_static_type___MMAncestor___stype(variable[0])(variable[0]) /*MMAncestor::stype*/;
-    /* Register variable[8]: Result */
-    variable[8] = CALL_static_type___MMType___adapt_to( variable[6] /*aaa*/)( variable[6] /*aaa*/, variable[8]) /*MMType::adapt_to*/;
-    /* Register variable[9]: Result */
-    variable[9] = CALL_static_type___MMAncestor___inheriter(variable[0])(variable[0]) /*MMAncestor::inheriter*/;
-    /* Register variable[9]: Result */
-    variable[9] = CALL_static_type___MMType___module(variable[9])(variable[9]) /*MMType::module*/;
-    /* Register variable[8]: Result */
-    variable[8] = CALL_static_type___MMType___for_module(variable[8])(variable[8], variable[9]) /*MMType::for_module*/;
-    variable[7] = variable[8];
-    /* Register variable[8]: Result */
-    variable[8] = CALL_static_type___MMType___local_class( variable[7] /*a*/)( variable[7] /*a*/) /*MMType::local_class*/;
-    /* Register variable[9]: Result */
-    variable[9] = CALL_static_type___MMAncestor___inheriter(variable[0])(variable[0]) /*MMAncestor::inheriter*/;
-    /* Register variable[9]: Result */
-    variable[9] = CALL_static_type___MMType___local_class(variable[9])(variable[9]) /*MMType::local_class*/;
-    /* Register variable[8]: Result */
-    variable[8] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[8] == variable[9]) || ((variable[8] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[8])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[8],variable[9])):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[8])(variable[8], variable[9]) /*Object::==*/)))))));
-    if (UNTAG_Bool(variable[8])) { /*if*/
-      /* Register variable[8]: Local variable */
-      /* Register variable[9]: Result */
-      variable[9] = CALL_abstract_collection___Collection___iterator( variable[1] /*tab*/)( variable[1] /*tab*/) /*AbstractArrayRead::iterator*/;
-      variable[8] = variable[9];
-      /* Register variable[9]: Local variable */
-      variable[9] =  TAG_Bool(true);
-      while (true) { /*while*/
-        /* Register variable[10]: Result */
-        variable[10] = CALL_abstract_collection___Iterator___is_ok( variable[8] /*it*/)( variable[8] /*it*/) /*ArrayIterator::is_ok*/;
-        /* Ensure var variable[10]: Left 'and' operand*/
-        if (UNTAG_Bool(variable[10])) { /* and */
-          variable[10] =  variable[9] /*b*/;
+void inheritance___MMAncestor___add_in(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
+  val_t REGB0;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 445;
+  fra.me.meth = LOCATE_inheritance___MMAncestor___add_in;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 3;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* ./metamodel//inheritance.nit:448 */
+  CALL_abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[0]);
+  /* ./metamodel//inheritance.nit:449 */
+  fra.me.REG[2] = CALL_static_type___MMAncestor___stype(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[2] = CALL_static_type___MMType___local_class(fra.me.REG[2])(fra.me.REG[2]);
+  CALL_inheritance___MMLocalClass___compute_ancestors(fra.me.REG[2])(fra.me.REG[2]);
+  /* ./metamodel//inheritance.nit:450 */
+  fra.me.REG[2] = CALL_static_type___MMAncestor___stype(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[2] = CALL_static_type___MMType___local_class(fra.me.REG[2])(fra.me.REG[2]);
+  fra.me.REG[2] = CALL_static_type___MMLocalClass___ancestors(fra.me.REG[2])(fra.me.REG[2]);
+  REGB0 = TAG_Bool((fra.me.REG[2]!=NIT_NULL) && VAL_ISA(fra.me.REG[2], COLOR_Map, ID_Map)) /*cast Map[MMLocalClass, MMAncestor]*/;
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_inheritance, 450);
+  }
+  REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_inheritance, 450);
+  }
+  CALL_abstract_collection___Collection___iterate(fra.me.REG[2])(fra.me.REG[2], (&(fra.me)), ((fun_t)OC_inheritance___MMAncestor___add_in_1));
+  stack_frame_head = fra.me.prev;
+  return;
+}
+  void OC_inheritance___MMAncestor___add_in_1(struct stack_frame_t *closctx, val_t p0, struct stack_frame_t *closctx_param, fun_t clos_fun0){
+    struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+    val_t REGB0;
+    val_t REGB1;
+    val_t REGB2;
+    fun_t CREG[1];
+    val_t tmp;
+    fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+    fra.me.file = LOCATE_inheritance;
+    fra.me.line = 0;
+    fra.me.meth = LOCATE_inheritance___MMAncestor___add_in;
+    fra.me.has_broke = 0;
+    fra.me.REG_size = 4;
+    fra.me.REG[0] = NIT_NULL;
+    fra.me.REG[1] = NIT_NULL;
+    fra.me.REG[2] = NIT_NULL;
+    fra.me.REG[3] = NIT_NULL;
+    fra.me.closure_ctx = closctx_param;
+    fra.me.closure_funs = CREG;
+    fra.me.REG[0] = p0;
+    CREG[0] = clos_fun0;
+    /* ./metamodel//inheritance.nit:451 */
+    fra.me.REG[0] = CALL_static_type___MMAncestor___stype(fra.me.REG[0])(fra.me.REG[0]);
+    fra.me.REG[1] = CALL_static_type___MMAncestor___stype(closctx->REG[0])(closctx->REG[0]);
+    fra.me.REG[1] = CALL_static_type___MMType___mmmodule(fra.me.REG[1])(fra.me.REG[1]);
+    fra.me.REG[1] = CALL_static_type___MMType___for_module(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+    /* ./metamodel//inheritance.nit:452 */
+    fra.me.REG[0] = CALL_static_type___MMAncestor___stype(closctx->REG[0])(closctx->REG[0]);
+    fra.me.REG[0] = CALL_static_type___MMType___adapt_to(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[0]);
+    fra.me.REG[1] = CALL_static_type___MMAncestor___inheriter(closctx->REG[0])(closctx->REG[0]);
+    fra.me.REG[1] = CALL_static_type___MMType___mmmodule(fra.me.REG[1])(fra.me.REG[1]);
+    fra.me.REG[1] = CALL_static_type___MMType___for_module(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+    /* ./metamodel//inheritance.nit:453 */
+    fra.me.REG[0] = CALL_static_type___MMType___local_class(fra.me.REG[1])(fra.me.REG[1]);
+    fra.me.REG[2] = CALL_static_type___MMAncestor___inheriter(closctx->REG[0])(closctx->REG[0]);
+    fra.me.REG[2] = CALL_static_type___MMType___local_class(fra.me.REG[2])(fra.me.REG[2]);
+    REGB0 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[0],fra.me.REG[2]));
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      REGB1 = CALL_kernel___Object_____eqeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+      REGB0 = REGB1;
+    }
+    REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+    if (UNTAG_Bool(REGB0)) {
+      /* ./metamodel//inheritance.nit:454 */
+      fra.me.REG[2] = CALL_abstract_collection___Collection___iterator(closctx->REG[1])(closctx->REG[1]);
+      /* ./metamodel//inheritance.nit:455 */
+      REGB0 = TAG_Bool(true);
+      /* ./metamodel//inheritance.nit:456 */
+      while(1) {
+        REGB1 = CALL_abstract_collection___Iterator___is_ok(fra.me.REG[2])(fra.me.REG[2]);
+        if (UNTAG_Bool(REGB1)) {
+          REGB1 = REGB0;
+        } else {
+          REGB2 = TAG_Bool(false);
+          REGB1 = REGB2;
         }
-        /* Register variable[10]: Result */
-        if (!UNTAG_Bool(variable[10])) break; /* while*/
-        /* Register variable[10]: Result */
-        variable[10] = CALL_abstract_collection___Iterator___item( variable[8] /*it*/)( variable[8] /*it*/) /*ArrayIterator::item*/;
-        /* Register variable[10]: Result */
-        variable[10] = CALL_static_type___MMAncestor___inheriter(variable[10])(variable[10]) /*MMAncestor::inheriter*/;
-        /* Register variable[11]: Result */
-        variable[11] = CALL_static_type___MMAncestor___inheriter(variable[0])(variable[0]) /*MMAncestor::inheriter*/;
-        /* Register variable[10]: Result */
-        variable[10] = TAG_Bool((variable[10] == variable[11]) || ((variable[10] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[10])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[10],variable[11])):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[10])(variable[10], variable[11]) /*Object::==*/)))));
-        /* Ensure var variable[10]: Left 'and' operand*/
-        if (UNTAG_Bool(variable[10])) { /* and */
-          /* Register variable[10]: Result */
-          variable[10] = CALL_abstract_collection___Iterator___item( variable[8] /*it*/)( variable[8] /*it*/) /*ArrayIterator::item*/;
-          /* Register variable[10]: Result */
-          variable[10] = CALL_static_type___MMAncestor___stype(variable[10])(variable[10]) /*MMAncestor::stype*/;
-          /* Register variable[10]: Result */
-          variable[10] = TAG_Bool((variable[10] ==  variable[7] /*a*/) || ((variable[10] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[10])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[10], variable[7] /*a*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[10])(variable[10],  variable[7] /*a*/) /*Object::==*/)))));
+        if (UNTAG_Bool(REGB1)) {
+          /* ./metamodel//inheritance.nit:457 */
+          fra.me.REG[0] = CALL_abstract_collection___Iterator___item(fra.me.REG[2])(fra.me.REG[2]);
+          REGB1 = TAG_Bool(fra.me.REG[0]==NIT_NULL);
+          if (UNTAG_Bool(REGB1)) {
+            nit_abort("Reciever is null", NULL, LOCATE_inheritance, 457);
+          }
+          fra.me.REG[0] = CALL_static_type___MMAncestor___inheriter(fra.me.REG[0])(fra.me.REG[0]);
+          fra.me.REG[3] = CALL_static_type___MMAncestor___inheriter(closctx->REG[0])(closctx->REG[0]);
+          REGB1 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[0],fra.me.REG[3]));
+          if (UNTAG_Bool(REGB1)) {
+          } else {
+            REGB2 = CALL_kernel___Object_____eqeq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[3]);
+            REGB1 = REGB2;
+          }
+          if (UNTAG_Bool(REGB1)) {
+            fra.me.REG[3] = CALL_abstract_collection___Iterator___item(fra.me.REG[2])(fra.me.REG[2]);
+            REGB1 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+            if (UNTAG_Bool(REGB1)) {
+              nit_abort("Reciever is null", NULL, LOCATE_inheritance, 457);
+            }
+            fra.me.REG[3] = CALL_static_type___MMAncestor___stype(fra.me.REG[3])(fra.me.REG[3]);
+            REGB1 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[3],fra.me.REG[1]));
+            if (UNTAG_Bool(REGB1)) {
+            } else {
+              REGB2 = CALL_kernel___Object_____eqeq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+              REGB1 = REGB2;
+            }
+          } else {
+            REGB2 = TAG_Bool(false);
+            REGB1 = REGB2;
+          }
+          REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
+          REGB0 = REGB1;
+          /* ./metamodel//inheritance.nit:458 */
+          CALL_abstract_collection___Iterator___next(fra.me.REG[2])(fra.me.REG[2]);
+        } else {
+          /* ./metamodel//inheritance.nit:456 */
+          goto label2;
         }
-        /* Register variable[10]: Result */
-        variable[9] =  TAG_Bool(!UNTAG_Bool(variable[10])) /*b=*/;
-        CALL_abstract_collection___Iterator___next( variable[8] /*it*/)( variable[8] /*it*/) /*ArrayIterator::next*/;
-        continue_62: while(0);
       }
-      break_62: while(0);
-      if (UNTAG_Bool( variable[9] /*b*/)) { /*if*/
-        /* Register variable[10]: Result */
-        variable[10] = CALL_static_type___MMAncestor___inheriter(variable[0])(variable[0]) /*MMAncestor::inheriter*/;
-        /* Register variable[10]: Result */
-        variable[10] = NEW_MMSpecAncestor_inheritance___MMSpecAncestor___init(variable[10],  variable[7] /*a*/) /*new MMSpecAncestor*/;
-        CALL_abstract_collection___SimpleCollection___add( variable[1] /*tab*/)( variable[1] /*tab*/, variable[10]) /*AbstractArray::add*/;
+      label2: while(0);
+      /* ./metamodel//inheritance.nit:460 */
+      if (UNTAG_Bool(REGB0)) {
+        /* ./metamodel//inheritance.nit:461 */
+        fra.me.REG[2] = CALL_static_type___MMAncestor___inheriter(closctx->REG[0])(closctx->REG[0]);
+        fra.me.REG[1] = NEW_MMSpecAncestor_inheritance___MMSpecAncestor___init(fra.me.REG[2], fra.me.REG[1]);
+        CALL_abstract_collection___SimpleCollection___add(closctx->REG[1])(closctx->REG[1], fra.me.REG[1]);
       }
     }
-    continue_61: while(0);
-    CALL_abstract_collection___Iterator___next(variable[3])(variable[3]) /*Iterator::next*/;
+    stack_frame_head = fra.me.prev;
+    return;
   }
-  break_61: while(0);
-  return_label60: while(false);
-  tracehead = trace.prev;
-  return;
-}
-void inheritance___MMImplicitLocalClass___init(val_t  self, val_t  param0, val_t  param1, int* init_table) {
-  struct trace_t trace = {NULL, NULL, 419, LOCATE_inheritance___MMImplicitLocalClass___init};
-  val_t variable[7];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Local variable */
-  variable[2] =  param1;
-  if (init_table[VAL2OBJ(variable[0])->vft[INIT_TABLE_POS_MMImplicitLocalClass].i]) return;
-  /* Register variable[3]: Method return value and escape marker */
-  /* Register variable[4]: Local variable */
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstractmetamodel___MMGlobalClass___intro( variable[2] /*g*/)( variable[2] /*g*/) /*MMGlobalClass::intro*/;
-  variable[4] = variable[5];
-  /* Register variable[5]: Result */
-  variable[5] = CALL_abstractmetamodel___MMLocalClass___name( variable[4] /*cla*/)( variable[4] /*cla*/) /*MMLocalClass::name*/;
-  /* Register variable[6]: Result */
-  variable[6] = CALL_abstractmetamodel___MMLocalClass___arity( variable[4] /*cla*/)( variable[4] /*cla*/) /*MMLocalClass::arity*/;
-  CALL_abstractmetamodel___MMLocalClass___init(variable[0])(variable[0],  variable[1] /*mod*/, variable[5], variable[6], init_table /*YYY*/) /*MMLocalClass::init*/;
-  CALL_abstractmetamodel___MMLocalClass___set_global(variable[0])(variable[0],  variable[2] /*g*/) /*MMLocalClass::set_global*/;
-  return_label63: while(false);
-  init_table[VAL2OBJ(variable[0])->vft[INIT_TABLE_POS_MMImplicitLocalClass].i] = 1;
-  tracehead = trace.prev;
+void inheritance___MMImplicitLocalClass___init(val_t p0, val_t p1, val_t p2, int* init_table){
+  int itpos0 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_MMImplicitLocalClass].i;
+  struct {struct stack_frame_t me; val_t MORE_REG[5];} fra;
+  val_t REGB0;
+  val_t tmp;
+  if (init_table[itpos0]) return;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 473;
+  fra.me.meth = LOCATE_inheritance___MMImplicitLocalClass___init;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 6;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  fra.me.REG[2] = p2;
+  /* ./metamodel//inheritance.nit:473 */
+  fra.me.REG[3] = fra.me.REG[0];
+  /* ./metamodel//inheritance.nit:475 */
+  fra.me.REG[4] = CALL_abstractmetamodel___MMGlobalClass___intro(fra.me.REG[2])(fra.me.REG[2]);
+  /* ./metamodel//inheritance.nit:476 */
+  fra.me.REG[5] = CALL_abstractmetamodel___MMLocalClass___name(fra.me.REG[4])(fra.me.REG[4]);
+  REGB0 = CALL_abstractmetamodel___MMLocalClass___arity(fra.me.REG[4])(fra.me.REG[4]);
+  CALL_abstractmetamodel___MMLocalClass___init(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], fra.me.REG[5], REGB0, init_table);
+  /* ./metamodel//inheritance.nit:477 */
+  CALL_abstractmetamodel___MMLocalClass___set_global(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[2]);
+  stack_frame_head = fra.me.prev;
+  init_table[itpos0] = 1;
   return;
 }
-val_t inheritance___MMRefineAncestor___local_class(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 429, LOCATE_inheritance___MMRefineAncestor___local_class};
-  val_t *variable = NULL;
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  tracehead = trace.prev;
-  return ATTR_inheritance___MMRefineAncestor____local_class( self) /*MMRefineAncestor::_local_class*/;
+val_t inheritance___MMRefineAncestor___local_class(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_inheritance;
+  fra.me.line = 483;
+  fra.me.meth = LOCATE_inheritance___MMRefineAncestor___local_class;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 1;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:483 */
+  REGB0 = TAG_Bool(ATTR_inheritance___MMRefineAncestor____local_class(fra.me.REG[0])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_local_class", LOCATE_inheritance, 483);
+  }
+  fra.me.REG[0] = ATTR_inheritance___MMRefineAncestor____local_class(fra.me.REG[0]);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[0];
 }
-void inheritance___MMRefineAncestor___init(val_t  self, val_t  param0, val_t  param1, int* init_table) {
-  struct trace_t trace = {NULL, NULL, 431, LOCATE_inheritance___MMRefineAncestor___init};
-  val_t variable[5];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Local variable */
-  variable[2] =  param1;
-  if (init_table[VAL2OBJ(variable[0])->vft[INIT_TABLE_POS_MMRefineAncestor].i]) return;
-  /* Register variable[3]: Method return value and escape marker */
-  ATTR_inheritance___MMRefineAncestor____local_class(variable[0]) /*MMRefineAncestor::_local_class*/ =  variable[2] /*a*/;
-  /* Register variable[4]: Result */
-  variable[4] = CALL_static_type___MMLocalClass___get_type( variable[1] /*b*/)( variable[1] /*b*/) /*MMLocalClass::get_type*/;
-  CALL_static_type___MMAncestor___inheriter__eq(variable[0])(variable[0], variable[4]) /*MMAncestor::inheriter=*/;
-  /* Register variable[4]: Result */
-  variable[4] = ATTR_inheritance___MMRefineAncestor____local_class(variable[0]) /*MMRefineAncestor::_local_class*/;
-  /* Register variable[4]: Result */
-  variable[4] = CALL_static_type___MMLocalClass___get_type(variable[4])(variable[4]) /*MMLocalClass::get_type*/;
-  CALL_static_type___MMAncestor___stype__eq(variable[0])(variable[0], variable[4]) /*MMAncestor::stype=*/;
-  return_label64: while(false);
-  init_table[VAL2OBJ(variable[0])->vft[INIT_TABLE_POS_MMRefineAncestor].i] = 1;
-  tracehead = trace.prev;
+void inheritance___MMRefineAncestor___init(val_t p0, val_t p1, val_t p2, int* init_table){
+  int itpos1 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_MMRefineAncestor].i;
+  struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+  val_t REGB0;
+  val_t tmp;
+  if (init_table[itpos1]) return;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 485;
+  fra.me.meth = LOCATE_inheritance___MMRefineAncestor___init;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 4;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  fra.me.REG[2] = p2;
+  /* ./metamodel//inheritance.nit:485 */
+  fra.me.REG[3] = fra.me.REG[0];
+  CALL_static_type___MMAncestor___init(fra.me.REG[0])(fra.me.REG[0], init_table);
+  /* ./metamodel//inheritance.nit:487 */
+  ATTR_inheritance___MMRefineAncestor____local_class(fra.me.REG[3]) = fra.me.REG[2];
+  /* ./metamodel//inheritance.nit:488 */
+  fra.me.REG[1] = CALL_static_type___MMLocalClass___get_type(fra.me.REG[1])(fra.me.REG[1]);
+  CALL_static_type___MMAncestor___inheriter__eq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+  /* ./metamodel//inheritance.nit:489 */
+  REGB0 = TAG_Bool(ATTR_inheritance___MMRefineAncestor____local_class(fra.me.REG[3])!=NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_local_class", LOCATE_inheritance, 489);
+  }
+  fra.me.REG[1] = ATTR_inheritance___MMRefineAncestor____local_class(fra.me.REG[3]);
+  fra.me.REG[1] = CALL_static_type___MMLocalClass___get_type(fra.me.REG[1])(fra.me.REG[1]);
+  CALL_static_type___MMAncestor___stype__eq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+  stack_frame_head = fra.me.prev;
+  init_table[itpos1] = 1;
   return;
 }
-val_t inheritance___MMSpecAncestor___local_class(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 442, LOCATE_inheritance___MMSpecAncestor___local_class};
-  val_t variable[3];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Result */
-  variable[2] = CALL_static_type___MMAncestor___stype(variable[0])(variable[0]) /*MMAncestor::stype*/;
-  /* Register variable[2]: Result */
-  variable[2] = CALL_static_type___MMType___local_class(variable[2])(variable[2]) /*MMType::local_class*/;
-  variable[1] = variable[2];
-  goto return_label65;
-  return_label65: while(false);
-  tracehead = trace.prev;
-  return variable[1];
+val_t inheritance___MMSpecAncestor___local_class(val_t p0){
+  struct {struct stack_frame_t me;} fra;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 496;
+  fra.me.meth = LOCATE_inheritance___MMSpecAncestor___local_class;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 1;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:496 */
+  fra.me.REG[0] = CALL_static_type___MMAncestor___stype(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[0] = CALL_static_type___MMType___local_class(fra.me.REG[0])(fra.me.REG[0]);
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[0];
 }
-void inheritance___MMSpecAncestor___init(val_t  self, val_t  param0, val_t  param1, int* init_table) {
-  struct trace_t trace = {NULL, NULL, 444, LOCATE_inheritance___MMSpecAncestor___init};
-  val_t variable[4];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Local variable */
-  variable[2] =  param1;
-  if (init_table[VAL2OBJ(variable[0])->vft[INIT_TABLE_POS_MMSpecAncestor].i]) return;
-  /* Register variable[3]: Method return value and escape marker */
-  ATTR_static_type___MMAncestor____inheriter(variable[0]) /*MMAncestor::_inheriter*/ =  variable[1] /*inheriter*/;
-  ATTR_static_type___MMAncestor____stype(variable[0]) /*MMAncestor::_stype*/ =  variable[2] /*stype*/;
-  return_label66: while(false);
-  init_table[VAL2OBJ(variable[0])->vft[INIT_TABLE_POS_MMSpecAncestor].i] = 1;
-  tracehead = trace.prev;
+void inheritance___MMSpecAncestor___init(val_t p0, val_t p1, val_t p2, int* init_table){
+  int itpos2 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_MMSpecAncestor].i;
+  struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+  val_t tmp;
+  if (init_table[itpos2]) return;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 498;
+  fra.me.meth = LOCATE_inheritance___MMSpecAncestor___init;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 4;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  fra.me.REG[2] = p2;
+  /* ./metamodel//inheritance.nit:498 */
+  fra.me.REG[3] = fra.me.REG[0];
+  CALL_static_type___MMAncestor___init(fra.me.REG[0])(fra.me.REG[0], init_table);
+  /* ./metamodel//inheritance.nit:500 */
+  ATTR_static_type___MMAncestor____inheriter(fra.me.REG[3]) = fra.me.REG[1];
+  /* ./metamodel//inheritance.nit:501 */
+  ATTR_static_type___MMAncestor____stype(fra.me.REG[3]) = fra.me.REG[2];
+  stack_frame_head = fra.me.prev;
+  init_table[itpos2] = 1;
   return;
 }
-val_t inheritance___MMDefaultAncestor___local_class(val_t  self) {
-  struct trace_t trace = {NULL, NULL, 453, LOCATE_inheritance___MMDefaultAncestor___local_class};
-  val_t variable[3];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Method return value and escape marker */
-  /* Register variable[2]: Result */
-  variable[2] = CALL_static_type___MMAncestor___stype(variable[0])(variable[0]) /*MMAncestor::stype*/;
-  /* Register variable[2]: Result */
-  variable[2] = CALL_static_type___MMType___local_class(variable[2])(variable[2]) /*MMType::local_class*/;
-  variable[1] = variable[2];
-  goto return_label67;
-  return_label67: while(false);
-  tracehead = trace.prev;
-  return variable[1];
+val_t inheritance___MMDefaultAncestor___local_class(val_t p0){
+  struct {struct stack_frame_t me;} fra;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 507;
+  fra.me.meth = LOCATE_inheritance___MMDefaultAncestor___local_class;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 1;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* ./metamodel//inheritance.nit:507 */
+  fra.me.REG[0] = CALL_static_type___MMAncestor___stype(fra.me.REG[0])(fra.me.REG[0]);
+  fra.me.REG[0] = CALL_static_type___MMType___local_class(fra.me.REG[0])(fra.me.REG[0]);
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[0];
 }
-void inheritance___MMDefaultAncestor___init(val_t  self, val_t  param0, val_t  param1, int* init_table) {
-  struct trace_t trace = {NULL, NULL, 455, LOCATE_inheritance___MMDefaultAncestor___init};
-  val_t variable[5];
-  struct WBT_ **closurevariable = NULL;
-  trace.prev = tracehead; tracehead = &trace;
-  trace.file = LOCATE_inheritance;
-  /* Register variable[0]: Local variable */
-  variable[0] =  self;
-  /* Register variable[1]: Local variable */
-  variable[1] =  param0;
-  /* Register variable[2]: Local variable */
-  variable[2] =  param1;
-  if (init_table[VAL2OBJ(variable[0])->vft[INIT_TABLE_POS_MMDefaultAncestor].i]) return;
-  /* Register variable[3]: Method return value and escape marker */
-  /* Register variable[4]: Result */
-  variable[4] = TAG_Bool(!UNTAG_Bool(TAG_Bool(( variable[1] /*b*/ ==  NIT_NULL /*null*/) || (( variable[1] /*b*/ != NIT_NULL) && ((CALL_kernel___Object_____eqeq( variable[1] /*b*/)==kernel___Object_____eqeq)?(IS_EQUAL_NN( variable[1] /*b*/, NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq( variable[1] /*b*/)( variable[1] /*b*/,  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[4])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMDefaultAncestor___init, LOCATE_inheritance, 457); nit_exit(1);}
-  /* Register variable[4]: Result */
-  variable[4] = CALL_abstractmetamodel___MMLocalClass___module( variable[1] /*b*/)( variable[1] /*b*/) /*MMLocalClass::module*/;
-  /* Register variable[4]: Result */
-  variable[4] = TAG_Bool(!UNTAG_Bool(TAG_Bool((variable[4] ==  NIT_NULL /*null*/) || ((variable[4] != NIT_NULL) && ((CALL_kernel___Object_____eqeq(variable[4])==kernel___Object_____eqeq)?(IS_EQUAL_NN(variable[4], NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq(variable[4])(variable[4],  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[4])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMDefaultAncestor___init, LOCATE_inheritance, 458); nit_exit(1);}
-  /* Register variable[4]: Result */
-  variable[4] = TAG_Bool(!UNTAG_Bool(TAG_Bool(( variable[2] /*anc*/ ==  NIT_NULL /*null*/) || (( variable[2] /*anc*/ != NIT_NULL) && ((CALL_kernel___Object_____eqeq( variable[2] /*anc*/)==kernel___Object_____eqeq)?(IS_EQUAL_NN( variable[2] /*anc*/, NIT_NULL /*null*/)):(UNTAG_Bool(CALL_kernel___Object_____eqeq( variable[2] /*anc*/)( variable[2] /*anc*/,  NIT_NULL /*null*/) /*Object::==*/)))))));
-  if (!UNTAG_Bool(variable[4])) { fprintf(stderr, "Assert%s failed", ""); fprintf(stderr, " in %s (%s:%d)\n", LOCATE_inheritance___MMDefaultAncestor___init, LOCATE_inheritance, 459); nit_exit(1);}
-  /* Register variable[4]: Result */
-  variable[4] = CALL_static_type___MMLocalClass___get_type( variable[1] /*b*/)( variable[1] /*b*/) /*MMLocalClass::get_type*/;
-  CALL_static_type___MMAncestor___inheriter__eq(variable[0])(variable[0], variable[4]) /*MMAncestor::inheriter=*/;
-  CALL_static_type___MMAncestor___stype__eq(variable[0])(variable[0],  variable[2] /*anc*/) /*MMAncestor::stype=*/;
-  return_label68: while(false);
-  init_table[VAL2OBJ(variable[0])->vft[INIT_TABLE_POS_MMDefaultAncestor].i] = 1;
-  tracehead = trace.prev;
+void inheritance___MMDefaultAncestor___init(val_t p0, val_t p1, val_t p2, int* init_table){
+  int itpos3 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_MMDefaultAncestor].i;
+  struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
+  val_t tmp;
+  if (init_table[itpos3]) return;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_inheritance;
+  fra.me.line = 509;
+  fra.me.meth = LOCATE_inheritance___MMDefaultAncestor___init;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 4;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  fra.me.REG[2] = p2;
+  /* ./metamodel//inheritance.nit:509 */
+  fra.me.REG[3] = fra.me.REG[0];
+  CALL_static_type___MMAncestor___init(fra.me.REG[0])(fra.me.REG[0], init_table);
+  /* ./metamodel//inheritance.nit:511 */
+  fra.me.REG[1] = CALL_static_type___MMLocalClass___get_type(fra.me.REG[1])(fra.me.REG[1]);
+  CALL_static_type___MMAncestor___inheriter__eq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+  /* ./metamodel//inheritance.nit:512 */
+  CALL_static_type___MMAncestor___stype__eq(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[2]);
+  stack_frame_head = fra.me.prev;
+  init_table[itpos3] = 1;
   return;
 }