summaryrefslogtreecommitdiff
path: root/src/vm/jithelpers.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-06-29 00:21:17 -0700
committerGitHub <noreply@github.com>2017-06-29 00:21:17 -0700
commit03bec77fb4efaa397248a2b9a35c547522221447 (patch)
tree48894553f410945d82b7f3bd7c881faf9fc9d5e6 /src/vm/jithelpers.cpp
parent98d19c577c4fdeade912eceef4575e984ec3ce19 (diff)
downloadcoreclr-03bec77fb4efaa397248a2b9a35c547522221447.tar.gz
coreclr-03bec77fb4efaa397248a2b9a35c547522221447.tar.bz2
coreclr-03bec77fb4efaa397248a2b9a35c547522221447.zip
Fix GC contract violation (#12542)
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r--src/vm/jithelpers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp
index bf657af6f8..bfb2b34565 100644
--- a/src/vm/jithelpers.cpp
+++ b/src/vm/jithelpers.cpp
@@ -3150,6 +3150,7 @@ HCIMPL2(Object*, JIT_NewArr1_R2R, CORINFO_CLASS_HANDLE arrayTypeHnd_, INT_PTR si
ArrayTypeDesc *pArrayTypeDesc = arrayTypeHandle.AsArray();
MethodTable *pArrayMT = pArrayTypeDesc->GetTemplateMethodTable();
+ ENDFORBIDGC();
return HCCALL2(JIT_NewArr1, (CORINFO_CLASS_HANDLE)pArrayMT, size);
}
HCIMPLEND