* src/vm/descriptor.h (paramdesc): We need a type for MIPS32, as the
authortwisti <none@none>
Thu, 26 Oct 2006 10:09:11 +0000 (10:09 +0000)
committertwisti <none@none>
Thu, 26 Oct 2006 10:09:11 +0000 (10:09 +0000)
type in the allocated argument register may be different to the actual
register (e.g. passing a float in an integer register).

src/vm/descriptor.h

index d39a9704f07c152731c81963c320e9b0ce4c2259..db711e10eea583f6f7592fc27bdf0f69fa4b4cbe 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes:
 
-   $Id: descriptor.h 5078 2006-07-05 11:48:49Z twisti $
+   $Id: descriptor.h 5828 2006-10-26 10:09:11Z twisti $
 
 */
 
@@ -108,6 +108,9 @@ struct typedesc {
 /*       For non-primitive types decltype is TYPE_ADR.                        */
 
 struct paramdesc {
+#if defined(__MIPS__)
+       u1   type;                  /* TYPE_??? of the register allocated         */
+#endif
        bool inmemory;              /* argument in register or on stack           */
        s4   regoff;                /* register index or stack offset             */
 };