py/emit: Change type of arg of load_const_obj from void* to mp_obj_t.

This commit is contained in:
Damien George
2015-11-27 12:41:25 +00:00
parent c3f64d9799
commit 5d66b427e2
3 changed files with 4 additions and 4 deletions

View File

@@ -1344,7 +1344,7 @@ STATIC void emit_native_load_const_str(emit_t *emit, qstr qst) {
}
}
STATIC void emit_native_load_const_obj(emit_t *emit, void *obj) {
STATIC void emit_native_load_const_obj(emit_t *emit, mp_obj_t obj) {
emit_native_pre(emit);
need_reg_single(emit, REG_RET, 0);
ASM_MOV_ALIGNED_IMM_TO_REG(emit->as, (mp_uint_t)obj, REG_RET);