add some comments in codegen_scopes' members

This commit is contained in:
Yuichi Nishiwaki 2013-10-30 12:16:45 +09:00
parent f7885a423f
commit 5be1cd7092
1 changed files with 2 additions and 1 deletions

View File

@ -11,10 +11,11 @@
typedef struct codegen_scope {
struct codegen_scope *up;
/* local variables are 1-indexed */
/* local variables are 1-indexed, 0 is reserved for the callee */
struct xhash *local_tbl;
/* does not count rest argument variable */
size_t argc;
/* dirty flags: if local var i is captured, then cv_tbl[i] == 1 */
int *cv_tbl;
bool varg;
} codegen_scope;