Rework Block labels: They are entities now so we don't need a special symconst type...
[libfirm] / ir / lower / lower_calls.c
index 48aa4a1..0f0c0e2 100644 (file)
@@ -86,7 +86,7 @@ static ir_type *create_modified_mtd_type(const lower_params_t *lp, ir_type *mtp)
        ident *id;
        add_hidden hidden_params;
        int        changed = 0;
-       variadicity var;
+       ir_variadicity var;
 
        if (is_lowered_type(mtp)) {
                /* the type is already lowered. Not handled yet. */
@@ -313,7 +313,7 @@ static void check_ptr(ir_node *ptr, wlk_env *env) {
 
        /* still alias free */
        ptr = find_base_adr(ptr, &ent);
-       sc  = classify_pointer(current_ir_graph, ptr, ent);
+       sc  = GET_BASE_SC(classify_pointer(current_ir_graph, ptr, ent));
        if (sc != ir_sc_localvar && sc != ir_sc_malloced) {
                /* non-local memory access */
                env->only_local_mem = 0;