2009-02-03 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Mon, 2 Feb 2009 23:07:13 +0000 (23:07 -0000)
committerZoltan Varga <vargaz@gmail.com>
Mon, 2 Feb 2009 23:07:13 +0000 (23:07 -0000)
commita1a1c134cd7f1106002c9cf28c47aa1ef167757c
tree68cfb43aeeafe87ddf269f88c7ac8c2675a604e2
parent41f9063d070eb5600b557344da44b5fc20d108fe
2009-02-03  Zoltan Varga  <vargaz@gmail.com>

* method-builder.h (_MonoMethodBuilder): Add a 'skip_visibility' flag.

* method-builder.c (mono_mb_create_method): Set method->skip_visibility from
the method builder.

* marshal.c: Set mb->skip_visibility instead of setting it on the method
after it was created and cached, as the later is not thread safe.

svn path=/trunk/mono/; revision=125435
mono/metadata/ChangeLog
mono/metadata/method-builder.c
mono/metadata/method-builder.h