diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-06-15 15:44:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 15:44:36 -0700 |
commit | 6bb3f84d42b9756c5fa18158db8f724d57796296 (patch) | |
tree | 2ae71f9f6aa18f40dab879c82c80794359e42aaf /src/vm/array.cpp | |
parent | 13954f2b3072866be61c273d17f7b4fd2d1e6099 (diff) | |
download | coreclr-6bb3f84d42b9756c5fa18158db8f724d57796296.tar.gz coreclr-6bb3f84d42b9756c5fa18158db8f724d57796296.tar.bz2 coreclr-6bb3f84d42b9756c5fa18158db8f724d57796296.zip |
Delete bitrotten appdomain agility checks (#18489)
Fixes #18484
Diffstat (limited to 'src/vm/array.cpp')
-rw-r--r-- | src/vm/array.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vm/array.cpp b/src/vm/array.cpp index b9e7d6e27a..5761b01660 100644 --- a/src/vm/array.cpp +++ b/src/vm/array.cpp @@ -432,13 +432,6 @@ MethodTable* Module::CreateArrayMethodTable(TypeHandle elemTypeHnd, CorElementTy pClass->SetArrayElementType (elemType); pClass->SetMethodTable (pMT); -#if defined(_DEBUG) - // Non-covariant arrays of agile types are agile - if (elemType != ELEMENT_TYPE_CLASS && elemTypeHnd.IsAppDomainAgile()) - pClass->SetAppDomainAgile(); - pClass->SetAppDomainAgilityDone(); -#endif - // Fill In the method table pClass->SetNumMethods(numVirtuals + numNonVirtualSlots); |