Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: Make stack size computation in
fgCanFastTailCall
more precise (#…
…103538) Two changes: 1. Skip applying alignment when computing a call's arg stack size, which does not make sense/is not correct 2. Round up the incoming parameter stack space in terms of number of slots Without (1) we overestimate the stack size usage for some calls. Without (2) we underestimate the incoming stack size for some methods. Both of these just result in fewer tailcalls than possible, so cause no correctness issues. However, I hit some diffs in #103537 because of them.
- Loading branch information