Branch: Tag:

1997-03-09

1997-03-09 09:11:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

peephole optimizer and code generator bugfixed and improved

Rev: bin/mkpeep.pike:1.3
Rev: src/docode.c:1.13
Rev: src/interpret.c:1.30
Rev: src/language.yacc:1.29
Rev: src/lex.c:1.17
Rev: src/operators.h:1.2
Rev: src/peep.c:1.7
Rev: src/peep.in:1.5
Rev: src/testsuite.in:1.34

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: lex.c,v 1.16 1997/03/08 12:54:06 hubbe Exp $"); + RCSID("$Id: lex.c,v 1.17 1997/03/09 09:11:12 hubbe Exp $");   #include "language.h"   #include "array.h"   #include "lex.h"
272:   { "apply and pop", F_APPLY_AND_POP, 1 },   { "2 locals", F_2_LOCALS, 1 },   { "byte", F_BYTE, 1 }, + { "nop", F_NOP }, + { "==||", F_EQ_OR, 1 },   };      struct instr instrs[F_MAX_INSTR - F_OFFSET];