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

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2010-06-07 08:21:35 +0400
committerjfrijters <jfrijters>2010-06-07 08:21:35 +0400
commitaa80cfdecfa2b5688aeb70d80fb53fa063e76196 (patch)
tree80fffef630c896f9b5d23d10c1f3b1a1943be56b /runtime/ClassLoaderWrapper.cs
parentb172d2c9f7faa60c5f0c1300748209ec199055d2 (diff)
TypeWrapper.AssertFinished() doesn't make sense for the static compiler anymore.
Diffstat (limited to 'runtime/ClassLoaderWrapper.cs')
-rw-r--r--runtime/ClassLoaderWrapper.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/ClassLoaderWrapper.cs b/runtime/ClassLoaderWrapper.cs
index d322d1d1..f86d0f5c 100644
--- a/runtime/ClassLoaderWrapper.cs
+++ b/runtime/ClassLoaderWrapper.cs
@@ -921,7 +921,9 @@ namespace IKVM.Internal
internal static TypeWrapper GetWrapperFromType(Type type)
{
//Tracer.Info(Tracer.Runtime, "GetWrapperFromType: {0}", type.AssemblyQualifiedName);
+#if !STATIC_COMPILER
TypeWrapper.AssertFinished(type);
+#endif
Debug.Assert(!type.IsPointer);
Debug.Assert(!type.IsByRef);
TypeWrapper wrapper;
@@ -1143,7 +1145,9 @@ namespace IKVM.Internal
internal void SetWrapperForType(Type type, TypeWrapper wrapper)
{
+#if !STATIC_COMPILER
TypeWrapper.AssertFinished(type);
+#endif
Dictionary<Type, TypeWrapper> dict;
#if CLASSGC
dict = typeToTypeWrapper ?? globalTypeToTypeWrapper;