For static VSD stub calls we avoid creating any control expression and just do the call by dereferencing the indirection cell during codegen. For VSD stub calls that are dynamically computed we should be able to do the same thing. See https://github.com/dotnet/runtime/pull/76017#issuecomment-1260829404 for a regression where it matters.
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
Issue Details
For static VSD stub calls we avoid creating any control expression and just do the call by dereferencing the indirection cell during codegen. For VSD stub calls that are dynamically computed we should be able to do the same thing. See https://github.com/dotnet/runtime/pull/76017#issuecomment-1260829404 for a regression where it matters.
For static VSD stub calls we avoid creating any control expression and just do the call by dereferencing the indirection cell during codegen. For VSD stub calls that are dynamically computed we should be able to do the same thing. See https://github.com/dotnet/runtime/pull/76017#issuecomment-1260829404 for a regression where it matters.
category:cq theme:optimization skill-level:intermediate cost:small impact:small