X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fmethod-to-ir.c;h=5f42019f9d405dbef320c062a20e8dc99d409e4f;hb=bb4b0ff4fc2877a3fd5d784348368ec832fb82c7;hp=297516cb32c6290db4e4ded20a96f869000a95c3;hpb=1bb10ac895fae461c4c8204de4a481cbe85259a2;p=mono.git diff --git a/mono/mini/method-to-ir.c b/mono/mini/method-to-ir.c index 297516cb32c..5f42019f9d4 100644 --- a/mono/mini/method-to-ir.c +++ b/mono/mini/method-to-ir.c @@ -7952,7 +7952,7 @@ is_jit_optimizer_disabled (MonoMethod *m) return FALSE; } - attrs = mono_custom_attrs_from_assembly_checked (ass, &error); + attrs = mono_custom_attrs_from_assembly_checked (ass, FALSE, &error); mono_error_cleanup (&error); /* FIXME don't swallow the error */ if (attrs) { for (i = 0; i < attrs->num_attrs; ++i) {