diff options
Diffstat (limited to 'py/emitbc.c')
-rw-r--r-- | py/emitbc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/py/emitbc.c b/py/emitbc.c index f99e703220..fef9054c75 100644 --- a/py/emitbc.c +++ b/py/emitbc.c @@ -486,13 +486,9 @@ void mp_emit_bc_load_const_small_int(emit_t *emit, mp_int_t arg) { } } -void mp_emit_bc_load_const_str(emit_t *emit, qstr qst, bool bytes) { +void mp_emit_bc_load_const_str(emit_t *emit, qstr qst) { emit_bc_pre(emit, 1); - if (bytes) { - emit_write_bytecode_byte_qstr(emit, MP_BC_LOAD_CONST_BYTES, qst); - } else { - emit_write_bytecode_byte_qstr(emit, MP_BC_LOAD_CONST_STRING, qst); - } + emit_write_bytecode_byte_qstr(emit, MP_BC_LOAD_CONST_STRING, qst); } void mp_emit_bc_load_const_obj(emit_t *emit, void *obj) { |