[interp] Optimize call path (#17623)
commit170d33c35b76933c1d726922a7c40a9af5a6017d
authorVlad Brezae <brezaevlad@gmail.com>
Fri, 1 Nov 2019 12:55:27 +0000 (1 14:55 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Nov 2019 12:55:27 +0000 (1 14:55 +0200)
tree5212c2e194bbb0b6dc61f6510dfb501bb82c4fde
parent8aa3654de586bf87ce69608eac71675eeef74a45
[interp] Optimize call path (#17623)

* [interp] Optimize void calls

By avoiding setting of retval

* [interp] Avoid computing param count for every call

* [interp] Remove wrong profiler check

From the times when interp had its own EH mechanism. We raise this event from mono_handle_exception_internal for interp.

* [interp] Remove profiling check code from method exit

We emit MINT_PROF_EXIT opcode when under profiler. Unify profiling enter/exit with tracing enter/exit since they are very similar.
mono/mini/interp/interp-internals.h
mono/mini/interp/interp.c
mono/mini/interp/mintops.def
mono/mini/interp/transform.c