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 Vorlicek <janvorli@microsoft.com>2015-11-04 17:25:08 +0300
committerJan Vorlicek <janvorli@microsoft.com>2015-11-04 17:51:29 +0300
commita7598097333f52088c8ba1869bc7a58cd6c33710 (patch)
treeb30a03866ef0cd3396dadaac9844db58d220e16c /src/Native/Runtime/RuntimeInstance.cpp
parent4972aadd7585f70e3d78b8eef29c0cb4b593facd (diff)
Real implementation of many PAL functions
18 functions remain to be implemented. But some of them might be removed by refactoring that I am planning to do.
Diffstat (limited to 'src/Native/Runtime/RuntimeInstance.cpp')
-rw-r--r--src/Native/Runtime/RuntimeInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Native/Runtime/RuntimeInstance.cpp b/src/Native/Runtime/RuntimeInstance.cpp
index d67ed6677..ebff9295b 100644
--- a/src/Native/Runtime/RuntimeInstance.cpp
+++ b/src/Native/Runtime/RuntimeInstance.cpp
@@ -1518,7 +1518,7 @@ COOP_PINVOKE_HELPER(bool , RhCreateGenericInstanceDescForType, (EEType *
ASSERT(pTemplateGid != NULL && pTemplateGid->HasInstantiation() && pTemplateGid->HasVariance());
pGenericVarianceFlags = new (nothrow) UInt32[arity];
- if (pGenericVarianceFlags == NULL) return NULL;
+ if (pGenericVarianceFlags == NULL) return false;
for (UInt32 i = 0; i < arity; i++)
((UInt32*)pGenericVarianceFlags)[i] = (UInt32)pTemplateGid->GetParameterVariance(i);