summaryrefslogtreecommitdiff
path: root/src/vm/jithelpers.cpp
diff options
context:
space:
mode:
authorRuben Ayrapetyan <r.ayrapetyan@samsung.com>2017-06-27 19:22:07 +0300
committerJan Kotas <jkotas@microsoft.com>2017-06-27 12:57:38 -0700
commit91163768c4eec24379491e0bff49e8c4333f53f1 (patch)
tree84dc4ddb707d1f919a0993ab4be66f925d735b59 /src/vm/jithelpers.cpp
parent980ecbb740bda25ecea00affa49a47acfded6b19 (diff)
downloadcoreclr-91163768c4eec24379491e0bff49e8c4333f53f1.tar.gz
coreclr-91163768c4eec24379491e0bff49e8c4333f53f1.tar.bz2
coreclr-91163768c4eec24379491e0bff49e8c4333f53f1.zip
Fix JIT_NewArr1 8-byte alignment for ELEMENT_TYPE_R8 on x86.
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r--src/vm/jithelpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp
index b74c4104ff..bf657af6f8 100644
--- a/src/vm/jithelpers.cpp
+++ b/src/vm/jithelpers.cpp
@@ -3186,7 +3186,7 @@ HCIMPL2(Object*, JIT_NewArr1, CORINFO_CLASS_HANDLE arrayMT, INT_PTR size)
// is this a primitive type?
//
- CorElementType elemType = pArrayMT->GetInternalCorElementType();
+ CorElementType elemType = pArrayMT->GetArrayElementType();
if (CorTypeInfo::IsPrimitiveType(elemType)
#ifdef FEATURE_64BIT_ALIGNMENT