JIT: add more inlining bail out checks#72795
Conversation
When inlining, new temp allocation may fail, and callers of methods that allocate new temps must do suitable checks. Add a few that were missing. Fixes dotnet#64787.
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsWhen inlining, new temp allocation may fail, and callers of methods Add a few that were missing. Fixes #64787.
|
|
I wonder if we could use |
Probably doable. I think the only clunky part is we'd need to generalize Not sure if the runtime needs to get involved in cleanup as there is only one jit request and I think the jit interface state/caching is tied to that, not to the particular compiler object the jit is using. |
When inlining, new temp allocation may fail, and callers of methods
that allocate new temps must do suitable checks.
Add a few that were missing.
Fixes #64787.