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:
552d72d
)
Fix issue 23713: handle TypeDesc field handles (#23767)
author
Fadi Hanna
<fadim@microsoft.com>
Fri, 5 Apr 2019 21:05:17 +0000
(14:05 -0700)
committer
Jan Kotas
<jkotas@microsoft.com>
Fri, 5 Apr 2019 21:05:17 +0000
(14:05 -0700)
src/vm/methodtable.cpp
patch
|
blob
|
history
diff --git
a/src/vm/methodtable.cpp
b/src/vm/methodtable.cpp
index
3e228ee
..
1603484
100644
(file)
--- a/
src/vm/methodtable.cpp
+++ b/
src/vm/methodtable.cpp
@@
-10244,7
+10244,8
@@
static BOOL ComputeIsLayoutInCurrentVersionBubble(MethodTable* pMT)
ApproxFieldDescIterator fieldIterator(pMT, ApproxFieldDescIterator::INSTANCE_FIELDS);
for (FieldDesc *pFD = fieldIterator.Next(); pFD != NULL; pFD = fieldIterator.Next())
{
- MethodTable * pFieldMT = pFD->GetApproxFieldTypeHandleThrowing().AsMethodTable();
+ MethodTable * pFieldMT = pFD->GetApproxFieldTypeHandleThrowing().GetMethodTable();
+
if (!pFieldMT->IsLayoutInCurrentVersionBubble())
return FALSE;
}