diff mc-code-ia32.c @ 205:a50f90d0b63a

*** empty log message ***
author kono
date Thu, 15 Apr 2004 01:01:51 +0900
parents 4c614334f3d0
children 32f54ab63b35
line wrap: on
line diff
--- a/mc-code-ia32.c	Tue Apr 13 12:26:56 2004 +0900
+++ b/mc-code-ia32.c	Thu Apr 15 01:01:51 2004 +0900
@@ -109,20 +109,20 @@
 
 static int dreg; /* general temporal register */
 
-int ia32regs[REAL_MAX_REGISTER];
-int ia32regv[REAL_MAX_REGISTER];
-int ia32rname[REAL_MAX_REGISTER];
+static int ia32regs[REAL_MAX_REGISTER];
+static int ia32regv[REAL_MAX_REGISTER];
+static int ia32rname[REAL_MAX_REGISTER];
 
-int *regv  = ia32regv;
-int *regs  = ia32regs;
+static int *regv  = ia32regv;
+static int *regs  = ia32regs;
 static int *rname = ia32rname;
 
-int ia32fregs[1];
-int ia32fregv[1];
+static int ia32fregs[1];
+static int ia32fregv[1];
 
-int freg;
-int *fregv = ia32fregv;
-int *fregs = ia32fregs;
+static int freg;
+static int *fregv = ia32fregv;
+static int *fregs = ia32fregs;
 
 
 #define REG_EAX   0
@@ -231,11 +231,6 @@
 code_gexpr(int e){
 }
 
-int
-register_var(int r) {
-    return virtual(r+REG_ESI);
-}
-
 int 
 get_register(void)
 {    /* 使われていないレジスタを調べる */
@@ -285,6 +280,13 @@
     return list2(LVAR,new_lvar(size_of_longlong));
 }
 
+int 
+get_lregister()
+{
+    return -1;
+}
+
+
 int
 register_full(void)
 {