/********************************************
copyright 1991, Michael D. Brennan
This is a source file for mawk, an implementation of
the AWK programming language.
Mawk is distributed without warranty under the terms of
the GNU General Public License, version 2, 1991.
********************************************/
* Revision 5.1 91/12/05 07:59:07 brennan
extern INST
*main_start
, *main_code_ptr
;
extern unsigned main_size
;
unsigned size
; } begin_code
, end_code
;
void PROTO(be_shrink
, (struct be_code
*)) ;
void PROTO(be_expand
, (struct be_code
*)) ;
#define INST_BYTES(x) (sizeof(INST)*(x))
extern CELL eval_stack
[] ;
#define code1(x) code_ptr++ -> op = (x)
#define code2(x,y) (void)( code_ptr++ -> op = (x) ,\
code_ptr++ -> ptr = (PTR)(y) )
/* the machine opcodes */
/* to avoid confusion with a ptr FE_PUSHA must have op code 0 */
/* unfortunately enums are less portable than defines */