avoid dangerous use of memcmp
[libfirm] / ir / lower / lower_hl.c
index dcbf9e8..f1263f8 100644 (file)
@@ -54,7 +54,7 @@ static void lower_sel(ir_node *sel) {
 
        /* Do not lower frame type/global offset table access: must be lowered by the backend. */
        ptr = get_Sel_ptr(sel);
-       if (ptr == get_irg_frame(current_ir_graph) || ptr == get_irg_globals(current_ir_graph))
+       if (ptr == get_irg_frame(current_ir_graph))
                return;
 
        ent   = get_Sel_entity(sel);
@@ -598,7 +598,6 @@ void lower_highlevel_graph(ir_graph *irg, int lower_bitfields) {
 
        /* Finally: lower SymConst-Size and Sel nodes, Casts, unaligned Load/Stores. */
        irg_walk_graph(irg, NULL, lower_irnode, NULL);
-       set_irg_phase_low(irg);
 }  /* lower_highlevel_graph */
 
 /*