Diff for /gforth/vmgen-ex/peephole.c between versions 1.1 and 1.6

version 1.1, 2001/04/29 11:28:24 version 1.6, 2007/12/31 18:40:26
Line 1 Line 1
 /* Peephole optimization routines and tables  /* Peephole optimization routines and tables
   
   Copyright (C) 2001 Free Software Foundation, Inc.    Copyright (C) 2001,2002,2003 Free Software Foundation, Inc.
   
   This file is part of Gforth.    This file is part of Gforth.
   
   Gforth is free software; you can redistribute it and/or    Gforth is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License    modify it under the terms of the GNU General Public License
   as published by the Free Software Foundation; either version 2    as published by the Free Software Foundation, either version 3
   of the License, or (at your option) any later version.    of the License, or (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,    This program is distributed in the hope that it will be useful,
Line 15 Line 15
   GNU General Public License for more details.    GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License    You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software    along with this program; if not, see http://www.gnu.org/licenses/.
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.  
 */  */
   
 #include <stdlib.h>  #include <stdlib.h>
Line 31  typedef struct Combination { Line 30  typedef struct Combination {
   
 Combination peephole_table[] = {  Combination peephole_table[] = {
 #include "mini-peephole.i"  #include "mini-peephole.i"
   #ifndef __GNUC__
     {-1,-1,-1} /* unnecessary; just to shut up lcc if the file is empty */
   #endif
 };  };
   
 int use_super = 1;  int use_super = 1; /* turned off by option -p */
   
 typedef struct Peeptable_entry {  typedef struct Peeptable_entry {
   struct Peeptable_entry *next;    struct Peeptable_entry *next;

Removed from v.1.1  
changed lines
  Added in v.1.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>