dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/engine verify.c,1.40,1.41


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine verify.c,1.40,1.41
Date: Tue, 11 Mar 2003 10:13:59 -0500

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv8423/engine

Modified Files:
        verify.c 
Log Message:
Report error for BIG methods and fix bug in properties marked 'new'


Index: verify.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/verify.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** verify.c    30 Dec 2002 06:14:41 -0000      1.40
--- verify.c    11 Mar 2003 15:13:57 -0000      1.41
***************
*** 1114,1117 ****
--- 1114,1129 ----
                goto restart;
        }
+ #ifdef IL_VERIFY_DEBUG
+       else if(result == IL_CODER_END_TOO_BIG)
+       {
+               ILMethodCode code;
+               ILMethodGetCode(method,&code);
+               fprintf(stderr, "%s::%s - method is too big (%d%s bytes)\n",
+                                                       
ILClass_Name(ILMethod_Owner(method)),
+                                                       ILMethod_Name(method),
+                                                       code.codeLen,
+                                                       (code.moreSections != 
0) ? "+" : "");
+       }
+ #endif
        result = (result == IL_CODER_END_OK);
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]