Comment about the form of instruction general_instr is used for

This commit is contained in:
Wolfgang Bumiller 2012-05-01 16:29:29 +02:00
parent cde5444f24
commit 8ab51544be

3
ir.h
View file

@ -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
* <outtype>%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);