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:
cb37183
)
* fixed class size calculation (#10916)
author
Buyduck
<ivan.vagin@partner.samsung.com>
Tue, 18 Apr 2017 08:02:14 +0000
(11:02 +0300)
committer
Jan Vorlicek
<janvorli@microsoft.com>
Tue, 18 Apr 2017 08:02:14 +0000
(
01:02
-0700)
src/vm/gdbjit.cpp
patch
|
blob
|
history
diff --git
a/src/vm/gdbjit.cpp
b/src/vm/gdbjit.cpp
index
fe8e211
..
ace6b76
100644
(file)
--- a/
src/vm/gdbjit.cpp
+++ b/
src/vm/gdbjit.cpp
@@
-1095,7
+1095,7
@@
ClassTypeInfo::ClassTypeInfo(TypeHandle typeHandle, int num_members, FunctionMem
{
case ELEMENT_TYPE_VALUETYPE:
case ELEMENT_TYPE_CLASS:
- m_type_size = pMT->IsValueType() ? typeHandle.GetSize() : typeHandle.AsMethodTable()->Get
Class()->Get
Size();
+ m_type_size = pMT->IsValueType() ? typeHandle.GetSize() : typeHandle.AsMethodTable()->Get
Base
Size();
break;
case ELEMENT_TYPE_ARRAY:
case ELEMENT_TYPE_SZARRAY: