diff options
author | Tom Tromey <tromey@redhat.com> | 2007-01-13 04:21:51 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-13 04:21:51 +0000 |
commit | 6ef795d2e127b3245150c52931d16a07cae68deb (patch) | |
tree | d08ac509ff5c9b7c584fc0bdcd676a230d922653 /gcc/java/jcf-dump.c | |
parent | 86b5186f2fa3d33c7758e6894c13b28588fff89c (diff) | |
download | gcc-6ef795d2e127b3245150c52931d16a07cae68deb.zip gcc-6ef795d2e127b3245150c52931d16a07cae68deb.tar.gz gcc-6ef795d2e127b3245150c52931d16a07cae68deb.tar.bz2 |
jcf-dump.c (main): Updated call to find_class.
* jcf-dump.c (main): Updated call to find_class.
* lang.c (java_init): Removed dead code.
* jcf-parse.c (read_class): Don't use java_source field. Removed
dead code.
(parse_zip_file_entries): Don't use java_source field.
(process_zip_dir): Likewise.
(jcf_parse): Removed dead code.
(java_parse_file): Likewise.
(read_class): Updated call to find_class.
* jcf-io.c (find_class): Don't use java_source field. Removed
'source_ok' argument, .java logic.
* jcf.h (JCF) <java_source>: Removed field.
(JCF_ZERO): Updated. (find_class): Updated.
* decl.c: Removed dead code.
* class.c: Removed dead code.
From-SVN: r120745
Diffstat (limited to 'gcc/java/jcf-dump.c')
-rw-r--r-- | gcc/java/jcf-dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c index 66c2515..0dfa4c2 100644 --- a/gcc/java/jcf-dump.c +++ b/gcc/java/jcf-dump.c @@ -2,7 +2,7 @@ Functionally similar to Sun's javap. Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006 Free Software Foundation, Inc. + 2006, 2007 Free Software Foundation, Inc. This file is part of GCC. @@ -1290,7 +1290,7 @@ main (int argc, char** argv) for (argi = optind; argi < argc; argi++) { char *arg = argv[argi]; - const char *class_filename = find_class (arg, strlen (arg), jcf, 0); + const char *class_filename = find_class (arg, strlen (arg), jcf); if (class_filename == NULL) class_filename = find_classfile (arg, jcf, NULL); if (class_filename == NULL) |