SuperPMI: Fix `getFieldType` (#25102)
authorCarol Eidt <carol.eidt@microsoft.com>
Wed, 12 Jun 2019 16:07:32 +0000 (09:07 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2019 16:07:32 +0000 (09:07 -0700)
commit1bed4714dcf1ae73100f110ff2ff1642c616bb93
treed08be8a09874e517f19d77d17762f19ee9fe0da0
parentac1effe215b1f01df31c2c97526c81e3c2211c0e
SuperPMI: Fix `getFieldType` (#25102)

* SuperPMI: Fix `getFieldType`

The `structType` out parameter is optional (i.e. it may be null), but it's not used as a key, so we need to update the map if we've saved a null but encounter a non-null.
src/ToolBox/superpmi/superpmi-shared/lightweightmap.h
src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp
src/jit/lclvars.cpp