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

Diff of /pnet/engine/call.c

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

revision 1.31 by rweather, Fri Jun 6 05:53:30 2003 UTC revision 1.32 by ktreichel, Tue Aug 23 10:45:52 2005 UTC
# Line 1080  ILObject *ILExecThreadNew(ILExecThread * Line 1080  ILObject *ILExecThreadNew(ILExecThread *
1080    
1081          /* Make sure that the class has been initialized */          /* Make sure that the class has been initialized */
1082          classInfo = ILMethod_Owner(ctor);          classInfo = ILMethod_Owner(ctor);
1083          IL_METADATA_WRLOCK(thread);          IL_METADATA_WRLOCK(_ILExecThreadProcess(thread));
1084          if(!_ILLayoutClass(classInfo))          if(!_ILLayoutClass(_ILExecThreadProcess(thread), classInfo))
1085          {          {
1086                  /* Throw a "TypeLoadException" */                  /* Throw a "TypeLoadException" */
1087                  IL_METADATA_UNLOCK(thread);                  IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
1088                  VA_END;                  VA_END;
1089                  ILExecThreadThrowSystem(thread, "System.TypeLoadException",                  ILExecThreadThrowSystem(thread, "System.TypeLoadException",
1090                                                                  (const char *)0);                                                                  (const char *)0);
1091                  return 0;                  return 0;
1092          }          }
1093          IL_METADATA_UNLOCK(thread);          IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
1094    
1095          /* Call the constructor */          /* Call the constructor */
1096          result = 0;          result = 0;
# Line 1125  ILObject *ILExecThreadNewV(ILExecThread Line 1125  ILObject *ILExecThreadNewV(ILExecThread
1125    
1126          /* Make sure that the class has been initialized */          /* Make sure that the class has been initialized */
1127          classInfo = ILMethod_Owner(ctor);          classInfo = ILMethod_Owner(ctor);
1128          IL_METADATA_WRLOCK(thread);          IL_METADATA_WRLOCK(_ILExecThreadProcess(thread));
1129          if(!_ILLayoutClass(classInfo))          if(!_ILLayoutClass(_ILExecThreadProcess(thread), classInfo))
1130          {          {
1131                  /* Throw a "TypeLoadException" */                  /* Throw a "TypeLoadException" */
1132                  IL_METADATA_UNLOCK(thread);                  IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
1133                  ILExecThreadThrowSystem(thread, "System.TypeLoadException",                  ILExecThreadThrowSystem(thread, "System.TypeLoadException",
1134                                                                  (const char *)0);                                                                  (const char *)0);
1135                  return 0;                  return 0;
1136          }          }
1137          IL_METADATA_UNLOCK(thread);          IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
1138    
1139          /* Call the constructor */          /* Call the constructor */
1140          result = 0;          result = 0;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

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