X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvm%2Flinker.c;fp=src%2Fvm%2Flinker.c;h=438c7eec65a68946d4b80d2545382df13d648303;hb=219e4a46e3d127d3c0883ee2e8635b4fe3c94d60;hp=c1b00e40b199f8a605f4a6249c62db6b88851c9f;hpb=5fd66d7079226750d364952b1b305d97e38f808b;p=cacao.git diff --git a/src/vm/linker.c b/src/vm/linker.c index c1b00e40b..438c7eec6 100644 --- a/src/vm/linker.c +++ b/src/vm/linker.c @@ -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; } }