Array problems with kaffe 0.8

Tim Wilkinson tim at tjwassoc.demon.co.uk
Mon Feb 17 05:34:43 PST 1997


John,

Ah ha!! Finally fixed the problem - well it turned out I fixed it as a 
consequence of fixing something else.  Find a patch below.

Tim

--- kaffe-0.8.0/kaffe/kaffevm/jit/registers.c.orig  Mon Feb 17 13:32:37 1997
+++ kaffe-0.8.0/kaffe/kaffevm/jit/registers.c       Mon Feb 17 13:33:37 1997
@@ -176,9 +176,10 @@
                        spill(pslot);
                }
                slot_invalidate(pslot);
-               if (type == Rlong || type == Rdouble) {
+               if (regi->ctype == Rlong || regi->ctype == Rdouble) {
                        slot_invalidate(&pslot[1]);
                }
+
        }
 
        /* If we have a register assigned to this slot then it must


--
  Tim Wilkinson                         Tel/Fax: +44 181 440 0658
  T. J. Wilkinson & Associates,         Mobile:  +44 370 621006
  London, UK.                           Email:   tim at tjwassoc.demon.co.uk



More information about the kaffe mailing list