Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-02-05 19:41:37 +0300
committerJan Kotas <jkotas@microsoft.com>2016-02-05 19:41:37 +0300
commit218282754c9b67d057a5e40e75673795ef43413f (patch)
tree5f611d34487c882a2569aaca6c25fb15e74ca423 /src/Native/Runtime/eetype.cpp
parent2996cac38fffe6a32120d86e486748b01af7f184 (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/eetype.cpp')
-rw-r--r--src/Native/Runtime/eetype.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Native/Runtime/eetype.cpp b/src/Native/Runtime/eetype.cpp
index 824298a84..45a934d95 100644
--- a/src/Native/Runtime/eetype.cpp
+++ b/src/Native/Runtime/eetype.cpp
@@ -50,7 +50,6 @@ bool EEType::Validate(bool assertOnFail /* default: true */)
get_IsValueType() ||
HasFinalizer() ||
HasReferenceFields() ||
- IsRuntimeAllocated() ||
HasGenericVariance())
{
REPORT_FAILURE();
@@ -72,8 +71,7 @@ bool EEType::Validate(bool assertOnFail /* default: true */)
case 0:
{
// Cloned generic type.
- if (!IsRelatedTypeViaIAT() ||
- IsRuntimeAllocated())
+ if (!IsRelatedTypeViaIAT())
{
REPORT_FAILURE();
}
@@ -87,7 +85,6 @@ bool EEType::Validate(bool assertOnFail /* default: true */)
get_IsValueType() ||
HasFinalizer() ||
HasReferenceFields() ||
- IsRuntimeAllocated() ||
HasGenericVariance())
{
REPORT_FAILURE();
@@ -117,7 +114,6 @@ bool EEType::Validate(bool assertOnFail /* default: true */)
if (get_IsValueType() ||
HasFinalizer() ||
- IsRuntimeAllocated() ||
HasGenericVariance())
{
REPORT_FAILURE();