[interp] Fix remaining MonoError reuse. (mono/mono#16533)
authorJay Krell <jaykrell@microsoft.com>
Wed, 28 Aug 2019 19:33:48 +0000 (12:33 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 28 Aug 2019 19:33:48 +0000 (21:33 +0200)
commit55a1421d0521121ca24a34f4cbd737eff6d8cfc2
tree4296e51cc332e30430019c3bbb8067e20dd87d86
parentf871e6e4249730cc24cea82cdf2b328aa8cd7ef5
[interp] Fix remaining MonoError reuse. (mono/mono#16533)

* [interp] Fix remaining MonoError reuse.

This finishes off:
 https://github.com/mono/mono/commit/mono/mono@38aebeae38704df53ef8f2991ff63e293a3ac4de

which is *ok*, but leaves alone the other approach:
 https://github.com/mono/mono/commit/mono/mono@4d9e6ae20e536394c9ff65c61238045db294c08e
 https://github.com/mono/mono/commit/mono/mono@b654aa1ca858666539a677e96d00f594fd81c630
 https://github.com/mono/mono/commit/mono/mono@fd4956fbf277ec56a13137e01b48efb98a5556f5

Several other options are possible.

* self and peer PR: No need to cleanup successful error.

Commit migrated from https://github.com/mono/mono/commit/056d5ca545d8534fa4b9c8b9268913775607e25a
src/mono/mono/mini/interp/interp.c