1998-03-31
1998-03-31 21:52:23 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
-
9b08a2f62de7aec561a75ca473acbe9539cf448c
(16 lines)
(+10/-6)
[
Show
| Annotate
]
Branch: 7.9
optimized
Rev: src/docode.c:1.34
Rev: src/interpret.c:1.72
Rev: src/language.yacc:1.67
Rev: src/lex.c:1.46
Rev: src/lex.h:1.11
Rev: src/main.c:1.44
Rev: src/main.h:1.8
Rev: src/peep.c:1.20
Rev: src/peep.in:1.13
12:
#include "peep.h"
#include "dmalloc.h"
- RCSID("$Id: peep.c,v 1.19 1998/03/28 15:11:56 grubba Exp $");
+ RCSID("$Id: peep.c,v 1.20 1998/03/31 21:52:23 hubbe Exp $");
struct p_instr_s
{
258:
add_to_program(c->arg);
break;
+ case F_DATA:
+ ins_int(c->arg, (void(*)(char))add_to_program);
+ break;
+
case F_LABEL:
#ifdef DEBUG
if(c->arg > max_label || c->arg < 0)
345:
{
MEMMOVE(p-fifo_len+1,p-fifo_len,fifo_len*sizeof(p_instr));
p-=fifo_len;
- fifo_len++;
+
}
#ifdef DEBUG
367: Inside #if defined(DEBUG)
if(hasarg(f))
fatal("hasarg() is wrong!\n");
#endif
- return insert_opcode(f,0,cl, cf);
+ return insopt(f,0,cl, cf);
}