Remove error_init from native icall wrappers since managed does it.
authorJay Krell <jaykrell@microsoft.com>
Wed, 31 Jul 2019 22:48:43 +0000 (15:48 -0700)
committerJay Krell <jaykrell@microsoft.com>
Wed, 31 Jul 2019 22:49:54 +0000 (15:49 -0700)
commit7cf34d15f83bc32f82b28c0f4d05857b696008e8
treeeec49b351bf4f04a7d3b79fc175ec660adf00605
parent1bdf64bd23ae0b6bf49528fbaf041f647f7606c6
Remove error_init from native icall wrappers since managed does it.
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/3db9635bf59b84651329287e4c6b71783d30f8d6
src/mono/mono/metadata/icall-table.h