diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-02-05 19:41:37 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-02-05 19:41:37 +0300 |
commit | 218282754c9b67d057a5e40e75673795ef43413f (patch) | |
tree | 5f611d34487c882a2569aaca6c25fb15e74ca423 /src/Native/Runtime/MiscHelpers.cpp | |
parent | 2996cac38fffe6a32120d86e486748b01af7f184 (diff) |
Delete obsoleted code
We have been keeping obsoleted code in the runtime for compatibility with older versions. The runtime version just got bumped up - it allows us to delete the obsolete code before the next compatibility band starts.
[tfs-changeset: 1572810]
Diffstat (limited to 'src/Native/Runtime/MiscHelpers.cpp')
-rw-r--r-- | src/Native/Runtime/MiscHelpers.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Native/Runtime/MiscHelpers.cpp b/src/Native/Runtime/MiscHelpers.cpp index 0b959a778..83f5cb977 100644 --- a/src/Native/Runtime/MiscHelpers.cpp +++ b/src/Native/Runtime/MiscHelpers.cpp @@ -134,11 +134,6 @@ COOP_PINVOKE_HELPER(HANDLE, RhGetModuleFromPointer, (PTR_VOID pPointerVal)) COOP_PINVOKE_HELPER(HANDLE, RhGetModuleFromEEType, (EEType * pEEType)) { - // Runtime allocated EETypes have no associated module, but class libraries shouldn't be able to get to - // any of these since they're currently only used for the canonical version of a generic EEType and we - // provide no means to go from the cloned version to the canonical version. - ASSERT(!pEEType->IsRuntimeAllocated()); - // For dynamically created types, return the module handle that contains the template type if (pEEType->IsDynamicType()) pEEType = pEEType->get_DynamicTemplateType(); |