summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarol Eidt <carol.eidt@microsoft.com>2016-11-22 08:17:24 -0800
committerGitHub <noreply@github.com>2016-11-22 08:17:24 -0800
commitebfb39bc1b8f82e3c8ae5746af7ac51502f9a747 (patch)
treebaa155d20a400f2f383047aad2a1ce5816818601 /src
parent1df25fe82c2d82d8cd728dd457d305c767d6510f (diff)
parent13d9b9f08cebb57567838b1ddf1c4f4477961e50 (diff)
downloadcoreclr-ebfb39bc1b8f82e3c8ae5746af7ac51502f9a747.tar.gz
coreclr-ebfb39bc1b8f82e3c8ae5746af7ac51502f9a747.tar.bz2
coreclr-ebfb39bc1b8f82e3c8ae5746af7ac51502f9a747.zip
Merge pull request #8247 from CarolEidt/Fix288222
Set the size of SIMD this pointer
Diffstat (limited to 'src')
-rw-r--r--src/jit/lclvars.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jit/lclvars.cpp b/src/jit/lclvars.cpp
index 299040da81..3a1281bf47 100644
--- a/src/jit/lclvars.cpp
+++ b/src/jit/lclvars.cpp
@@ -385,8 +385,9 @@ void Compiler::lvaInitThisPtr(InitVarDscInfo* varDscInfo)
if (simdBaseType != TYP_UNKNOWN)
{
assert(varTypeIsSIMD(type));
- varDsc->lvSIMDType = true;
- varDsc->lvBaseType = simdBaseType;
+ varDsc->lvSIMDType = true;
+ varDsc->lvBaseType = simdBaseType;
+ varDsc->lvExactSize = genTypeSize(type);
}
}
#endif // FEATURE_SIMD