Lines Matching refs:id
35 id_info_t *id = scope_find_or_add_id(scope, qst, ID_INFO_KIND_GLOBAL_IMPLICIT); in mp_emit_common_get_id_for_modification() local
36 if (SCOPE_IS_FUNC_LIKE(scope->kind) && id->kind == ID_INFO_KIND_GLOBAL_IMPLICIT) { in mp_emit_common_get_id_for_modification()
38 id->kind = ID_INFO_KIND_LOCAL; in mp_emit_common_get_id_for_modification()
45 id_info_t *id = scope_find(scope, qst); in mp_emit_common_id_op() local
46 assert(id != NULL); in mp_emit_common_id_op()
49 if (id->kind == ID_INFO_KIND_GLOBAL_IMPLICIT) { in mp_emit_common_id_op()
51 } else if (id->kind == ID_INFO_KIND_GLOBAL_EXPLICIT) { in mp_emit_common_id_op()
53 } else if (id->kind == ID_INFO_KIND_LOCAL) { in mp_emit_common_id_op()
54 emit_method_table->local(emit, qst, id->local_num, MP_EMIT_IDOP_LOCAL_FAST); in mp_emit_common_id_op()
56 assert(id->kind == ID_INFO_KIND_CELL || id->kind == ID_INFO_KIND_FREE); in mp_emit_common_id_op()
57 emit_method_table->local(emit, qst, id->local_num, MP_EMIT_IDOP_LOCAL_DEREF); in mp_emit_common_id_op()