[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine lib_emit.c,1.18,1.19
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine lib_emit.c,1.18,1.19 |
Date: |
Tue, 22 Jul 2003 20:22:03 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv28570/engine
Modified Files:
lib_emit.c
Log Message:
minor fixes to assembly and module creation
Index: lib_emit.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_emit.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** lib_emit.c 22 Jul 2003 22:20:53 -0000 1.18
--- lib_emit.c 23 Jul 2003 00:22:01 -0000 1.19
***************
*** 45,48 ****
--- 45,49 ----
ILWriter *writer;
int createdContext;
+ ILAssembly *retval;
/* Convert the name into a UTF8 string */
***************
*** 105,109 ****
/* Create the initial ILAssembly structure in the image */
! if(!ILAssemblyCreate(image, 0, utf8Name, 0))
{
ILWriterDestroy(writer);
--- 106,110 ----
/* Create the initial ILAssembly structure in the image */
! if(!(retval=ILAssemblyCreate(image, 0, utf8Name, 0)))
{
ILWriterDestroy(writer);
***************
*** 121,125 ****
IL_METADATA_UNLOCK(_thread);
*writerReturn = (ILNativeInt)writer;
! return (ILNativeInt)image;
}
--- 122,126 ----
IL_METADATA_UNLOCK(_thread);
*writerReturn = (ILNativeInt)writer;
! return (ILNativeInt)retval;
}
***************
*** 601,611 ****
ILModule *retval;
ILImage *image;
- ILToken token;
const char *str;
IL_METADATA_WRLOCK(_thread);
! image = ILProgramItem_Image(assembly);
! token = ILProgramItem_Token(assembly);
if (!(str = (const char *)ILStringToAnsi(_thread, name)))
{
--- 602,610 ----
ILModule *retval;
ILImage *image;
const char *str;
IL_METADATA_WRLOCK(_thread);
! image = ILProgramItem_Image(assembly);
if (!(str = (const char *)ILStringToAnsi(_thread, name)))
{
***************
*** 614,618 ****
return 0;
}
! if (!(retval = ILModuleCreate(image, token, str, NULL)))
{
IL_METADATA_UNLOCK(_thread);
--- 613,617 ----
return 0;
}
! if (!(retval = ILModuleCreate(image, 0, str, NULL)))
{
IL_METADATA_UNLOCK(_thread);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine lib_emit.c,1.18,1.19,
Gopal.V <address@hidden> <=