Added phi handler
[libfirm] / ir / be / ia32 / ia32_transform.c
index 7331314..1cec30f 100644 (file)
@@ -1204,7 +1204,7 @@ static ir_node *gen_Store(ia32_transform_env_t *env) {
        ir_node *new_op;
 
        /* in case of storing a const (but not a symconst) -> make it an attribute */
-       if (is_ia32_Const(val) && get_ia32_op_type(val) == ia32_Const) {
+       if (is_ia32_Const(val)) {
                sval = noreg;
        }
 
@@ -1219,7 +1219,7 @@ static ir_node *gen_Store(ia32_transform_env_t *env) {
        }
 
        /* stored const is an attribute (saves a register) */
-       if (is_ia32_Const(val) && get_ia32_op_type(val) == ia32_Const) {
+       if (is_ia32_Const(val)) {
                set_ia32_Immop_attr(new_op, val);
        }