expose create_general_instr in ir.h for now...

This commit is contained in:
Wolfgang Bumiller 2012-05-01 16:24:16 +02:00
parent 282edea8de
commit 3c07ed15c0

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);
ir_value* ir_block_create_general_instr(ir_block *self, const char *label,
int op, ir_value *a, ir_value *b, int outype);
ir_value* ir_block_create_add(ir_block*, const char *label, ir_value *l, ir_value *r);
ir_value* ir_block_create_sub(ir_block*, const char *label, ir_value *l, ir_value *r);
ir_value* ir_block_create_mul(ir_block*, const char *label, ir_value *l, ir_value *r);