From: Christian Würdig Date: Thu, 19 Jan 2006 10:48:59 +0000 (+0000) Subject: fxed bugs and missing inlcude X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=10f7e3da2a72d7080fb864109aca17d9aab8403e;p=libfirm fxed bugs and missing inlcude --- diff --git a/ir/be/ia32/bearch_ia32.c b/ir/be/ia32/bearch_ia32.c index 0078f394b..473664d8c 100644 --- a/ir/be/ia32/bearch_ia32.c +++ b/ir/be/ia32/bearch_ia32.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pseudo_irg.h" #include "irgwalk.h" #include "irprog.h" diff --git a/ir/be/ia32/ia32_transform.c b/ir/be/ia32/ia32_transform.c index b2e511ca3..74f43136a 100644 --- a/ir/be/ia32/ia32_transform.c +++ b/ir/be/ia32/ia32_transform.c @@ -252,7 +252,7 @@ ir_node *generate_Mul(transform_env_t *env, ir_node *op1, ir_node *op2, op_flavo /* create the mul */ if (is_imm_op) { mul = new_rd_ia32_Mul_i(dbg, irg, block, op1, mode_T); - set_ia32_Immop_attr(res, op2); + set_ia32_Immop_attr(mul, op2); } else { mul = new_rd_ia32_Mul(dbg, irg, block, op1, op2, mode_T);