[interp] Remove some unused paths in newobj and cleanup a little. (#32685)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Sun, 23 Feb 2020 13:16:05 +0000 (08:16 -0500)
committerGitHub <noreply@github.com>
Sun, 23 Feb 2020 13:16:05 +0000 (15:16 +0200)
commitfd181c0210c263e40ce8b908bdd521d8f3cc284e
tree4d5a175e1791357b46e87fe206838a8f0798ae95
parent19b77743962ac0a25c77132691eaeaa25a11f5ef
[interp] Remove some unused paths in newobj and cleanup a little. (#32685)

This is an alternative to https://github.com/mono/mono/pull/18974.
Mainly that it does not introduce new opcode to remove branch from newobj/newobj_string.
Both eliminate a bit of dead code in newobj (if turns out to be alive, can also be new opcodes).

Co-authored-by: Jay Krell <jay.krell@cornell.edu>
src/mono/mono/mini/interp/interp.c
src/mono/mono/mini/interp/transform.c