--- pnet-0.6.0-org/engine/unroll.c 2003-09-02 05:51:00.000000000 +0200 +++ pnet-0.6.0-new/engine/unroll.c 2003-10-29 10:38:13.000000000 +0100 @@ -1458,6 +1458,7 @@ static void DumpCode(ILMethod *method, u { char cmdline[BUFSIZ]; FILE *file = fopen("/tmp/unroll.s", "w"); + unsigned char *ip = start; if(!file) { return; @@ -1470,8 +1471,8 @@ static void DumpCode(ILMethod *method, u fflush(stdout); while(len > 0) { - fprintf(file, ".byte %d\n", (int)(*start)); - ++start; + fprintf(file, ".byte %d\n", (int)(*ip)); + ++ip; --len; } fclose(file);