소스 검색

changed stacheight computation to top element size computation

eck 34 년 전
부모
커밋
e7c55f01db
3개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      h/.distr
  2. 1 1
      h/cgg_cg.h
  3. 1 1
      h/em_mes.h

+ 1 - 0
h/.distr

@@ -15,6 +15,7 @@ em_ptyp.h
 em_reg.h
 em_spec.h
 out.h
+stb.h
 pc_err.h
 pc_file.h
 ranlib.h

+ 1 - 1
h/cgg_cg.h

@@ -131,7 +131,7 @@ typedef struct exprnode *node_p;
 #define EX_XOR		42
 #define EX_AND		43
 #define EX_ISROM	44
-#define EX_STACKHEIGHT	45
+#define EX_TOPELTSIZE	45
 #define EX_FALLTHROUGH	46
 
 

+ 1 - 1
h/em_mes.h

@@ -21,7 +21,7 @@
 #define ms_gto	11	/* Dangerous procedure, uses nonlocal goto	     */
 #define ms_stb	12	/* symbol table entry (for debugger)		     */
 #define ms_std	13	/* symbol table entry (for debugger) referring to dot */
-#define ms_sth  14      /* Height of the stack at a certain label	     */
+#define ms_tes  14      /* Size of the top element at a certain label	     */
 
 /*
  * for details about ms_reg, see em_reg.h