summaryrefslogtreecommitdiff
path: root/gcc/ipa-type-escape-analysis.c
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-04-17 15:19:04 +0200
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-09-08 08:50:17 +0200
commit1d1552a89ac3eabb13a6f448164e5d572c15423e (patch)
treec03679ee223e2eece965ac1d165e307ce9046c54 /gcc/ipa-type-escape-analysis.c
parentab23ba24fbb0def92b14c2ec76227c2e64d46070 (diff)
memset blacklisting about to begin
Diffstat (limited to 'gcc/ipa-type-escape-analysis.c')
-rw-r--r--gcc/ipa-type-escape-analysis.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ipa-type-escape-analysis.c b/gcc/ipa-type-escape-analysis.c
index a3c10302327..ff86447e869 100644
--- a/gcc/ipa-type-escape-analysis.c
+++ b/gcc/ipa-type-escape-analysis.c
@@ -259,9 +259,11 @@ collect_global(type_map &escape_map, varpool_node *vnode)
tree type = TREE_TYPE(decl);
gcc_assert(type);
+ log("collecting global type escape analysis %s\n", get_type_name(type));
escaping_reason reason = new_escaping_reason();
escaping_info info = { type, false, reason };
escape_map.put (type, info);
+ //escape_map.put (TYPE_MAIN_VARIANT(type), info);
}
}
@@ -431,9 +433,9 @@ collect_types(type_map &escape_map)
cgraph_node *cnode = NULL;
FOR_EACH_DEFINED_FUNCTION (cnode)
{
+ collect_parm_declarations (cnode, escape_map);
collect_function_body (cnode, escape_map);
collect_local_declarations (cnode, escape_map);
- collect_parm_declarations (cnode, escape_map);
}
}