create_call should use store_return as output type for now

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-06-29 15:40:21 +02:00
parent 67b75055b2
commit 9e094ddeb5

2
ir.c
View file

@ -1053,7 +1053,7 @@ ir_instr* ir_block_create_call(ir_block *self, const char *label, ir_value *func
in = ir_instr_new(self, INSTR_CALL0);
if (!in)
return NULL;
out = ir_value_out(self->owner, label, store_value, func->outtype);
out = ir_value_out(self->owner, label, store_return, func->outtype);
if (!out) {
ir_instr_delete(in);
return NULL;