CHECK_BB(emit_instantiate_decl(emit, v->type, decl->td, var_decl->array, is_ref))
CHECK_BB(emit_dot_static_data(emit, v, 1))
emit_add_instr(emit, Assign);
- (void)emit_addref(emit, 0);
+// (void)emit_addref(emit, 0);
regpop(emit, SZ_INT);
emit->code = code;
return GW_OK;
return instr;
}
regpushi(emit, (m_uint)sp->type);
- const Func f = !sp->code ? sp->exp->d.exp_call.m_func : NULL;
const Instr instr = emit_add_instr(emit, ForkIni);
instr->m_val = (m_uint)sp->vm_code;
instr->m_val2 = sp->type->size;
do {
if(!t->nspc)
continue;
- if(isa(t, shred->info->vm->gwion->type[et_union]) > 0) {
+ if(isa(t, shred->info->vm->gwion->type[et_union]) < 0) {
struct scope_iter iter = { t->nspc->info->value, 0, 0 };\
Value v;
while(scope_iter(&iter, &v) > 0) {