py/emitnative: Fix typo, REG_PARENT_ARG_RET should be REG_PARENT_RET.

pull/1/head
Thea Flowers 2019-11-05 17:11:10 -08:00 committed by Damien George
parent 4be316fb07
commit f0e4677f0d
1 changed files with 1 additions and 1 deletions

View File

@ -2696,7 +2696,7 @@ STATIC void emit_native_return_value(emit_t *emit) {
}
if (return_vtype != VTYPE_PYOBJ) {
emit_call_with_imm_arg(emit, MP_F_CONVERT_NATIVE_TO_OBJ, return_vtype, REG_ARG_2);
#if REG_RET != REG_PARENT_ARG_RET
#if REG_RET != REG_PARENT_RET
ASM_MOV_REG_REG(emit->as, REG_PARENT_RET, REG_RET);
#endif
}