From 3c07ed15c061fd3570386cf1f2a5cd206a664c5e Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 1 May 2012 16:24:16 +0200 Subject: [PATCH] expose create_general_instr in ir.h for now... --- ir.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ir.h b/ir.h index 2e219bd..e490280 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); +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);