Mercurial > hg > CbC > old > device
diff mc-codegen.h @ 552:74bbea56b8e5
inline scope with gcc extension passed.
author | kono |
---|---|
date | Thu, 05 Jan 2006 13:16:26 +0900 |
parents | 9defd9459016 |
children | c3053086f790 |
line wrap: on
line diff
--- a/mc-codegen.h Wed Jan 04 14:55:46 2006 +0900 +++ b/mc-codegen.h Thu Jan 05 13:16:26 2006 +0900 @@ -46,7 +46,7 @@ extern void arg_register(NMTBL *fnptr); extern int bexpr(int e1, char cond, int l1); extern int bexpr_u(int e1, char cond, int l1); -extern void checkret(void); +extern void checkret(void); // check delayed jump, delayed last exp extern void closing(); extern void cmpdimm(int e, int csreg,int label,int cond); extern void codegen_decl_init(); /* called before each declaration */ @@ -77,7 +77,11 @@ extern void gen_label_call(int l); extern void flush_delayed_decl_data(NMTBL *n); -/* used by mc-cod-* */ +/* used by mc-inline */ + +extern void checkjmp(int l); // generate delayed jump, l = current label + +/* used by mc-code-* */ extern int assign_expr0(int e1,int e2,int t,int type0) ; extern int b_expr(int e1, char cond, int l1,int err);