Lines Matching refs:local_num
381 if ((id->flags & ID_FLAG_IS_PARAM) && id->local_num == i) { in mp_emit_bc_start_pass()
409 assert(id->local_num <= 255); in mp_emit_bc_end_pass()
410 …emit_write_code_info_byte(emit, id->local_num); // write the local which should be converted to a … in mp_emit_bc_end_pass()
547 void mp_emit_bc_load_local(emit_t *emit, qstr qst, mp_uint_t local_num, int kind) { in mp_emit_bc_load_local() argument
551 if (kind == MP_EMIT_IDOP_LOCAL_FAST && local_num <= 15) { in mp_emit_bc_load_local()
552 emit_write_bytecode_byte(emit, 1, MP_BC_LOAD_FAST_MULTI + local_num); in mp_emit_bc_load_local()
554 emit_write_bytecode_byte_uint(emit, 1, MP_BC_LOAD_FAST_N + kind, local_num); in mp_emit_bc_load_local()
604 void mp_emit_bc_store_local(emit_t *emit, qstr qst, mp_uint_t local_num, int kind) { in mp_emit_bc_store_local() argument
608 if (kind == MP_EMIT_IDOP_LOCAL_FAST && local_num <= 15) { in mp_emit_bc_store_local()
609 emit_write_bytecode_byte(emit, -1, MP_BC_STORE_FAST_MULTI + local_num); in mp_emit_bc_store_local()
611 emit_write_bytecode_byte_uint(emit, -1, MP_BC_STORE_FAST_N + kind, local_num); in mp_emit_bc_store_local()
621 void mp_emit_bc_delete_local(emit_t *emit, qstr qst, mp_uint_t local_num, int kind) { in mp_emit_bc_delete_local() argument
625 emit_write_bytecode_byte_uint(emit, 0, MP_BC_DELETE_FAST + kind, local_num); in mp_emit_bc_delete_local()