* jit.c: fix LDELEMA implementation here as well.
svn path=/trunk/mono/; revision=9771
+Thu Dec 19 18:31:54 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+ * jit.c: fix LDELEMA implementation here as well.
+
Wed Dec 18 11:42:58 CET 2002 Paolo Molaro <lupus@ximian.com>
* jit.c: handle CEE_CONV_OVF_U8_UN like CEE_CONV_OVF_I8_UN.
mono_class_init (class);
- esize = mono_class_instance_size (class);
- if (class->valuetype)
- esize -= sizeof (MonoObject);
+ esize = mono_class_array_element_size (class);
t1 = mono_ctree_new (mp, MB_TERM_LDELEMA, sp [0], sp [1]);
t1->data.i = esize;