Mercurial > hg > CbC > old > device
diff mc-nop-386.c @ 62:129f4802b027
separation done
author | kono |
---|---|
date | Thu, 20 Feb 2003 05:27:29 +0900 |
parents | 8ffb8ca3fe34 |
children | 1c2a9232ea93 |
line wrap: on
line diff
--- a/mc-nop-386.c Thu Feb 20 03:29:15 2003 +0900 +++ b/mc-nop-386.c Thu Feb 20 05:27:29 2003 +0900 @@ -1740,6 +1740,7 @@ void code_leave(char *name) { + disp=(disp-(size_of_int-1))&(-(size_of_int-1)); printf("\t.set _%d,%d\n",code_disp_label,disp+code_disp_offset); printf("_%d:\n",labelno); printf("\t.size\t%s,_%d-%s\n",name,labelno,name); @@ -1793,6 +1794,7 @@ printf("\tpopl %%ebx\n"); printf("\tleave\n"); printf("\tret\n"); + disp=(disp-(size_of_int-1))&(-(size_of_int-1)); printf("\t.set _%d,%d\n",func_disp_label,disp+disp_offset); printf("_%d:\n",labelno); printf("\t.size\t%s,_%d-%s\n",name,labelno,name);