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 mklabel.sh,1.8,1.9


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine mklabel.sh,1.8,1.9
Date: Fri, 20 Dec 2002 08:21:48 -0500

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

Modified Files:
        mklabel.sh 
Log Message:


Minor bug in previous checkin which broke the switch-loop interpreter.


Index: mklabel.sh
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/mklabel.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** mklabel.sh  20 Dec 2002 13:18:57 -0000      1.8
--- mklabel.sh  20 Dec 2002 13:21:26 -0000      1.9
***************
*** 35,38 ****
--- 35,47 ----
  echo ''
  
+ # Define a null assembly statement.  This is a trick to stop gcc doing
+ # tail-end combination on the cases within the switch statements.
+ echo '#if defined(__GNUC__)'
+ echo '#define VMNULLASM()         __asm__("")'
+ echo '#else'
+ echo '#define VMNULLASM()'
+ echo '#endif'
+ echo ''
+ 
  # Are we compiling an interpreter that uses PIC computed goto's?
  echo '#if defined(IL_CVM_PIC_TOKEN) || defined(IL_CVM_PIC_DIRECT)'
***************
*** 227,239 ****
        non_pic_table "$1" _DEFAULT_PREFIX_label
  echo '};'
- echo ''
- 
- # Define a null assembly statement.  This is a trick to stop gcc doing
- # tail-end combination on the cases within the switch statements.
- echo '#if defined(__GNUC__)'
- echo '#define VMNULLASM()         __asm__("")'
- echo '#else'
- echo '#define VMNULLASM()'
- echo '#endif'
  echo ''
  
--- 236,239 ----




reply via email to

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