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

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

[Dotgnu-pnet-commits] CVS: pnet/ilasm ilasm_output.c,1.15,1.16


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/ilasm ilasm_output.c,1.15,1.16
Date: Mon, 13 Jan 2003 05:08:43 -0500

Update of /cvsroot/dotgnu-pnet/pnet/ilasm
In directory subversions:/tmp/cvs-serv16061/ilasm

Modified Files:
        ilasm_output.c 
Log Message:


Set the "maxStack" value to 8 by default, instead of 0, to handle compilers
that don't output ".maxstack".


Index: ilasm_output.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ilasm/ilasm_output.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** ilasm_output.c      13 Dec 2002 00:33:30 -0000      1.15
--- ilasm_output.c      13 Jan 2003 10:08:39 -0000      1.16
***************
*** 55,59 ****
   */
  static ILType        *localVars = 0;
! static ILUInt32                 maxStack = 0;
  static int                      initLocals = 0;
  static ILUInt32                 localIndex = 0;
--- 55,59 ----
   */
  static ILType        *localVars = 0;
! static ILUInt32                 maxStack = 8;
  static int                      initLocals = 0;
  static ILUInt32                 localIndex = 0;
***************
*** 288,292 ****
        length = 0;
        localVars = 0;
!       maxStack = 0;
        initLocals = 0;
        localIndex = 0;
--- 288,292 ----
        length = 0;
        localVars = 0;
!       maxStack = 8;
        initLocals = 0;
        localIndex = 0;
***************
*** 2036,2040 ****
        offset = 0;
        localVars = 0;
!       maxStack = 0;
        initLocals = 0;
        localIndex = 0;
--- 2036,2040 ----
        offset = 0;
        localVars = 0;
!       maxStack = 8;
        initLocals = 0;
        localIndex = 0;





reply via email to

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