summaryrefslogtreecommitdiff
path: root/py/compile.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-12-12 15:34:40 +0000
committerDamien <damien.p.george@gmail.com>2013-12-12 15:34:40 +0000
commita1b2693161183fb6052271d8ea1809e48d75d144 (patch)
tree3d8642aa5e11713368238ee50f28cfd83446ff16 /py/compile.c
parente388f1034e98f5066954c2a01477c199e2c76a42 (diff)
py: remove further unnecessary emit_verbatim code.
Diffstat (limited to 'py/compile.c')
-rw-r--r--py/compile.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/py/compile.c b/py/compile.c
index 5fbf623b2..ea0bbc2d5 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -383,9 +383,7 @@ static void cpython_c_tuple(compiler_t *comp, py_parse_node_t pn, py_parse_node_
} else {
vstr_printf(vstr, ")");
}
- EMIT(load_const_verbatim_start);
EMIT(load_const_verbatim_str, vstr_str(vstr));
- EMIT(load_const_verbatim_end);
vstr_free(vstr);
} else {
if (!PY_PARSE_NODE_IS_NULL(pn)) {
@@ -1221,9 +1219,7 @@ void compile_import_from(compiler_t *comp, py_parse_node_struct_t *pns) {
// build the "fromlist" tuple
#if MICROPY_EMIT_CPYTHON
- EMIT(load_const_verbatim_start);
EMIT(load_const_verbatim_str, "('*',)");
- EMIT(load_const_verbatim_end);
#else
EMIT(load_const_str, qstr_from_str_static("*"), false);
EMIT(build_tuple, 1);
@@ -1259,9 +1255,7 @@ void compile_import_from(compiler_t *comp, py_parse_node_struct_t *pns) {
vstr_printf(vstr, ",");
}
vstr_printf(vstr, ")");
- EMIT(load_const_verbatim_start);
EMIT(load_const_verbatim_str, vstr_str(vstr));
- EMIT(load_const_verbatim_end);
vstr_free(vstr);
}
#else