From: Wolfgang Bumiller Date: Tue, 1 May 2012 14:29:29 +0000 (+0200) Subject: Comment about the form of instruction general_instr is used for X-Git-Tag: 0.1-rc1~527 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8ab51544be3756c57424af50302d8e2b058f65b1;p=xonotic%2Fgmqcc.git Comment about the form of instruction general_instr is used for --- diff --git a/ir.h b/ir.h index e490280..d3ad5b3 100644 --- a/ir.h +++ b/ir.h @@ -159,6 +159,9 @@ ir_value* ir_block_create_load_from_ent(ir_block*, const char *label, ir_value * ir_value* ir_block_create_fieldaddress(ir_block*, const char *label, ir_value *entity, ir_value *field); +/* This is to create an instruction of the form + * %label := opcode a, b + */ ir_value* ir_block_create_general_instr(ir_block *self, const char *label, int op, ir_value *a, ir_value *b, int outype);