Mercurial > hg-old > index.cgi
diff src/lwasm.h @ 42:4bb7b723e5b7
Added pass2 code generation to lwasm_emit()
author | lost |
---|---|
date | Sun, 04 Jan 2009 06:13:13 +0000 |
parents | 9bd584bb6296 |
children | 2330b88f9600 |
line wrap: on
line diff
--- a/src/lwasm.h Sat Jan 03 19:50:30 2009 +0000 +++ b/src/lwasm.h Sun Jan 04 06:13:13 2009 +0000 @@ -50,6 +50,9 @@ lwasm_error_t *err; // error messages int fsize; // forced size (0 = no forced size) char *sym; // scratch area to record the presence of a symbol + unsigned char *bytes; // actual bytes emitted + int codelen; // number of bytes emitted + int codesize; // the size of the code buffer }; // for keeping track of symbols