#include "iredges.h"
#include "irgwalk.h"
#include "irphase_t.h"
-#include "height.h"
+#include "heights.h"
typedef struct reg_flag_t {
const arch_register_t *reg; /**< register at an input position.
rbitset_alloca(found_projs, n_outs);
foreach_out_edge(node, edge) {
ir_node *succ = get_edge_src_irn(edge);
+ ir_mode *mode = get_irn_mode(succ);
int pn;
/* The node could be kept */
if (is_End(succ) || is_Anchor(succ))
continue;
- if (get_irn_mode(succ) == mode_M)
+ if (mode == mode_M || mode == mode_X)
continue;
pn = get_Proj_proj(succ);
}
}
-static heights_t *heights;
+static ir_heights_t *heights;
/**
* Check if a node is somehow data dependent on another one.