svn path=/trunk/mono/; revision=76425
+2007-04-27 Neale Ferguson <neale@sinenomine.net>
+
+ * mini-s390x.c: Fix MONO_TYPE_VALUETYPE processing.
+
2007-04-27 Wade Berrier <wberrier@novell.com>
* mini-s390x.c: Remove redeclaration of CompRelation and CompType (defined in
/* Fall through */
case MONO_TYPE_VALUETYPE: {
MonoClass *klass = mono_class_from_mono_type (sig->ret);
- if (sig->ret->data.klass->enumtype) {
- simpletype = sig->ret->data.klass->enum_basetype->type;
+ if (klass->enumtype) {
+ simpletype = klass->enum_basetype->type;
goto enum_retvalue;
}
if (sig->pinvoke)