Remove error_init from native icall wrappers since managed does it. (mono/mono#15943)
authorZoltan Varga <vargaz@gmail.com>
Sat, 3 Aug 2019 16:00:46 +0000 (12:00 -0400)
committerGitHub <noreply@github.com>
Sat, 3 Aug 2019 16:00:46 +0000 (12:00 -0400)
commitb3d9f0d17e8f44b53e0e8c88839cc210890d5a5d
tree7f3bc2f7fc4e6556bcab15e6914a68a383882917
parentb2806064fb0dc58f7fded76d9631b4df4e52eac7
parent7cf34d15f83bc32f82b28c0f4d05857b696008e8
Remove error_init from native icall wrappers since managed does it. (mono/mono#15943)

Preferable would be native only, i.e. for interpreter and for when
it is actually unused, but ok for now.

Between removing the managed and the native, managed is preserved
in case there uses of MonoError in C# other than icall wrappers.
Keep them safe.

But again ideally move it to native and remove the managed type,
pending debugging WebAssembly failure doing so.

Commit migrated from https://github.com/mono/mono/commit/9da563509e7d6f0e05d0c9f14dc949dc182567df