diff mc-code-ia32.c @ 62:129f4802b027

separation done
author kono
date Thu, 20 Feb 2003 05:27:29 +0900
parents 8ffb8ca3fe34
children e13486b2c12e
line wrap: on
line diff
--- a/mc-code-ia32.c	Thu Feb 20 03:29:15 2003 +0900
+++ b/mc-code-ia32.c	Thu Feb 20 05:27:29 2003 +0900
@@ -158,11 +158,6 @@
     }
 }
 
-extern int rname[MAX_MAX];
-extern int regs[MAX_MAX];       /* 使われているレジスタを示すフラグ */
-extern int reg_stack[MAX_MAX];  /* 実際のレジスタの領域 */
-extern int regv[MAX_MAX];       /* 値が入っているかどうか */
-
 extern int creg_regvar;
 
 void
@@ -329,7 +324,7 @@
 
 void
 code_crlvar(int e2) {
-    printf("\tmovsbl %d(%%ebp),%s\n",lvar(e2),register_name(creg,0));
+    printf("\tmovsbl %d(%%ebp),%s\n",e2,register_name(creg,0));
 }
 
 
@@ -788,7 +783,7 @@
 
 
 void
-code_fix_frame_pointer(disp_offset) {
+code_fix_frame_pointer(int disp_offset) {
     printf("\tlea %d(%%ebp),%%ebp\n",disp_offset);
 }