From c3602e159cc69105dd1f7eb43aa257b6d73c5bf1 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 7 May 2014 18:57:32 +0100 Subject: [PATCH] py: Fix emitcpy, to work with latest changes to PASS variables. --- py/emitcpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/emitcpy.c b/py/emitcpy.c index 57b5ddd53d..77967a2a95 100644 --- a/py/emitcpy.c +++ b/py/emitcpy.c @@ -127,7 +127,7 @@ static void emit_pre(emit_t *emit, int stack_size_delta, int byte_code_size) { STATIC void emit_cpy_label_assign(emit_t *emit, uint l) { emit_pre(emit, 0, 0); assert(l < emit->max_num_labels); - if (emit->pass < PASS_EMIT) { + if (emit->pass < MP_PASS_EMIT) { // assign label offset assert(emit->label_offsets[l] == -1); emit->label_offsets[l] = emit->byte_code_offset;