summaryrefslogtreecommitdiff
path: root/src/vm/generics.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-06-13 19:33:53 -0700
committerGitHub <noreply@github.com>2016-06-13 19:33:53 -0700
commit7f7d8276e65059a37001aaa5ce9af7e82249f4a0 (patch)
tree783b31f465cbc9381fce9f2d0d2a0e2ff582d8ca /src/vm/generics.cpp
parenta3676dd03e21501c7565c8b402a21d4f5a1428c6 (diff)
downloadcoreclr-7f7d8276e65059a37001aaa5ce9af7e82249f4a0.tar.gz
coreclr-7f7d8276e65059a37001aaa5ce9af7e82249f4a0.tar.bz2
coreclr-7f7d8276e65059a37001aaa5ce9af7e82249f4a0.zip
Refactor MethodTable::ContainsStackPtr (#5754)
- Rename ContainsStackPtr to IsByRefLike. It is the term used for this kind of types in ECMA spec. - Change the check to be based on flag instead of hard coded list of types - Remove redundant unused method of the same name on EEClass
Diffstat (limited to 'src/vm/generics.cpp')
-rw-r--r--src/vm/generics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/generics.cpp b/src/vm/generics.cpp
index 9e4e7849ad..3ff3d5aa2e 100644
--- a/src/vm/generics.cpp
+++ b/src/vm/generics.cpp
@@ -732,7 +732,7 @@ BOOL CheckInstantiation(Instantiation inst)
MethodTable* pMT = th.GetMethodTable();
if (pMT != NULL)
{
- if (pMT->ContainsStackPtr())
+ if (pMT->IsByRefLike())
{
return FALSE;
}