Commit 554a4e6c authored by Matthias Braun's avatar Matthias Braun
Browse files

irmemory: Do not use ir_sc_parameter for parameters

ir_sc_parameter is for addresses of parameters, parameters themselfes
may point to anything.
This fixes firm-testsuite/opt/fehler110.c + fehler271.c
parent 65aeb1e8
......@@ -205,8 +205,6 @@ ir_storage_class_class_t classify_pointer(const ir_node *const addr,
} else if (is_Proj(base)) {
if (is_malloc_Result(base))
res = ir_sc_malloced;
else if (is_arg_Proj(base))
res = ir_sc_argument;
res = ir_sc_pointer;
} else if (is_Const(base)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment