Distinguish when we SPMI R2R compilation. (#42995)
authorSergey Andreenko <seandree@microsoft.com>
Tue, 6 Oct 2020 00:04:45 +0000 (17:04 -0700)
committerGitHub <noreply@github.com>
Tue, 6 Oct 2020 00:04:45 +0000 (17:04 -0700)
commit6b84a7490365cc6918ac7f0f93fe71b3f2fe451c
tree8bcc4871f6279b6a988371f6a583632d0c204bf8
parent4b77a2a4f5f91deca3e054934b852088417f1532
Distinguish when we SPMI R2R compilation. (#42995)

Don't try to stash field values because in R2R case Jit does not try to read them. It happens only in CoreRun for static readonly fields.
src/coreclr/src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp
src/coreclr/src/ToolBox/superpmi/superpmi-shared/methodcontext.h