[runtime] Use coop handles for some simple icalls
authorAleksey Kliger <aleksey@xamarin.com>
Mon, 1 May 2017 19:43:02 +0000 (15:43 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Thu, 4 May 2017 16:00:39 +0000 (12:00 -0400)
commit419331f455e776b0440f41b69e4bfccf6b538111
tree4dd08a65d76cb271ee7e4459689eba4100385e2c
parent72787358ad0ecb6db44ceb51acf3d92697ddd16a
[runtime] Use coop handles for some simple icalls

- System.Text.EncodingHelper.InternalCodePage
- System.Runtime.InteropServices.Marshal.PtrToStringAnsi(intptr)
- Use coop handles for ves_icall_System_Configuration_DefaultConfig_get_machine_config_path
- Use coop handles for ves_icall_System_Configuration_InternalConfigurationHost_get_bundled_app_config
- Use coop handles for System.Web.Util.ICalls.GetMachineInstallDirectory
mono/metadata/icall-def.h
mono/metadata/icall.c
mono/metadata/marshal.c
mono/metadata/marshal.h