# HG changeset patch # User kono # Date 1137322123 -32400 # Node ID 74bea4129e153f7367ff6fd5001279111a3f30f9 # Parent dbde3b869a0fb8c9c1783b2da0a832d4e70b611a ia32 fix_frame removed. diff -r dbde3b869a0f -r 74bea4129e15 mc-code-ia32.c --- a/mc-code-ia32.c Sun Jan 15 19:28:50 2006 +0900 +++ b/mc-code-ia32.c Sun Jan 15 19:48:43 2006 +0900 @@ -217,9 +217,8 @@ */ static int arg_offset; int disp_offset = -12; -#define func_disp_offset -12 -#define code_disp_offset 0 -// static int jump_offset = 0; +#define func_disp_offset (-12) +#define code_disp_offset (-12) static int code_disp_label; static int func_disp_label; @@ -365,8 +364,6 @@ endian = ENDIAN; arg_offset = 8; - // func_disp_offset = -12; - disp_offset = -12; MAX_REGISTER=6; MAX_DATA_REG=4; MAX_POINTER=3; @@ -676,7 +673,7 @@ emit_init(void) { int i; - for(i=0;i