py: In inline assembler, add return statement to fix flow logic.

This commit is contained in:
Damien George 2015-02-24 22:43:01 +00:00
parent e5315f7ffd
commit 993f067fa2
1 changed files with 1 additions and 0 deletions

View File

@ -474,6 +474,7 @@ STATIC void emit_inline_thumb_op(emit_inline_asm_t *emit, qstr op, mp_uint_t n_a
reg_dest = get_arg_reg(emit, op_str, pn_args[0], 7);
reg_src = get_arg_reg(emit, op_str, pn_args[1], 7);
asm_thumb_format_4(emit->as, op_code, reg_dest, reg_src);
return;
}
// search table for ALU ops
for (mp_uint_t i = 0; i < MP_ARRAY_SIZE(format_4_op_table); i++) {