* src/vm/jit/powerpc/linux/md-abi.c: Use VAR and VAROP macros.
[cacao.git] / src / vm / jit / powerpc / darwin / md-abi.c
index 2f069ab9996bf44fd51881432037482b1f0d8efe..477100570f8d56d96c4ea3a2dd5826f049134168 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes: Christian Ullrich
 
-   $Id: md-abi.c 5522 2006-09-15 17:05:58Z christian $
+   $Id: md-abi.c 5595 2006-09-30 23:06:36Z edwin $
 
 */
 
@@ -251,7 +251,7 @@ void md_return_alloc(jitdata *jd, stackptr stackslot)
 /*                     stackslot->varkind = ARGVAR; */
 /*                     stackslot->varnum  = -1; */
 /*                     stackslot->flags   = 0; */
-                       jd->var[stackslot->varnum].flags = PREALLOC;
+                       VAR(stackslot->varnum)->flags = PREALLOC;
 
                        if (IS_INT_LNG_TYPE(md->returntype.type)) {
                                if (!IS_2_WORD_TYPE(md->returntype.type)) {
@@ -259,14 +259,14 @@ void md_return_alloc(jitdata *jd, stackptr stackslot)
                                                rd->argintreguse = 1;
 
 /*                                     stackslot->regoff = REG_RESULT; */
-                                       jd->var[stackslot->varnum].vv.regoff = REG_RESULT;
+                                       VAR(stackslot->varnum)->vv.regoff = REG_RESULT;
                                }
                                else {
                                        if (rd->argintreguse < 2)
                                                rd->argintreguse = 2;
 
 /*                                     stackslot->regoff = REG_RESULT_PACKED; */
-                                       jd->var[stackslot->varnum].vv.regoff = REG_RESULT_PACKED;
+                                       VAR(stackslot->varnum)->vv.regoff = REG_RESULT_PACKED;
                                }
                        }
                        else {
@@ -274,7 +274,7 @@ void md_return_alloc(jitdata *jd, stackptr stackslot)
                                        rd->argfltreguse = 1;
 
 /*                             stackslot->regoff = REG_FRESULT; */
-                               jd->var[stackslot->varnum].vv.regoff = REG_FRESULT;
+                               VAR(stackslot->varnum)->vv.regoff = REG_FRESULT;
                        }
                }
        }