JIT: fixes for EH Write Thru and OSR (#35550)
authorAndy Ayers <andya@microsoft.com>
Tue, 28 Apr 2020 17:06:20 +0000 (10:06 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Apr 2020 17:06:20 +0000 (10:06 -0700)
commit9491e7a47b9b41c48c4b28d0e55cc2917ae109c7
tree39db543c1a78a14ce6928cc2dd2b67a17c095a44
parent7cbf0a7011813cb84c6c858ef19acb770daa777e
JIT: fixes for EH Write Thru and OSR (#35550)

For EH Write Thru: make sure to initialize the stack home for any EH live
register parameters. Fixes some runtime errors.

For OSR: don't allocate the patchpoint counter local until we're going to
transform a patchpoint. Fixes a post-phase assert.
src/coreclr/src/jit/codegencommon.cpp
src/coreclr/src/jit/patchpoint.cpp