added #defines for stackheight computation
This commit is contained in:
parent
3e27993361
commit
adfec1c0ef
|
@ -38,6 +38,7 @@
|
||||||
#define DO_SETCC 22
|
#define DO_SETCC 22
|
||||||
#define DO_TOSTACK 23
|
#define DO_TOSTACK 23
|
||||||
#define DO_KILLREG 24
|
#define DO_KILLREG 24
|
||||||
|
#define DO_LABDEF 25
|
||||||
|
|
||||||
#ifndef MAXATT
|
#ifndef MAXATT
|
||||||
#define MAXATT TOKENSIZE
|
#define MAXATT TOKENSIZE
|
||||||
|
@ -130,6 +131,8 @@ typedef struct exprnode *node_p;
|
||||||
#define EX_XOR 42
|
#define EX_XOR 42
|
||||||
#define EX_AND 43
|
#define EX_AND 43
|
||||||
#define EX_ISROM 44
|
#define EX_ISROM 44
|
||||||
|
#define EX_STACKHEIGHT 45
|
||||||
|
#define EX_FALLTHROUGH 46
|
||||||
|
|
||||||
|
|
||||||
typedef struct { /* to stack coercions */
|
typedef struct { /* to stack coercions */
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#define ms_gto 11 /* Dangerous procedure, uses nonlocal goto */
|
#define ms_gto 11 /* Dangerous procedure, uses nonlocal goto */
|
||||||
#define ms_stb 12 /* symbol table entry (for debugger) */
|
#define ms_stb 12 /* symbol table entry (for debugger) */
|
||||||
#define ms_lin 13 /* line number indication (for debugger symbol table)*/
|
#define ms_lin 13 /* line number indication (for debugger symbol table)*/
|
||||||
|
#define ms_sth 14 /* Height of the stack at a certain label */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* for details about ms_reg, see em_reg.h
|
* for details about ms_reg, see em_reg.h
|
||||||
|
|
Loading…
Reference in a new issue