]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
create_call should use store_return as output type for now
authorWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 29 Jun 2012 13:40:21 +0000 (15:40 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 29 Jun 2012 13:40:21 +0000 (15:40 +0200)
ir.c

diff --git a/ir.c b/ir.c
index 5b94e5b0e089a552166bc1405779441d404215ea..1f0773f278209fa77a82ca81421c5aba39f6d98c 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -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;