/[dotgnu-pnet]/pnet/engine/lib_object.c
ViewVC logotype

Diff of /pnet/engine/lib_object.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by t3rmin4t0r, Sun May 9 12:31:21 2004 UTC revision 1.15 by ktreichel, Tue Aug 23 10:45:52 2005 UTC
# Line 132  ILObject *_ILGetClrType(ILExecThread *th Line 132  ILObject *_ILGetClrType(ILExecThread *th
132          }          }
133    
134          /* Make sure that the class has been laid out */          /* Make sure that the class has been laid out */
135          IL_METADATA_WRLOCK(thread);          IL_METADATA_WRLOCK(_ILExecThreadProcess(thread));
136          if(!_ILLayoutClass(classInfo))          if(!_ILLayoutClass(_ILExecThreadProcess(thread), classInfo))
137          {          {
138                  IL_METADATA_UNLOCK(thread);                  IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
139                  thread->thrownException = _ILSystemException                  thread->thrownException = _ILSystemException
140                          (thread, "System.TypeInitializationException");                          (thread, "System.TypeInitializationException");
141                  return 0;                  return 0;
142          }          }
143          IL_METADATA_UNLOCK(thread);          IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
144    
145          /* Does the class already have a "ClrType" instance? */          /* Does the class already have a "ClrType" instance? */
146          if(((ILClassPrivate *)(classInfo->userData))->clrType)          if(((ILClassPrivate *)(classInfo->userData))->clrType)

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26