2010-05-19 Rodrigo Kumpera <rkumpera@novell.com>
commitd3c31259083ab29de8c8fd2915663f8c0831bee5
authorkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 20 May 2010 00:47:12 +0000 (20 00:47 +0000)
committerkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 20 May 2010 00:47:12 +0000 (20 00:47 +0000)
treeb84dcdadf906e1ddd4f0da69f70988e39b5d0feb
parentb21d12eec225cd9576e1417dfba30943b71bc92f
2010-05-19 Rodrigo Kumpera  <rkumpera@novell.com>

* marshal.c (mono_marshal_init): Register mono_gchandle_get_target
icall.

* marshal.c (mono_delegate_to_ftnptr): Use a gchandle instead of
gc tracked memory.

* marshal.c (mono_marshal_emit_managed_wrapper): Retrieve the first
argument from a gchandle.

* marshal.c: Get rid of the delegate_target_locations hash table.

Fixes #605295.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@157589 e3ebcda4-bce8-0310-ba0a-eca2169e7518
mono/metadata/ChangeLog
mono/metadata/marshal.c
mono/metadata/marshal.h
mono/mini/aot-compiler.c