Browse Source

core allocation macros added

bal 40 years ago
parent
commit
90df1e5b9a
1 changed files with 9 additions and 0 deletions
  1. 9 0
      util/ego/ic/ic_lookup.c

+ 9 - 0
util/ego/ic/ic_lookup.c

@@ -20,6 +20,15 @@ num_p numhash[NNUMHASH];
 
 
 
+#define newsym()	(sym_p) newstruct(sym)
+#define newprc()	(prc_p) newstruct(prc)
+#define newnum()	(num_p) newstruct(num)
+
+#define oldsym(x)	oldstruct(sym,x)
+#define oldprc(x)	oldstruct(prc,x)
+#define oldnum(x)	oldstruct(num,x)
+
+
 /* instr_lab */