diff options
author | jfrijters <jfrijters> | 2010-06-07 08:21:35 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2010-06-07 08:21:35 +0400 |
commit | aa80cfdecfa2b5688aeb70d80fb53fa063e76196 (patch) | |
tree | 80fffef630c896f9b5d23d10c1f3b1a1943be56b /runtime/ClassLoaderWrapper.cs | |
parent | b172d2c9f7faa60c5f0c1300748209ec199055d2 (diff) |
TypeWrapper.AssertFinished() doesn't make sense for the static compiler anymore.
Diffstat (limited to 'runtime/ClassLoaderWrapper.cs')
-rw-r--r-- | runtime/ClassLoaderWrapper.cs | 4 |
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; |