simplify and speedup belady/loopana a bit
[libfirm] / ir / be / ppc32 / ppc32_emitter.c
index 1477df6..a5a0d6e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -141,7 +141,7 @@ void ppc32_emit_dest_register(const ir_node *node, int pos) {
 }
 
 void ppc32_emit_rlwimi_helper(const ir_node *n) {
-       rlwimi_const_t *rlwimi_const = get_ppc32_rlwimi_const(n);
+       const rlwimi_const_t *rlwimi_const = get_ppc32_rlwimi_const(n);
 
        be_emit_irprintf("%i, %i, %i", rlwimi_const->shift,
                rlwimi_const->maskA, rlwimi_const->maskB);
@@ -494,7 +494,7 @@ static void emit_be_Perm(const ir_node *irn) {
 static void emit_Proj(const ir_node *irn) {
        ir_node *pred = get_Proj_pred(irn);
 
-       if (get_irn_op(pred) == op_Start) {
+       if (is_Start(pred)) {
                if (get_Proj_proj(irn) == pn_Start_X_initial_exec) {
                        emit_Jmp(irn);
                }