[interp] Small cleanups (mono/mono#17229)
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 8 Oct 2019 22:08:44 +0000 (01:08 +0300)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 8 Oct 2019 22:08:44 +0000 (00:08 +0200)
commitea648eda285a9dbc0275c250f8767750cae063bf
tree8e2619bb9a4b07ba916d05bde99b8d440ff96e3e
parente91e16c3bb1fd2d1d9ea85d1220f155083dcd315
[interp] Small cleanups (mono/mono#17229)

* [intepr] Add define for constant

* [interp] Pass separately pop_vt_sp argument

Cleans up the code a bit. There is no need to do fancy bit operations for such a slow opcode.

Commit migrated from https://github.com/mono/mono/commit/579e385b96c5fd4d9e0b597d4820e3bd2e6cd24a
src/mono/mono/mini/interp/interp-internals.h
src/mono/mono/mini/interp/interp.c
src/mono/mono/mini/interp/mintops.def
src/mono/mono/mini/interp/transform.c