add code disable dominatice info

This commit is contained in:
fanfuqiang 2018-10-02 23:07:27 +08:00
parent 3976c80e2c
commit f422d7449b

View File

@ -356,6 +356,9 @@ create:
/* Build cfi hash tree, target or source depend on the argument.
??? should we reuse the tree node. */
// set_dom_info_availability (enum cdi_direction dir, enum dom_state new_state)
//free_dominance_info (enum cdi_direction dir)
static tree
build_cfi_hash_tree (gimple cs, int direct)
{
@ -505,6 +508,10 @@ rap_fe_cfi_execute ()
}
}
// Force the dominate info of current function recompute.
free_dominance_info (CDI_DOMINATORS);
free_dominance_info (CDI_POST_DOMINATORS);
pop_cfun ();
}
//indirect_function_maps = pointer_map_create ();