diff options
author | Jan Hubicka <jh@suse.cz> | 2010-07-05 00:22:48 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-07-04 22:22:48 +0000 |
commit | 4aa1c0d5927826c697c06dc9967d355eeb605605 (patch) | |
tree | c634fa7825a6cff0d2e7be50754ba2665de3fcc5 /gcc/lto-cgraph.c | |
parent | a05541a911f4bb5c12b1ad2f668c445dccce75c7 (diff) | |
download | gcc-4aa1c0d5927826c697c06dc9967d355eeb605605.zip gcc-4aa1c0d5927826c697c06dc9967d355eeb605605.tar.gz gcc-4aa1c0d5927826c697c06dc9967d355eeb605605.tar.bz2 |
* lto-cgraph.c (input_edge): Do not care about resolution decisions.
From-SVN: r161812
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r-- | gcc/lto-cgraph.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c index 9722a80..15427975 100644 --- a/gcc/lto-cgraph.c +++ b/gcc/lto-cgraph.c @@ -1158,7 +1158,6 @@ input_edge (struct lto_input_block *ib, VEC(cgraph_node_ptr, heap) *nodes, unsigned int nest; cgraph_inline_failed_t inline_failed; struct bitpack_d bp; - enum ld_plugin_symbol_resolution caller_resolution; int ecf_flags = 0; caller = VEC_index (cgraph_node_ptr, nodes, lto_input_sleb128 (ib)); @@ -1183,13 +1182,6 @@ input_edge (struct lto_input_block *ib, VEC(cgraph_node_ptr, heap) *nodes, freq = (int) bp_unpack_value (&bp, HOST_BITS_PER_INT); nest = (unsigned) bp_unpack_value (&bp, 30); - /* If the caller was preempted, don't create the edge. - ??? Should we ever have edges from a preempted caller? */ - caller_resolution = lto_symtab_get_resolution (caller->decl); - if (caller_resolution == LDPR_PREEMPTED_REG - || caller_resolution == LDPR_PREEMPTED_IR) - return; - if (indirect) edge = cgraph_create_indirect_edge (caller, NULL, 0, count, freq, nest); else |