Select Git revision
-
Fredrik Hübinette (Hubbe) authored
Rev: lib/modules/Yabu.pmod/test.pike:1.3 Rev: src/builtin_functions.c:1.111 Rev: src/docode.c:1.38 Rev: src/docode.h:1.7 Rev: src/interpret.c:1.85 Rev: src/main.c:1.53 Rev: src/module_support.c:1.12 Rev: src/object.c:1.52 Rev: src/operators.c:1.33 Rev: src/operators.h:1.5 Rev: src/stralloc.c:1.36 Rev: src/stralloc.h:1.16 Rev: src/testsuite.in:1.114
Fredrik Hübinette (Hubbe) authoredRev: lib/modules/Yabu.pmod/test.pike:1.3 Rev: src/builtin_functions.c:1.111 Rev: src/docode.c:1.38 Rev: src/docode.h:1.7 Rev: src/interpret.c:1.85 Rev: src/main.c:1.53 Rev: src/module_support.c:1.12 Rev: src/object.c:1.52 Rev: src/operators.c:1.33 Rev: src/operators.h:1.5 Rev: src/stralloc.c:1.36 Rev: src/stralloc.h:1.16 Rev: src/testsuite.in:1.114
docode.h 1.05 KiB
/*\
||| This file a part of Pike, and is copyright by Fredrik Hubinette
||| Pike is distributed as GPL (General Public License)
||| See the files COPYING and DISCLAIMER for more information.
\*/
/*
* $Id: docode.h,v 1.7 1998/05/25 10:38:45 hubbe Exp $
*/
#ifndef DOCODE_H
#define DOCODE_H
#define DO_LVALUE 1
#define DO_NOT_COPY 2
#define DO_POP 4
#define DO_INDIRECT 8
#define DO_LVALUE_IF_POSSIBLE 16
#define WANT_LVALUE (DO_LVALUE | DO_INDIRECT)
extern int store_linenumbers;
#define emit(X,Y) insert_opcode((X),(Y),lex.current_line, lex.current_file)
#define emit2(X) insert_opcode2((X),lex.current_line, lex.current_file)
/* Prototypes begin here */
void upd_int(int offset, INT32 tmp);
INT32 read_int(int offset);
void push_address(void);
void push_explicit(INT32 address);
INT32 pop_address(void);
int alloc_label(void);
int do_jump(int token,INT32 lbl);
void do_pop(int x);
int do_docode(node *n,INT16 flags);
void do_cond_jump(node *n, int label, int iftrue, int flags);
void do_code_block(node *n);
int docode(node *n);
/* Prototypes end here */
#endif