in = ir_instr_new(self, VINSTR_PHI);
if (!in)
return NULL;
- out = ir_value_out(self->owner, label, store_local, ot);
+ out = ir_value_out(self->owner, label, store_value, ot);
if (!out) {
ir_instr_delete(in);
return NULL;
const char *label, int opcode,
ir_value *left, ir_value *right)
{
- ir_value *out = NULL;
- ir_instr *in = NULL;
-
int ot = TYPE_VOID;
switch (opcode) {
case INSTR_ADD_F:
ir_value* ir_block_create_load_from_ent(ir_block *self, const char *label, ir_value *ent, ir_value *field, int outype)
{
+ int op;
if (ent->vtype != TYPE_ENTITY)
return NULL;