aboutsummaryrefslogtreecommitdiff
path: root/py/emit.h
diff options
context:
space:
mode:
authorDamien George2014-01-19 11:48:48 +0000
committerDamien George2014-01-19 11:48:48 +0000
commitcbd2f7482c8bf457cc17da763859dbba6e03e2a2 (patch)
tree8d6badc4197fe0d5763d381dd97586176db9fbae /py/emit.h
parente02b2d43912d13d216936786e4b7a33918877418 (diff)
py: Add module/function/class name to exceptions.
Exceptions know source file, line and block name. Also tidy up some debug printing functions and provide a global flag to enable/disable them.
Diffstat (limited to 'py/emit.h')
-rw-r--r--py/emit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emit.h b/py/emit.h
index 521b43cae..309d4740b 100644
--- a/py/emit.h
+++ b/py/emit.h
@@ -120,7 +120,7 @@ extern const emit_method_table_t emit_native_thumb_method_table;
emit_t *emit_pass1_new(qstr qstr___class__);
void emit_pass1_free(emit_t *emit);
emit_t *emit_cpython_new(uint max_num_labels);
-emit_t *emit_bc_new(qstr source_file, uint max_num_labels);
+emit_t *emit_bc_new(uint max_num_labels);
emit_t *emit_native_x64_new(uint max_num_labels);
emit_t *emit_native_thumb_new(uint max_num_labels);