* reg_setup: fixed typo in register splitting
authormichi <none@none>
Fri, 5 Aug 2005 09:41:04 +0000 (09:41 +0000)
committermichi <none@none>
Fri, 5 Aug 2005 09:41:04 +0000 (09:41 +0000)
src/vm/jit/reg.inc

index ce9d02e31bc264221c4d34e722c5b1087ab27409..962efd07825b7be0daa1e847a74dec8e51060616 100644 (file)
@@ -31,7 +31,7 @@
                        Christian Ullrich
             Michael Starzinger
 
-   $Id: reg.inc 3103 2005-07-24 22:03:13Z michi $
+   $Id: reg.inc 3127 2005-08-05 09:41:04Z michi $
 
 */
 
@@ -77,10 +77,10 @@ void reg_setup(methodinfo *m, registerdata *rd, t_inlining_globals *id)
 
 #if defined(__ARM__)
        /* On ARM longs can be split across argument regs and stack. This is
-        * signed by setting the HIGH_REG to INT_ARG_CNT+1 in md_param_alloc().
+        * signed by setting the HIGH_REG to INT_ARG_CNT in md_param_alloc().
         * Here we make sure it resolves to a special dummy reg (REG_SPLIT). */
        rd->argintregs = DMNEW(s4, INT_ARG_CNT + 1);
-       rd->argintregs[INT_ARG_CNT + 1] = REG_SPLIT;
+       rd->argintregs[INT_ARG_CNT] = REG_SPLIT;
 #else
        rd->argintregs = DMNEW(s4, INT_ARG_CNT);
 #endif