fixing count how many reg we are using. so we can setup a frame pointer

svn path=/trunk/; revision=25499
This commit is contained in:
Magnus Olsen 2007-01-17 18:47:08 +00:00
parent d1aa0d32ae
commit 3f44d73a4b
3 changed files with 48 additions and 12 deletions

View file

@ -130,7 +130,11 @@ CPU_INT ConvertToIA32Process( FILE *outfp, CPU_INT eax, CPU_INT ebp,
}
fprintf(outfp,"ret\n");
}
pMystart = (PMYBrainAnalys) pMystart->ptr_next;
if (pMystart == pMyend)
pMystart=NULL;
else
pMystart = (PMYBrainAnalys) pMystart->ptr_next;
}
return 0;
}