aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-07-14 09:44:33 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-07-14 07:44:33 +0000
commited5cd5bc7132cd6d32f0e370d91ee6b380389c82 (patch)
tree2aa13fe489f32bbc342e80eaac83befdc9753e24 /gcc/ipa-utils.h
parent4f4b35a0a61ce83891b26ace7794b3213fef96a7 (diff)
downloadgcc-ed5cd5bc7132cd6d32f0e370d91ee6b380389c82.zip
gcc-ed5cd5bc7132cd6d32f0e370d91ee6b380389c82.tar.gz
gcc-ed5cd5bc7132cd6d32f0e370d91ee6b380389c82.tar.bz2
Remove Java references in source code.
2017-07-14 Martin Liska <mliska@suse.cz> * cfgexpand.c (expand_gimple_basic_block): Remove dead comment. * dwarf2out.c (is_java): Remove the function. (output_pubname): Remove usage of the function. (lower_bound_default): Remove usage of DW_LANG_Java. (gen_compile_unit_die): Likewise. * gcc.c: Remove compiler defaults for .java and .zip files. * gimple-expr.c (remove_suffix): Change as there's no longer extension than 4-letter one. * gimplify.c (mostly_copy_tree_r): Remove Java-special part. (gimplify_save_expr): Likewise. * ipa-utils.h (polymorphic_type_binfo_p): Remove the comment as it's possible even for other languages than Java. * langhooks.h (struct lang_hooks): Remove Java from a comment. * lto-opts.c (lto_write_options): Remove reference to Java. * opts.c (strip_off_ending): Update file extension handling. * tree-cfg.c (verify_gimple_call): Remove comment with Java. * tree-eh.c (lower_resx): Likewise. * tree.c (free_lang_data_in_type): Remove dead code. (find_decls_types_r): Likewise. (build_common_builtin_nodes): Remove Java from a comment. (verify_type): Remove dead code. * varasm.c (assemble_external): Remove Java from a comment. From-SVN: r250199
Diffstat (limited to 'gcc/ipa-utils.h')
-rw-r--r--gcc/ipa-utils.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h
index e992f65..f061c84 100644
--- a/gcc/ipa-utils.h
+++ b/gcc/ipa-utils.h
@@ -169,9 +169,6 @@ possible_polymorphic_call_target_p (struct cgraph_edge *e,
inline bool
polymorphic_type_binfo_p (const_tree binfo)
{
- /* See if BINFO's type has an virtual table associtated with it.
- Check is defensive because of Java FE produces BINFOs
- without BINFO_TYPE set. */
return (BINFO_TYPE (binfo) && TYPE_BINFO (BINFO_TYPE (binfo))
&& BINFO_VTABLE (TYPE_BINFO (BINFO_TYPE (binfo))));
}