You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [llvmonly] Optimize delegate invocation.
* Unify the initialization of delegates in llvmonly mode in mini_llvmonly_init_delegate ().
* Pass a MonoDelegateTrampInfo structure to init_delegate (), use it to
cache various data.
* Invoke delegates similarly to the non-llvmonly case, by making an indirect
call through del->invoke_impl, which is initialized in init_delegate ().
This also fixes some special cases like bound delegates, since init_delegate ()
has access to the delegate instance, so it can use the appropriate wrapper.
* Compute a cached MonoDelegateTrampInfo for delegates created from the interpreter as well.
* Fix interp execution of delegate invokes, the invoke wrapper depends on the delegate instance, so it needs to be created in interp_entry () not in transform_method ().
0 commit comments