Branch: Tag:

1996-04-13

1996-04-13 03:09:01 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

peephole optimizer added

Rev: src/peep.c:1.1
Rev: src/peep.h:1.1
Rev: src/peep.in:1.1

1: + #ifndef PEEP_H + #define PEEP_H    -  + #include "dynamic_buffer.h" + extern dynamic_buffer instrbuf; +  + /* Prototypes begin here */ + struct p_instr_s; + void init_bytecode(); + void exit_bytecode(); + int insert_opcode(unsigned int f, +  INT32 b, +  INT32 current_line, +  struct lpc_string *current_file); + int insert_opcode2(int f,int current_line, struct lpc_string *current_file); + void update_arg(int instr,INT32 arg); + void ins_f_byte(unsigned int b); + void assemble(); + void asm_opt(); + /* Prototypes end here */ +  + #endif   Newline at end of file added.