14 lines
635 B
Plaintext
14 lines
635 B
Plaintext
|
$OpenBSD: patch-mono_metadata_class_c,v 1.3 2010/08/18 10:51:55 robert Exp $
|
||
|
--- mono/metadata/class.c.orig Wed Aug 18 10:21:01 2010
|
||
|
+++ mono/metadata/class.c Wed Aug 18 10:21:14 2010
|
||
|
@@ -1722,7 +1722,8 @@ mono_class_layout_fields (MonoClass *class)
|
||
|
field->offset &= ~(align - 1);
|
||
|
}
|
||
|
/*TypeBuilders produce all sort of weird things*/
|
||
|
- g_assert (class->image->dynamic || field->offset > 0);
|
||
|
+ /*can't have this assert on 2.6 since its SRE has much more trouble handling inflated types in SRE context.*/
|
||
|
+ /*g_assert (class->image->dynamic || field->offset > 0);*/
|
||
|
real_size = field->offset + size;
|
||
|
}
|
||
|
|