Fix spurious exception while compiling optimized code (#83324)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Wed, 15 Mar 2023 01:28:51 +0000 (10:28 +0900)
committerGitHub <noreply@github.com>
Wed, 15 Mar 2023 01:28:51 +0000 (10:28 +0900)
commitda25e0010b8cde813533d41cd1565abe27167130
tree1b1288e6843caad127d3ed4090bb1d510c2be67c
parentd83af2e639b15f3bb434df91fa6fb0c32b33517e
Fix spurious exception while compiling optimized code (#83324)

When RyuJIT tried to inline an unboxing stub, it would trigger an exception that would abort the inline. Make it so that we don't trigger an exception.
src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs