summaryrefslogtreecommitdiff
path: root/gcc/java/boehm.c
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.in (ifcvt.o): Depend on toplev.h.Kaveh R. Ghazi2001-04-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (ifcvt.o): Depend on toplev.h. * c-semantics.c: Include expr.h. * ifcvt.c: Include toplev.h. * expr.h (rtx_equal_p): Delete prototype. * rtl.h (exact_log2_wide, floor_log2_wide, permalloc, protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble, eliminate_constant_term, expand_complex_abs, find_single_use, make_tree, init_expr_once, init_optabs, supports_one_only): Likewise. * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return, rest_of_type_compilation, emit_queue, do_pending_stack_adjust, expand_assignment, store_expr, emit_line_note_after, emit_line_note_force, split_specs_attrs, label_rtx): Likewise. * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype. cp: * Make-lang.in (cp/semantics.o): Depend on $(EXPR_H). * semantics.c: Include expr.h. java: * Make-lang.in (java/boehm.o): Depend on toplev.h. * boehm.c: Include toplev.h. From-SVN: r41256
* boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Set to use `build_int_2.'Alexandre Petit-Bianco2001-04-031-1/+2
| | | | | | | | | | | | 2001-03-28 Hans Boehm <boehm@acm.org> * boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Set to use `build_int_2.' (get_boehm_type_descriptor): Set type on returned value to be a pointer length integer. (http://gcc.gnu.org/ml/java/2001-03/msg00444.html) From-SVN: r41059
* boehm.c (mark_reference_fields): Change test to correctly detect bitmap ↵Andrew Haley2000-12-151-1/+1
| | | | | | | | | | | overflow. 2000-12-14 Andrew Haley <aph@redhat.com> * boehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow. From-SVN: r38293
* boehm.c (mark_reference_fields): Set marking bits for all words in a ↵Hans Boehm2000-09-051-3/+18
| | | | | | | | | | | | | multiple-word record. 2000-08-07 Hans Boehm <boehm@acm.org> * boehm.c (mark_reference_fields): Set marking bits for all words in a multiple-word record. (get_boehm_type_descriptor): Use the procedure marking descriptor for java.lang.Class. From-SVN: r36159
* boehm.c (mark_reference_fields): Don't mark RawData fields.Tom Tromey2000-05-051-4/+17
| | | | | | | | | | | | | * boehm.c (mark_reference_fields): Don't mark RawData fields. Keep track of when we've seen a reference field after a non-reference field. (get_boehm_type_descriptor): Handle case where we see non-reference fields but no trailing reference field. * decl.c (rawdata_ptr_type_node): Define. (init_decl_processing): Initialize rawdata_ptr_type_node. * java-tree.h (rawdata_ptr_type_node): Declare. From-SVN: r33701
* * boehm.c (mark_reference_fields): Use int_byte_position.Tom Tromey2000-04-231-1/+1
| | | | From-SVN: r33354
* boehm.c (mark_reference_fields): Only call byte_position on non-static fields.Tom Tromey2000-04-231-1/+2
| | | | | | | * boehm.c (mark_reference_fields): Only call byte_position on non-static fields. From-SVN: r33351
* boehm.c (mark_reference_fields): Added `last_view_index' argument.Tom Tromey2000-04-221-20/+33
| | | | | | | * boehm.c (mark_reference_fields): Added `last_view_index' argument. Use DECL_FIELD_OFFSET to determine field's offset. From-SVN: r33346
* boehm.c (mark_reference_fields, set_bit): Prototype.Kaveh R. Ghazi2000-04-041-2/+12
| | | | | | | | | | | | | | | | * boehm.c (mark_reference_fields, set_bit): Prototype. (set_bit): Un-ANSI-fy definition. * class.c (init_test_hash_newfunc, decl_hash, decl_compare): Prototype. * decl.c (emit_init_test_initialization): Likewise. * gjavah.c (jni_print_char): Likewise. * parse.y (create_new_parser_context): Likewise. From-SVN: r32908
* decl.c (init_decl_processing): Set type of `sync_info' to be pointer to Object.Tom Tromey2000-03-161-22/+50
| | | | | | | | | | | | | * decl.c (init_decl_processing): Set type of `sync_info' to be pointer to Object. * boehm.c (get_boehm_type_descriptor): Correctly compute `bits'. Correctly compute bit number for current slot. Zero `high' and `low' in DS_LENGTH case. Don't skip inherited fields. Use mark_reference_fields. (mark_reference_fields): New function. From-SVN: r32572
* Makefile.in (JAVA_OBJS): Added boehm.o.Tom Tromey2000-03-041-0/+152
* Makefile.in (JAVA_OBJS): Added boehm.o. (boehm.o): New target. * Make-lang.in (JAVA_SRCS): Added boehm.c. * java-tree.h (flag_use_boehm_gc): Declare. (get_boehm_type_descriptor): Declare. * lang.c (lang_f_options): Added `use-boehm-gc'. (flag_use_boehm_gc): New global. * lang-options.h: Added -fuse-boehm-gc. * boehm.c: New file. * class.c (get_dispatch_table): If class uses a Boehm type descriptor, put it in the vtable. (make_class_data): Removed dead code. From-SVN: r32331