projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a136b2e
)
Report CORINFO_FLG_CONTAINS_GC_PTR for TypedReference (#8014)
author
Michal Strehovský
<MichalStrehovsky@users.noreply.github.com>
Tue, 8 Nov 2016 19:16:41 +0000
(11:16 -0800)
committer
GitHub
<noreply@github.com>
Tue, 8 Nov 2016 19:16:41 +0000
(11:16 -0800)
src/vm/jitinterface.cpp
patch
|
blob
|
history
diff --git
a/src/vm/jitinterface.cpp
b/src/vm/jitinterface.cpp
index
8c6cd34
..
64b951f
100644
(file)
--- a/
src/vm/jitinterface.cpp
+++ b/
src/vm/jitinterface.cpp
@@
-3999,7
+3999,7
@@
DWORD CEEInfo::getClassAttribsInternal (CORINFO_CLASS_HANDLE clsHnd)
if (pMT->IsMarshaledByRef())
ret |= CORINFO_FLG_MARSHAL_BYREF;
- if (pMT->ContainsPointers())
+ if (pMT->ContainsPointers()
|| pMT == g_TypedReferenceMT
)
ret |= CORINFO_FLG_CONTAINS_GC_PTR;
if (pMT->IsDelegate())