Merged trunk and subtype.
[cacao.git] / src / vm / linker.c
index c1b00e40b199f8a605f4a6249c62db6b88851c9f..438c7eec65a68946d4b80d2545382df13d648303 100644 (file)
@@ -546,7 +546,6 @@ static int build_display_inner(classinfo *topc, classinfo *c, int i)
        {
                if (depth == DISPLAY_SIZE)
                {
-                       topc->vftbl->subtype_overflow_length = i+1;
                        topc->vftbl->subtype_overflow = malloc(sizeof(void*) * (i+1));
 #if defined(ENABLE_STATISTICS)
                        if (opt_stat)
@@ -576,7 +575,6 @@ static void build_display(classinfo *c)
                c->vftbl->subtype_offset = OFFSET(vftbl_t, subtype_display[0]) + sizeof(void*) * depth;
                for (i=depth+1; i<=DISPLAY_SIZE; i++)
                        c->vftbl->subtype_display[i] = NULL;
-               c->vftbl->subtype_overflow_length = 0;
        }
 }