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

Diff of /pnet/engine/lib_reflect.c

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

revision 1.71 by ktreichel, Sun Jul 3 13:37:34 2005 UTC revision 1.72 by ktreichel, Tue Aug 23 10:45:52 2005 UTC
# Line 797  System_Array *_IL_AppDomain_GetAssemblie Line 797  System_Array *_IL_AppDomain_GetAssemblie
797          ILImage **images;          ILImage **images;
798          ILImage **ptr;          ILImage **ptr;
799    
800          IL_METADATA_RDLOCK(thread);          IL_METADATA_RDLOCK(_ILExecThreadProcess(thread));
801    
802          context = thread->process->context;          context = thread->process->context;
803    
# Line 812  System_Array *_IL_AppDomain_GetAssemblie Line 812  System_Array *_IL_AppDomain_GetAssemblie
812          /* create the image array */          /* create the image array */
813          if (!(images = (ILImage **)ILMalloc(sizeof(ILImage *)*num)))          if (!(images = (ILImage **)ILMalloc(sizeof(ILImage *)*num)))
814          {          {
815                  IL_METADATA_UNLOCK(thread);                  IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
816                  ILExecThreadThrowOutOfMemory(thread);                  ILExecThreadThrowOutOfMemory(thread);
817                  return 0;                  return 0;
818          }          }
# Line 826  System_Array *_IL_AppDomain_GetAssemblie Line 826  System_Array *_IL_AppDomain_GetAssemblie
826                  ++ptr;                  ++ptr;
827          }          }
828    
829          IL_METADATA_UNLOCK(thread);          IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
830    
831          /* create the assembly array */          /* create the assembly array */
832          array = (System_Array *)ILExecThreadNew(thread,          array = (System_Array *)ILExecThreadNew(thread,
# Line 2683  ILNativeInt _IL_RuntimeMethodHandle_GetF Line 2683  ILNativeInt _IL_RuntimeMethodHandle_GetF
2683          if(method)          if(method)
2684          {          {
2685                  /* Create a closure for the method, without a delegate around it */                  /* Create a closure for the method, without a delegate around it */
2686                  return (ILNativeInt)(_ILMakeClosureForDelegate(0, method));                  return (ILNativeInt)(_ILMakeClosureForDelegate(_ILExecThreadProcess(thread),
2687                                                                                                                    0, method));
2688          }          }
2689          else          else
2690  #endif  #endif

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

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