diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2019-06-12 09:07:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-12 09:07:32 -0700 |
commit | 1bed4714dcf1ae73100f110ff2ff1642c616bb93 (patch) | |
tree | d08be8a09874e517f19d77d17762f19ee9fe0da0 /src/jit | |
parent | ac1effe215b1f01df31c2c97526c81e3c2211c0e (diff) | |
download | coreclr-1bed4714dcf1ae73100f110ff2ff1642c616bb93.tar.gz coreclr-1bed4714dcf1ae73100f110ff2ff1642c616bb93.tar.bz2 coreclr-1bed4714dcf1ae73100f110ff2ff1642c616bb93.zip |
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.
Diffstat (limited to 'src/jit')
-rw-r--r-- | src/jit/lclvars.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jit/lclvars.cpp b/src/jit/lclvars.cpp index 6b26b5de12..2acbef2beb 100644 --- a/src/jit/lclvars.cpp +++ b/src/jit/lclvars.cpp @@ -2055,7 +2055,7 @@ bool Compiler::StructPromotionHelper::TryPromoteStructField(lvaStructFieldInfo& if (fieldSize == 0 || fieldSize > TARGET_POINTER_SIZE || varTypeIsFloating(fieldVarType)) { JITDUMP("Promotion blocked: struct contains struct field with one field," - " but that field has invalid size or type"); + " but that field has invalid size or type.\n"); return false; } @@ -2066,7 +2066,7 @@ bool Compiler::StructPromotionHelper::TryPromoteStructField(lvaStructFieldInfo& if ((outerFieldOffset % fieldSize) != 0) { JITDUMP("Promotion blocked: struct contains struct field with one field," - " but the outer struct offset %u is not a multiple of the inner field size %u", + " but the outer struct offset %u is not a multiple of the inner field size %u.\n", outerFieldOffset, fieldSize); return false; } @@ -2078,7 +2078,7 @@ bool Compiler::StructPromotionHelper::TryPromoteStructField(lvaStructFieldInfo& if (fieldSize != innerStructSize) { JITDUMP("Promotion blocked: struct contains struct field with one field," - " but that field is not the same size as its parent."); + " but that field is not the same size as its parent.\n"); return false; } |