moved CLASS_IS_ARRAY to vm/jit/verify/typeinfo.c
authoredwin <none@none>
Sun, 27 Mar 2005 15:38:49 +0000 (15:38 +0000)
committeredwin <none@none>
Sun, 27 Mar 2005 15:38:49 +0000 (15:38 +0000)
src/vm/jit/verify/typeinfo.c

index 5fb14bcc12aab521e5634623a54997f11e5b54d4..b6b042f04de5be0006fc6d6bb9408d4a8bb7e04f 100644 (file)
@@ -26,7 +26,7 @@
 
    Authors: Edwin Steiner
 
-   $Id: typeinfo.c 2088 2005-03-25 20:15:05Z edwin $
+   $Id: typeinfo.c 2095 2005-03-27 15:38:49Z edwin $
 
 */
 
@@ -41,6 +41,8 @@
 #include "vm/jit/jit.h"
 #include "vm/jit/verify/typeinfo.h"
 
+#define CLASS_IS_ARRAY(cls)                                     \
+       ((cls)->vftbl->arraydesc != NULL)
 
 #define CLASS_IMPLEMENTS_INTERFACE(cls,index)                   \
     ( ((index) < (cls)->vftbl->interfacetablelength)            \