summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitthumb.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-05 13:37:10 +0100
committerDamien <damien.p.george@gmail.com>2013-10-05 13:37:10 +0100
commitb05d707b2329a9534121e09e26eb9f8fef1917d3 (patch)
tree6c1bdbaa07b85d718283b6bfe66df15cfb1940c5 /py/emitthumb.c
parent415eb6f8507cc8c912143e8173bd9b451f6af917 (diff)
downloadmicropython-b05d707b2329a9534121e09e26eb9f8fef1917d3.tar.gz
micropython-b05d707b2329a9534121e09e26eb9f8fef1917d3.zip
Further factorise PASS_1 out of specific emit code.
Diffstat (limited to 'py/emitthumb.c')
-rw-r--r--py/emitthumb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/emitthumb.c b/py/emitthumb.c
index cad6b65044..9bccda8016 100644
--- a/py/emitthumb.c
+++ b/py/emitthumb.c
@@ -57,9 +57,6 @@ void emit_start_pass(emitter_t *emit, pass_kind_t pass, scope_t *scope) {
emit->last_emit_was_return_value = false;
emit->need_to_push = NEED_TO_PUSH_NOTHING;
emit->scope = scope;
- if (pass == PASS_1) {
- scope->unique_code_id = rt_get_new_unique_code_id();
- }
asm_thumb_start_pass(emit->as, pass);