summaryrefslogtreecommitdiffstatshomepage
path: root/py/emit.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/emit.h')
-rw-r--r--py/emit.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/py/emit.h b/py/emit.h
index ce7417d284..5a3b27d839 100644
--- a/py/emit.h
+++ b/py/emit.h
@@ -35,9 +35,10 @@
*/
typedef enum {
- PASS_1 = 1, // work out id's and their kind, and number of labels
- PASS_2 = 2, // work out stack size and code size and label offsets
- PASS_3 = 3, // emit code
+ MP_PASS_SCOPE = 1, // work out id's and their kind, and number of labels
+ MP_PASS_STACK_SIZE = 2, // work out maximum stack size
+ MP_PASS_CODE_SIZE = 3, // work out code size and label offsets
+ MP_PASS_EMIT = 4, // emit code
} pass_kind_t;
#define MP_EMIT_STAR_FLAG_SINGLE (0x01)