aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-02-24 13:47:39 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-02-24 13:47:39 +0000
commitbdb59aec775c4ea43a980efa6ccacdc3c9540d12 (patch)
treed69df26a5c83842fd59c5587dfe4b063f95c6466 /gcc/gcse.c
parent46f40127a279a44341defa54a2410d7a95738346 (diff)
downloadgcc-bdb59aec775c4ea43a980efa6ccacdc3c9540d12.zip
gcc-bdb59aec775c4ea43a980efa6ccacdc3c9540d12.tar.gz
gcc-bdb59aec775c4ea43a980efa6ccacdc3c9540d12.tar.bz2
gjavah.c (struct namelet): New structure.
* gjavah.c (struct namelet): New structure. (add_namelet): New function. (print_namelet): New function. (print_class_decls): Use add_namelet and print_namelet to generate namespaces and not classes. (method_printed): New global. (HANDLE_END_METHOD): Examine method_printed. (print_method_info): Set method_printed when required. Print error if function to be ignored is marked virtual. Handle $finit$ method. (METHOD_IS_FINAL): New macro. (print_field_info): Use it. (HANDLE_METHOD): Clear method_printed. (method_pass): New global. (HANDLE_END_FIELD): Call add_class_decl on the first pass. (process_file): Do two passes over both fields and methods. (HANDLE_METHOD): Examine method_pass. (root): New global. (add_class_decl): New function. (print_class_decls): Don't scan over entire constant pool. From-SVN: r25403
Diffstat (limited to 'gcc/gcse.c')
0 files changed, 0 insertions, 0 deletions