Merge branch 'fix-vt' into wip
[nit.git] / src / compiling / table_computation.nit
index 16e7a39..fc50b9d 100644 (file)
@@ -165,6 +165,7 @@ redef class Program
 
                ctab.add(new TableEltClassSelfId)
                ctab.add(new TableEltClassObjectSize)
+               ctab.add(new TableEltClassSelfName)
                itab.add(new TableEltVftPointer)
                itab.add(new TableEltObjectId)
 
@@ -549,6 +550,12 @@ class TableEltClassSelfId
        redef fun is_related_to(c) do return true
 end
 
+# The element that represent the class name
+class TableEltClassSelfName
+       super TableElt
+       redef fun is_related_to(c) do return true
+end
+
 # The element that represent the Object Size
 class TableEltClassObjectSize
        super TableElt