#include "config.h"#include "system.h"#include "tree.h"#include "rtl.h"#include "flags.h"#include "java-tree.h"#include "jcf.h"#include "obstack.h"#include "toplev.h"#include "output.h"#include "parse.h"#include "function.h"#include "ggc.h"#include "stdio.h"#include "target.h"

Go to the source code of this file.
| #define ACC_TRANSLATED 0x4000 |
Referenced by make_method_value().
| #define class_dtable_decl class_roots[4] |
| #define class_list class_roots[3] |
| #define fields_ident class_roots[1] |
Definition at line 101 of file class.c.
Referenced by build_static_field_ref(), and init_class_processing().
| #define info_ident class_roots[2] |
Definition at line 102 of file class.c.
Referenced by build_static_field_ref(), and init_class_processing().
| #define registered_class class_roots[0] |
Definition at line 100 of file class.c.
Referenced by emit_register_classes(), and register_class().
| void add_assume_compiled | ( | char * | ident, | |
| int | excludep | |||
| ) | const |
Definition at line 152 of file class.c.
References assume_compiled_node_struct::child, assume_compiled_node_struct::excludep, find_assume_compiled_node(), assume_compiled_node_struct::ident, node, NULL, assume_compiled_node_struct::parent, assume_compiled_node_struct::sibling, strlen(), xmalloc(), and xstrdup().
Referenced by java_decode_option().
Definition at line 753 of file class.c.
References ACC_FINAL, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_TRANSIENT, ACC_VOLATILE, build_decl, DECL_CONTEXT, DECL_EXTERNAL, FIELD_FINAL, FIELD_PRIVATE, FIELD_PROTECTED, FIELD_PUBLIC, FIELD_STATIC, FIELD_TRANSIENT, FIELD_VOLATILE, TREE_CHAIN, TREE_PUBLIC, and TYPE_FIELDS.
Definition at line 583 of file class.c.
References add_interface_do(), error(), i, n, NULL_TREE, TREE_VEC_ELT, TREE_VEC_LENGTH, and TYPE_BINFO_BASETYPES.
Definition at line 540 of file class.c.
References BINFO_OFFSET, BINFO_TYPE, BINFO_VPTR_FIELD, integer_zero_node, make_tree_vec, TREE_VEC_ELT, TREE_VIA_PUBLIC, and TREE_VIA_VIRTUAL.
Referenced by add_interface(), and maybe_add_interface().
Definition at line 732 of file class.c.
References add_method_1(), CLASS_TO_HANDLE_TYPE, fatal_error(), get_type_from_signature(), IDENTIFIER_POINTER, set_java_signature(), and TREE_TYPE.
Definition at line 666 of file class.c.
References ACC_ABSTRACT, ACC_FINAL, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SYNCHRONIZED, ACC_TRANSIENT, build_decl, build_java_method_type(), DECL_CONTEXT, DECL_EXTERNAL, DECL_FUNCTION_INIT_TEST_TABLE, DECL_FUNCTION_INITIALIZED_CLASS_TABLE, DECL_FUNCTION_STATIC_METHOD_INVOCATION_COMPOUND, DECL_INLINE, DECL_LANG_SPECIFIC, finalize_identifier_node, ggc_alloc_cleared, HAS_FINALIZER_P, hash_table_init(), init_test_hash_newfunc(), java_hash_compare_tree_node(), java_hash_hash_tree_node(), METHOD_ABSTRACT, METHOD_FINAL, METHOD_NATIVE, METHOD_PRIVATE, METHOD_PROTECTED, METHOD_PUBLIC, METHOD_STATIC, METHOD_STRICTFP, METHOD_SYNCHRONIZED, METHOD_TRANSIENT, NULL_TREE, TREE_CHAIN, TREE_TYPE, TREE_VALUE, TYPE_ARG_TYPES, TYPE_METHODS, and void_type_node.
Referenced by add_method().
| static int assume_compiled | ( | char * | ident | ) | const [static] |
Definition at line 204 of file class.c.
References assume_compiled_node_struct::excludep, find_assume_compiled_node(), i, NULL, and result.
Referenced by is_compiled_class(), and make_class_data().
Definition at line 1037 of file class.c.
References abort, alloc_class_constant(), boolean_type_node, build(), build1, build_decl, build_ref_from_constant_pool(), byte_type_node, char_type_node, cl(), class_ptr_type, class_type_node, DECL_ARTIFICIAL, DECL_EXTERNAL, DECL_IGNORED_P, DECL_NAME, DECL_SIZE, DECL_SIZE_UNIT, double_type_node, error_mark_node, flag_emit_class_files, float_type_node, get_identifier(), IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_POINTER, identifier_subst(), index(), int_type_node, is_compiled_class(), java_mangle_class_field(), long_type_node, lookup_class(), make_decl_rtl(), NULL, null_pointer_node, NULL_TREE, promote_type(), pushdecl_top_level(), SET_DECL_ASSEMBLER_NAME, short_type_node, sprintf(), strncmp(), temporary_obstack, TREE_CODE, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, TYPE_identifier_node, TYPE_NAME, TYPE_SIZE, TYPE_SIZE_UNIT, and void_type_node.
Referenced by build_anewarray(), build_class_init(), build_instanceof(), build_invokeinterface(), build_jni_stub(), build_known_method_ref(), build_newarray(), build_static_field_ref(), complete_start_java_method(), emit_init_test_initialization(), expand_java_CHECKCAST(), expand_java_multianewarray(), expand_java_NEW(), make_class_data(), make_field_value(), prepare_eh_table_type(), and register_class().
Definition at line 1839 of file class.c.
References build_decl, build_prim_array_type(), class_ptr_type, current_class, DECL_ARTIFICIAL, DECL_CONTEXT, dtable_type, get_dispatch_vector(), java_mangle_vtable(), layout_type(), make_node, n, nativecode_ptr_type_node, NULL_TREE, ptr_type_node, PUSH_FIELD, TARGET_VTABLE_USES_DESCRIPTORS, temporary_obstack, TREE_CHAIN, and TREE_VEC_LENGTH.
Referenced by make_class_data().
Definition at line 618 of file class.c.
References ACC_STATIC, build_method_type(), and CLASS_TO_HANDLE_TYPE.
Referenced by add_method_1().
Definition at line 2249 of file class.c.
References build_java_signature(), build_utf8_ref(), DECL_CONTEXT, DECL_NAME, FINISH_RECORD_CONSTRUCTOR, IDENTIFIER_LENGTH, IDENTIFIER_POINTER, method_symbol_type, PUSH_FIELD_VALUE, START_RECORD_CONSTRUCTOR, TREE_CONSTANT, TREE_TYPE, TYPE_NAME, and unmangle_classname().
Referenced by emit_offset_symbol_table().
Definition at line 1139 of file class.c.
References build(), build1, build_class_ref(), build_int_2, class_type_node, DECL_CONTEXT, DECL_EXTERNAL, DECL_NAME, DECL_RTL_SET_P, fatal_error(), field_index(), field_info_union_node, field_ptr_type_node, FIELD_STATIC, field_type_node, fields_ident, fold(), IDENTIFIER_POINTER, info_ident, int_size_in_bytes(), is_compiled_class(), lookup_field(), make_decl_rtl(), NULL, NULL_TREE, ptr_type_node, TREE_CHAIN, TREE_TYPE, and TYPE_FIELDS.
Referenced by build_field_ref(), and make_field_value().
Definition at line 964 of file class.c.
References buf, build1, build_decl, build_int_2, build_prim_array_type(), build_string(), DECL_ARTIFICIAL, DECL_IGNORED_P, DECL_INITIAL, DECL_SECTION_NAME, FINISH_RECORD, FINISH_RECORD_CONSTRUCTOR, flag_merge_constants, flags, get_identifier(), global_bindings_p(), hashUtf8String(), IDENTIFIER_LENGTH, IDENTIFIER_POINTER, IDENTIFIER_UTF8_REF, layout_decl(), make_decl_rtl(), make_node, named_section_flags, NULL_TREE, PUSH_FIELD, PUSH_FIELD_VALUE, pushdecl(), rest_of_decl_compilation(), SECTION_ENTSIZE, SECTION_MERGE, SECTION_OVERRIDE, sprintf(), START_RECORD_CONSTRUCTOR, strlen(), TREE_CHAIN, TREE_CONSTANT, TREE_READONLY, TREE_STATIC, TREE_THIS_VOLATILE, TREE_TYPE, TYPE_ALIGN_UNIT, unsigned_byte_type_node, unsigned_short_type_node, utf8const_ptr_type, and utf8const_type.
Referenced by build_constants_constructor(), build_jni_stub(), build_method_symbols_entry(), make_class_data(), make_field_value(), make_method_value(), and prepare_eh_table_type().
| int class_depth | ( | tree | clas | ) |
Definition at line 435 of file class.c.
References CLASS_LOADED_P, error_mark_node, load_class(), object_type_node, TYPE_BINFO_BASETYPE, and TYPE_SIZE.
Referenced by can_widen_reference_to(), and merge_types().
Definition at line 518 of file class.c.
References DECL_CONTEXT, NULL_TREE, PURE_INNER_CLASS_TYPE_P, TREE_TYPE, and TYPE_NAME.
| void compile_resource_file | ( | char * | name, | |
| const char * | filename | |||
| ) |
Definition at line 860 of file class.c.
References gcc_target::asm_out, assemble_variable(), buf, build_decl, build_function_type(), build_int_2, build_prim_array_type(), build_string(), close, gcc_target::asm_out::constructor, current_function_decl, data_type, DECL_ARTIFICIAL, DECL_IGNORED_P, DECL_INITIAL, DECL_RESULT, DECL_RTL, DEFAULT_INIT_PRIORITY, emit_library_call(), end_params_node, expand_function_end(), expand_function_start(), fd, FINISH_RECORD, FINISH_RECORD_CONSTRUCTOR, flag_inline_functions, fstat, get_file_function_name(), get_identifier(), global_bindings_p(), gcc_target::have_ctors_dtors, init_decl, init_function_start(), init_type(), input_filename, layout_decl(), make_decl_rtl(), make_node, NULL, NULL_TREE, O_BINARY, O_RDONLY, open, perror(), Pmode, poplevel(), PUSH_FIELD, PUSH_FIELD_VALUE, pushdecl(), pushlevel(), read, rest_of_compilation(), rest_of_decl_compilation(), S_ISREG, SET_DECL_ASSEMBLER_NAME, sprintf(), stat::st_mode, stat::st_size, START_RECORD_CONSTRUCTOR, strcpy, strlen(), targetm, TREE_CONSTANT, TREE_PUBLIC, TREE_READONLY, TREE_STATIC, TREE_THIS_VOLATILE, TREE_TYPE, unsigned_byte_type_node, unsigned_int_type_node, void_type_node, XEXP, and xmalloc().
| void emit_offset_symbol_table | ( | ) |
Definition at line 2273 of file class.c.
References build(), build_array_type(), build_decl, build_index_type(), build_int_2, build_method_symbols_entry(), DECL_ARTIFICIAL, DECL_IGNORED_P, DECL_INITIAL, FINISH_RECORD_CONSTRUCTOR, get_identifier(), index(), integer_type_node, method_symbol_type, method_symbols_array_type, nreverse(), NULL, null_pointer_node, NULL_TREE, otable_decl, otable_methods, otable_syms_decl, PUSH_FIELD_VALUE, rest_of_decl_compilation(), START_RECORD_CONSTRUCTOR, TREE_CHAIN, tree_cons, TREE_CONSTANT, TREE_READONLY, TREE_STATIC, and TREE_VALUE.
| void emit_register_classes | ( | ) |
Definition at line 2182 of file class.c.
References abort, gcc_target::asm_out, assemble_align(), assemble_integer(), BITS_PER_UNIT, build_decl, build_function_type(), gcc_target::asm_out::constructor, current_function_cannot_inline, current_function_decl, DECL_RESULT, DECL_RTL, DEFAULT_INIT_PRIORITY, emit_library_call(), end_params_node, expand_function_end(), expand_function_start(), get_file_function_name(), gcc_target::have_ctors_dtors, gcc_target::have_named_sections, init_decl, init_function_start(), init_type(), input_filename, JCR_SECTION_NAME, make_decl_rtl(), named_section_flags, NULL, NULL_TREE, PARAMS, Pmode, POINTER_SIZE, poplevel(), pushlevel(), registered_class, rest_of_compilation(), SECTION_WRITE, SET_DECL_ASSEMBLER_NAME, SUPPORTS_WEAK, targetm, TREE_CHAIN, TREE_PUBLIC, TREE_STATIC, TREE_USED, void_type_node, and XEXP.
Definition at line 497 of file class.c.
References DECL_CONTEXT, INNER_CLASS_TYPE_P, NULL_TREE, TREE_TYPE, and TYPE_NAME.
| static assume_compiled_node* find_assume_compiled_node | ( | assume_compiled_node * | node, | |
| const char * | ident | |||
| ) | [static] |
Definition at line 111 of file class.c.
References NULL, assume_compiled_node_struct::sibling, strlen(), and strncmp().
Referenced by add_assume_compiled(), and assume_compiled().
| void finish_class | ( | ) |
Definition at line 1748 of file class.c.
References CLASS_TO_HANDLE_TYPE, current_class, current_function_decl, DECL_SAVED_INSNS, make_class_data(), METHOD_NATIVE, NULL_TREE, register_class(), rest_of_decl_compilation(), TREE_ASM_WRITTEN, TREE_CHAIN, TYPE_METHODS, and TYPE_NAME.
Referenced by finish_objc(), and start_class().
| int get_access_flags_from_decl | ( | tree | decl | ) |
Definition at line 1188 of file class.c.
References abort, ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_TRANSIENT, ACC_VOLATILE, CLASS_ABSTRACT, CLASS_FINAL, CLASS_INTERFACE, CLASS_PRIVATE, CLASS_PROTECTED, CLASS_PUBLIC, CLASS_STATIC, CLASS_STRICTFP, CLASS_SUPER, FIELD_FINAL, FIELD_PRIVATE, FIELD_PROTECTED, FIELD_PUBLIC, FIELD_STATIC, FIELD_TRANSIENT, FIELD_VOLATILE, METHOD_ABSTRACT, METHOD_FINAL, METHOD_NATIVE, METHOD_PRIVATE, METHOD_PROTECTED, METHOD_PUBLIC, METHOD_STATIC, METHOD_STRICTFP, METHOD_SYNCHRONIZED, METHOD_TRANSIENT, and TREE_CODE.
Referenced by make_class_data(), make_field_value(), and make_method_value().
Pointer to type_info object (to be implemented), according to g++ ABI.
Offset to start of whole object. Always (ptrdiff_t)0 for Java.
Definition at line 1414 of file class.c.
References build(), build1, build_int_2, build_prim_array_type(), CLASS_ABSTRACT, DECL_RTL_SET_P, get_boehm_type_descriptor(), get_dispatch_vector(), i, integer_zero_node, make_decl_rtl(), METHOD_ABSTRACT, nativecode_ptr_type_node, NULL, null_pointer_node, NULL_TREE, TARGET_VTABLE_USES_DESCRIPTORS, tree_cons, TREE_CONSTANT, TREE_VEC_ELT, TREE_VEC_LENGTH, and TYPE_NAME.
Referenced by make_class_data().
Definition at line 1382 of file class.c.
References CLASSTYPE_SUPER, DECL_VINDEX, host_integerp(), HOST_WIDE_INT, i, make_tree_vec, NULL, NULL_TREE, TREE_CHAIN, tree_low_cst(), TREE_VEC_ELT, TYPE_METHODS, TYPE_NVIRTUALS, and TYPE_VTABLE.
Referenced by build_dtable_decl(), and get_dispatch_table().
| static int32 hashUtf8String | ( | char * | str, | |
| int | len | |||
| ) | const [static] |
Definition at line 838 of file class.c.
References int32, and UTF8_GET.
Referenced by build_utf8_ref().
| tree ident_subst | ( | char* | old_name, | |
| int | old_length, | |||
| const char * | prefix, | |||
| int | old_char, | |||
| int | new_char, | |||
| const char * | suffix | |||
| ) | const |
Definition at line 226 of file class.c.
References alloca, get_identifier(), i, strcpy, and strlen().
Referenced by build_java_array_type(), build_java_signature(), identifier_subst(), and unmangle_classname().
| tree identifier_subst | ( | tree | old_id, | |
| const char * | prefix, | |||
| int | old_char, | |||
| int | new_char, | |||
| const char * | suffix | |||
| ) | const |
Definition at line 259 of file class.c.
References ident_subst(), IDENTIFIER_LENGTH, and IDENTIFIER_POINTER.
Referenced by build_class_ref(), build_internal_class_name(), build_java_array_type(), make_class_file_name(), mangled_classname(), and push_class().
Definition at line 482 of file class.c.
References CLASSTYPE_SUPER, NULL_TREE, and TREE_CODE.
Referenced by build_class_init(), and build_instanceof().
Definition at line 2328 of file class.c.
References class_roots, fields_ident, gcc_obstack_init, get_identifier(), info_ident, Pmode, and temporary_obstack.
| static struct hash_entry* init_test_hash_newfunc | ( | struct hash_entry * | entry, | |
| struct hash_table * | table, | |||
| string | ||||
| ) | [static, read] |
Definition at line 629 of file class.c.
References hash_allocate(), init_test_hash_entry::init_test_decl, NULL, and ret.
Referenced by add_method_1().
Definition at line 454 of file class.c.
References BINFO_TYPE, i, n, TREE_VEC_ELT, TREE_VEC_LENGTH, and TYPE_BINFO_BASETYPES.
| int is_compiled_class | ( | tree | class | ) |
Definition at line 1792 of file class.c.
References assume_compiled(), CLASS_FROM_CURRENTLY_COMPILED_P, CLASS_FROM_SOURCE_P, CLASS_LOADED_P, current_class, DECL_NAME, IDENTIFIER_POINTER, JCF_SEEN_IN_ZIP, load_class(), TREE_CODE, TREE_TYPE, TYPE_ARRAY_P, TYPE_JCF, and TYPE_NAME.
Referenced by build_class_ref(), build_known_method_ref(), build_static_field_ref(), make_class_data(), make_field_value(), and prepare_eh_table_type().
| bool java_hash_compare_tree_node | ( | hash_table_key | k1, | |
| hash_table_key | k2 | |||
| ) |
| unsigned long java_hash_hash_tree_node | ( | hash_table_key | k | ) |
Definition at line 1949 of file class.c.
References BINFO_TYPE, CLASS_BEING_LAIDOUT, CLASS_FROM_SOURCE_P, class_list, CLASSTYPE_SUPER, convert(), cyclic_inheritance_report, DECL_NAME, DECL_SOURCE_FILE, DECL_SOURCE_LINE, error_mark_node, FIELD_STATIC, fold(), ggc_strdup, i, IDENTIFIER_POINTER, int_type_node, java_mangle_decl(), layout_type(), maybe_layout_super_class(), n, NULL, NULL_TREE, obstack_1grow, obstack_finish, obstack_free, obstack_grow, push_super_field(), SET_DECL_ASSEMBLER_NAME, sprintf(), strlen(), temporary_obstack, TREE_CHAIN, TREE_CODE, tree_cons, TREE_PURPOSE, TREE_VEC_ELT, TREE_VEC_LENGTH, TYPE_BINFO_BASETYPES, TYPE_FIELDS, TYPE_NAME, TYPE_SIZE, and TYPE_SIZE_UNIT.
Referenced by parse_zip_file_entries(), and read_class().
Definition at line 2096 of file class.c.
References build(), build_java_argument_signature(), CLASS_FINAL, CLASS_FROM_SOURCE_P, CLASS_INTERFACE, DECL_ARTIFICIAL, DECL_CLINIT_P, DECL_CONSTRUCTOR_P, DECL_NAME, DECL_VINDEX, fold(), ID_INIT_P, IDENTIFIER_POINTER, integer_one_node, integer_type_node, java_mangle_decl(), lookup_argument_method(), make_decl_rtl(), METHOD_ABSTRACT, METHOD_FINAL, METHOD_PRIVATE, METHOD_STATIC, NULL, NULL_TREE, p, SET_DECL_ASSEMBLER_NAME, temporary_obstack, TREE_PUBLIC, TREE_TYPE, and TYPE_NAME.
Referenced by layout_class_methods().
Definition at line 2053 of file class.c.
References CLASS_TO_HANDLE_TYPE, CLASSTYPE_SUPER, integer_zero_node, layout_class_method(), layout_type(), maybe_layout_super_class(), nreverse(), TREE_CHAIN, TYPE_METHODS, and TYPE_NVIRTUALS.
Referenced by build_invokeinterface(), expand_invoke(), and jcf_parse().
Definition at line 379 of file class.c.
References IDENTIFIER_CLASS_VALUE, make_class(), NULL_TREE, push_class(), and TREE_TYPE.
Referenced by build_class_ref(), get_class_constant(), java_init_decl_processing(), parse_signature_type(), parse_zip_file_entries(), and process_zip_dir().
| tree make_class | ( | ) |
Definition at line 285 of file class.c.
References build_decl, build_pointer_type(), get_identifier(), make_node, make_tree_vec, MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC, methodtable_ptr_type, TREE_CHAIN, TYPE_BINFO, and TYPE_FIELDS.
Referenced by build_java_array_type(), and lookup_class().
Offset from start of virtual function table declaration to where objects actually point at, following new g++ ABI.
Definition at line 1490 of file class.c.
References alloc_class_constant(), assume_compiled(), BINFO_TYPE, BITS_PER_UNIT, build(), build1, build_class_ref(), build_constants_constructor(), build_decl, build_dtable_decl(), build_int_2, build_prim_array_type(), build_utf8_ref(), chainon(), class_dtable_decl, CLASS_INTERFACE, class_ptr_type, CLASS_TO_HANDLE_TYPE, class_type_node, CLASSTYPE_SUPER, DECL_ALIGN, DECL_ARTIFICIAL, DECL_EXTERNAL, DECL_IGNORED_P, DECL_INITIAL, DECL_NAME, dtable, dtable_ptr_type, field_count(), field_ptr_type_node, FIELD_STATIC, field_type_node, FINISH_RECORD_CONSTRUCTOR, flag_hash_synchronization, flag_indirect_dispatch, flag_inline_functions, flag_keep_inline_functions, get_access_flags_from_decl(), get_dispatch_table(), HOST_WIDE_INT, i, IDENTIFIER_POINTER, index(), integer_minus_one_node, integer_zero_node, interfaces, is_compiled_class(), make_field_value(), make_method_value(), mangled_classname(), METHOD_PRIVATE, method_ptr_type_node, method_symbols_array_ptr_type, method_type_node, nreverse(), null_pointer_node, NULL_TREE, object_type_node, optimize, otable_decl, otable_methods, otable_ptr_type, otable_syms_decl, POINTER_SIZE, ptr_type_node, PUSH_FIELD_VALUE, PUSH_SUPER_VALUE, rest_of_decl_compilation(), size_in_bytes(), START_RECORD_CONSTRUCTOR, string_ptr_type_node, TREE_CHAIN, tree_cons, TREE_OPERAND, TREE_PUBLIC, TREE_STATIC, TREE_TYPE, TREE_VEC_ELT, TREE_VEC_LENGTH, TYPE_BINFO_BASETYPES, TYPE_FIELDS, TYPE_METHODS, TYPE_NAME, and TYPE_NVIRTUALS.
Referenced by finish_class().
Definition at line 1260 of file class.c.
References build(), build_address_of(), build_class_ref(), build_int_2, build_java_signature(), build_static_field_ref(), build_tree_list, build_utf8_ref(), byte_position(), DECL_NAME, field_info_union_node, FIELD_STATIC, field_type_node, FINISH_RECORD_CONSTRUCTOR, flags, get_access_flags_from_decl(), IDENTIFIER_LENGTH, IDENTIFIER_POINTER, is_compiled_class(), NULL_TREE, PUSH_FIELD_VALUE, START_RECORD_CONSTRUCTOR, TREE_CHAIN, TREE_TYPE, TYPE_FIELDS, TYPE_SIZE_UNIT, and unmangle_classname().
Referenced by make_class_data().
Definition at line 1305 of file class.c.
References ACC_TRANSLATED, buf, build(), build1, build_decl, build_int_2, build_java_signature(), build_prim_array_type(), build_utf8_ref(), DECL_ARTIFICIAL, DECL_CONSTRUCTOR_P, DECL_FUNCTION_THROWS, DECL_IGNORED_P, DECL_INITIAL, DECL_NAME, DECL_RTL_SET_P, DECL_VINDEX, FINISH_RECORD_CONSTRUCTOR, flag_indirect_dispatch, get_access_flags_from_decl(), get_identifier(), IDENTIFIER_LENGTH, IDENTIFIER_POINTER, index(), init_identifier_node, integer_minus_one_node, iter, length, list_length(), method_type_node, nativecode_ptr_type_node, null_pointer_node, NULL_TREE, ptr_type_node, PUSH_FIELD_VALUE, rest_of_decl_compilation(), sprintf(), START_RECORD_CONSTRUCTOR, TREE_CHAIN, tree_cons, TREE_STATIC, TREE_TYPE, TREE_VALUE, and unmangle_classname().
Referenced by make_class_data().
Definition at line 274 of file class.c.
References DECL_NAME, ident, identifier_subst(), TREE_CODE, and TYPE_NAME.
Referenced by build_constant_data_ref(), build_constants_constructor(), main(), and make_class_data().
Definition at line 558 of file class.c.
References add_interface_do(), BINFO_TYPE, error(), i, n, NULL_TREE, TREE_VEC_ELT, TREE_VEC_LENGTH, and TYPE_BINFO_BASETYPES.
Definition at line 1916 of file class.c.
References CLASS_FROM_SOURCE_P, CLASS_LOADED_P, load_class(), NULL_TREE, TREE_CODE, TREE_TYPE, and TYPE_SIZE.
Referenced by layout_class(), and layout_class_methods().
| static assume_compiled_node* find_assume_compiled_node PARAMS | ( | (assume_compiled_node *, const char *) | ) | [static] |
| static struct hash_entry* init_test_hash_newfunc PARAMS | ( | (struct hash_entry *, struct hash_table *, hash_table_key) | ) | [static, read] |
| static int assume_compiled PARAMS | ( | (const char *) | ) | [static, read] |
Definition at line 635 of file mips-tfile.c.
| static int32 hashUtf8String PARAMS | ( | (const char *, int) | ) | [static] |
Definition at line 334 of file class.c.
References build_decl, build_pointer_type(), CLASS_P, CLASS_TO_HANDLE_TYPE, DECL_ARTIFICIAL, DECL_SIZE, IDENTIFIER_POINTER, IDENTIFIER_SIGNATURE_TYPE, identifier_subst(), input_filename, integer_zero_node, lineno, pushdecl(), and pushdecl_top_level().
Referenced by lookup_class().
Definition at line 1898 of file class.c.
References build_decl, DECL_IGNORED_P, DECL_NAME, DECL_SIZE, DECL_SIZE_UNIT, NULL_TREE, TREE_CHAIN, TYPE_FIELDS, TYPE_SIZE, and TYPE_SIZE_UNIT.
Referenced by build_java_array_type(), java_init_decl_processing(), and layout_class().
| void register_class | ( | ) |
Definition at line 2155 of file class.c.
References build_class_ref(), copy_node, copy_rtx(), current_class, DECL_RTL, end, node, registered_class, TREE_CHAIN, TREE_OPERAND, and XEXP.
Referenced by finish_class().
Definition at line 416 of file class.c.
References ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, CLASS_ABSTRACT, CLASS_FINAL, CLASS_INTERFACE, CLASS_PRIVATE, CLASS_PROTECTED, CLASS_PUBLIC, CLASS_STATIC, CLASS_STRICTFP, and CLASS_SUPER.
Referenced by handle_innerclass_attribute(), and set_super_info().
Definition at line 789 of file class.c.
References DECL_FIELD_FINAL_IUD, DECL_INITIAL, DECL_NAME, error(), FIELD_FINAL, IDENTIFIER_POINTER, int_type_node, INTEGRAL_TYPE_P, NULL_TREE, string_ptr_type_node, TREE_TYPE, TYPE_PRECISION, utf8const_ptr_type, and warning.
Definition at line 389 of file class.c.
References BINFO_BASETYPES, BINFO_OFFSET, BINFO_TYPE, CLASS_HAS_SUPER, integer_zero_node, make_tree_vec, set_class_decl_access_flags(), TREE_VEC_ELT, TREE_VIA_PUBLIC, TYPE_BINFO, TYPE_BINFO_BASETYPES, and TYPE_NAME.
Referenced by build_java_array_type(), and java_init_decl_processing().
| tree unmangle_classname | ( | char * | name, | |
| int | name_length | |||
| ) | const |
Definition at line 314 of file class.c.
References ident_subst(), IDENTIFIER_POINTER, and QUALIFIED_P.
Referenced by alloc_class_constant(), build_jni_stub(), build_method_symbols_entry(), get_class_constant(), make_field_value(), make_method_value(), and parse_signature_type().
assume_compiled_node* assume_compiled_tree [static] |
tree class_roots[5] = { NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE } [static] |
rtx registerClass_libfunc [static] |
rtx registerResource_libfunc [static] |
| tree utf8_decl_list = NULL_TREE |
1.5.6