I was annoyed by the compiler warnings about implicit conversions.
[libfirm] / ir / be / ia32 / ia32_optimize.c
index feb529b..d844e9e 100644 (file)
@@ -41,8 +41,8 @@
 
 #include "../be_t.h"
 #include "../beabi.h"
-#include "../benode_t.h"
-#include "../besched_t.h"
+#include "../benode.h"
+#include "../besched.h"
 #include "../bepeephole.h"
 
 #include "ia32_new_nodes.h"
@@ -369,7 +369,7 @@ static void peephole_ia32_Return(ir_node *node) {
                        /* the return node itself, ignore */
                        continue;
                case iro_Start:
-               case beo_RegParams:
+               case beo_Start:
                case beo_Barrier:
                        /* ignore no code generated */
                        continue;
@@ -838,7 +838,7 @@ static ir_node *create_pop(dbg_info *dbgi, ir_node *block,
        sched_add_before(schedpoint, pop);
 
        in[0] = val;
-       keep = be_new_Keep(&ia32_reg_classes[CLASS_ia32_gp], block, 1, in);
+       keep  = be_new_Keep(block, 1, in);
        sched_add_before(schedpoint, keep);
 
        return stack;