[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/ildasm ildasm_class.c,1.10,1.11
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/ildasm ildasm_class.c,1.10,1.11 |
Date: |
Thu, 09 Jan 2003 07:07:01 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/ildasm
In directory subversions:/tmp/cvs-serv5705/ildasm
Modified Files:
ildasm_class.c
Log Message:
Put the ".overflow" directive for a method inside the ".method" block
on internalcall methods (bug #2163).
Index: ildasm_class.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ildasm/ildasm_class.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** ildasm_class.c 3 Jan 2003 13:00:19 -0000 1.10
--- ildasm_class.c 9 Jan 2003 12:06:59 -0000 1.11
***************
*** 34,37 ****
--- 34,38 ----
ILPInvoke *pinvoke;
ILOverride *over;
+ int haveContents;
/* Skip the method if it is a reference (probably a vararg call site) */
***************
*** 80,84 ****
ILMethodImplementationFlags, 0);
rva = ILMethod_RVA(method);
! if(ILProgramItem_HasAttrs(method) || rva)
{
fputs("\n\t{\n", outstream);
--- 81,87 ----
ILMethodImplementationFlags, 0);
rva = ILMethod_RVA(method);
! haveContents = (ILProgramItem_HasAttrs(method) || rva ||
! ILOverrideFromMethod(method));
! if(haveContents)
{
fputs("\n\t{\n", outstream);
***************
*** 124,128 ****
/* Output the method footer and exit */
! if(ILProgramItem_HasAttrs(method) || rva)
{
fputs("\t}\n", outstream);
--- 127,131 ----
/* Output the method footer and exit */
! if(haveContents)
{
fputs("\t}\n", outstream);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/ildasm ildasm_class.c,1.10,1.11,
Rhys Weatherley <address@hidden> <=