Merge pull request #3802 from lambdageek/dev-reference-attr-take3
[mono.git] / mono / mini / method-to-ir.c
index 297516cb32c6290db4e4ded20a96f869000a95c3..5f42019f9d405dbef320c062a20e8dc99d409e4f 100644 (file)
@@ -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) {