summaryrefslogtreecommitdiffstats
path: root/gcc/objc
Commit message (Collapse)AuthorAgeFilesLines
...
* Respin DI support to be combine friendly; Allow push of SF without temp reg; ↵meissner1994-09-201-3/+1
| | | | | | Fix broken i386 untyped_call git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8098 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_init_protocols): Remove assertionkrab1994-09-071-0/+2
| | | | | | | , git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8031 138bc75d-0d04-0410-961f-82ee72b054a4
* (conformsTo:): Change implementati to allways use class to do lookup.krab1994-09-071-4/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8030 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_get_meta_class): New function.krab1994-08-291-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7997 138bc75d-0d04-0410-961f-82ee72b054a4
* (get_imp): don't inline on i386.krab1994-08-291-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7996 138bc75d-0d04-0410-961f-82ee72b054a4
* (build_selector_translation_table): Resetkrab1994-08-191-1/+3
| | | | | | | | | current_function_decl after hack_function_prototype build it. (build_module_descriptor): Return constructor name from functions decl_rtl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7944 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_sizeof_type): Assign from ROUND,krab1994-08-151-2/+18
| | | | | | | | | don't increment. Remove ; after while to fix infinite loop. Add float and double cases. (objc_alignof_type): Add float and double cases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7929 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/encoding.c (objc_sizeof_type): Should assign from ROUND,krab1994-08-151-3/+32
| | | | | | | | | | | | | | | not increment. Remove ; after while to fix infinite loop. Add support for floats and doubles. (objc_alignof_type): Add support for floats and doubles. * objc/selector.c (): Use __objc_selector_names, not __objc_selector_array. (sel_types_match): New function. (sel_get_typed_uid): Modified to use sel_types_match, so that we can get typed selectors in an architecture-independent way. Fixed strcmp that should have been !strcmp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7928 138bc75d-0d04-0410-961f-82ee72b054a4
* removed declaration of bzerokrab1994-07-281-3/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7805 138bc75d-0d04-0410-961f-82ee72b054a4
* (build_module_descriptor): Don't set DECL_EXTERNAL onwilson1994-07-211-1/+0
| | | | | | | current_function_decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7789 138bc75d-0d04-0410-961f-82ee72b054a4
* Include stdarg.h before stdio.h.kenner1994-07-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7757 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***krab1994-07-111-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7705 138bc75d-0d04-0410-961f-82ee72b054a4
* incremented objc_version iff using gnu runtime.krab1994-06-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7623 138bc75d-0d04-0410-961f-82ee72b054a4
* This patch makes selectors in the Objective-C language be pointerskrab1994-06-3015-420/+729
| | | | | | | | to a struct { void *sel_id, char *sel_types }, where the sel_types element is the type encoding of the method arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7622 138bc75d-0d04-0410-961f-82ee72b054a4
* (read:, write:, streamVersion:):krab1994-06-301-10/+8
| | | | | | | | Un-disable for alpha. (forward::, performv::): Declare and fix to return retval_t. . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7621 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc-act.c (get_proto_encoding, build_typed_selector_reference):krab1994-06-301-34/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | New fucnctions. (UTAG_PROTOCOL): New define. (objc_selector_template, flag_typed_selectors): New variables. (objc_init): set flag_typed_selectors if -fgnu-runtime. (synth_module_prologue): Change declaration of _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null. (build_module_descriptor): Make sure the generated constructor function is declared public. (build_selector): Only cast to SEL when not doing typed selectors. (build_selector_translation_table): Rewrite initialization. (build_tmp_function_decl): Make up new name when called, since it may now be called multiple times. (hack_method_prototype): Use init_function_start to reinit args machinery. Also set current_function_decl before calling assign_parms. (generate_protocols): Don't generate encoding twice. (build_selector_template): New function. (build_method_list_template): Generate (void*)0 as first element, not (int)0. (build_message_expr): move the call to build_selector_reference towards the end, where we have determined the function prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7620 138bc75d-0d04-0410-961f-82ee72b054a4
* (OBJC_O): Add encoding.o.kenner1994-04-161-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7049 138bc75d-0d04-0410-961f-82ee72b054a4
* Delete use of IN_GCC to control stddef.h/gstddef.h include.wilson1994-04-013-15/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6948 138bc75d-0d04-0410-961f-82ee72b054a4
* Change "gstddef.h" to <stddef.h>. Change "gstdarg.h" to <stdarg.h>.wilson1994-04-011-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6945 138bc75d-0d04-0410-961f-82ee72b054a4
* Change "gstdarg.h" to <stdarg.h>.wilson1994-04-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6944 138bc75d-0d04-0410-961f-82ee72b054a4
* (*.o): Add explicit dependencies for Sun's VPATH.dje1994-03-141-0/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6788 138bc75d-0d04-0410-961f-82ee72b054a4
* (SUBDIR_INCLUDES): Add -I for include directory.kenner1994-02-021-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6465 138bc75d-0d04-0410-961f-82ee72b054a4
* #ifdef out uses of TypedStream for the alpha, not supported yet.dje1994-01-242-2/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6426 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1993-12-121-0/+55
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6214 138bc75d-0d04-0410-961f-82ee72b054a4
* Include ctype.h.kenner1993-12-061-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6190 138bc75d-0d04-0410-961f-82ee72b054a4
* Include "tconfig.h" before "runtime.h".rms1993-11-181-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6112 138bc75d-0d04-0410-961f-82ee72b054a4
* (compare_strings): Check for null pointers.rms1993-11-051-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6014 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_read_string): Allocate string properly.rms1993-11-051-2/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6013 138bc75d-0d04-0410-961f-82ee72b054a4
* Include tconfig.h.rms1993-11-021-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5971 138bc75d-0d04-0410-961f-82ee72b054a4
* (check_methods_accessible): Fix bug in -Wno-protocol. Reset chain tokenner1993-10-291-0/+2
| | | | | | | bottom class for each search. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5927 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_read_object): Added declaration.krab1993-09-271-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5488 138bc75d-0d04-0410-961f-82ee72b054a4
* (-compare:, -shouldNotImplement:): Added.krab1993-09-222-0/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5399 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_write_type, objc_write_types): Takekrab1993-09-221-12/+12
| | | | | | | | take char** args for writing strings in stead of char* to match NeXT. Also correct some typos in error messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5398 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_read_string): Allocate n+1 chars instead of just n.krab1993-09-201-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5371 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkrab1993-08-242-0/+598
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5206 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_msg_sendv): Use new encoding facilities.krab1993-08-241-19/+15
| | | | | | | | | | (__objc_update_dispatch_table_for_class): Don't free dtable... (memory leak to make posing work) (__objc_update_dispatch_table_for_class): Free old dispatch table and install a new. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5205 138bc75d-0d04-0410-961f-82ee72b054a4
* (nil_method): Don't define it, import it from sendmsg.c.krab1993-08-241-30/+17
| | | | | | | (arglist_t): Data-definition changed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5204 138bc75d-0d04-0410-961f-82ee72b054a4
* (CLS_SETNUMBER): Clear old numberkrab1993-08-241-10/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5203 138bc75d-0d04-0410-961f-82ee72b054a4
* (class_pose_as): lazy copy dtables.krab1993-08-241-114/+96
| | | | | | | | #include sarray.h (class_pose_as): Rewritten git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5202 138bc75d-0d04-0410-961f-82ee72b054a4
* (-performv): Use new objc_msg_sendv.krab1993-08-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5201 138bc75d-0d04-0410-961f-82ee72b054a4
* (sendmsg.c, fflags, xforward): Targets removed;krab1993-08-241-16/+2
| | | | | | | | (OBJC_O): Added encoding.o; (OBJC_H): Added encoding.h, removed mutex.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5200 138bc75d-0d04-0410-961f-82ee72b054a4
* (offset_is_register): New variablekrab1993-08-241-68/+86
| | | | | | | | | | | | | | | (forwarding_offset): Use apply_args_register_offset to get register offset. (encode_method_def, encode_method_prototype): Prepend argument offset by '+' if passed in register. (apply_args_register_offset): Added declaration. (generate_method_descriptors, generate_ivar_lists, generate_dispatch_tables): Reorganized use of constructors. (build_descriptor_table_initializer, build_ivar_list_initializer, build_dispatch_table_initializer): Removed argument `int *size'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5199 138bc75d-0d04-0410-961f-82ee72b054a4
* (build_module_descriptor): Use new function get_file_function_name.bothner1993-08-121-43/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5137 138bc75d-0d04-0410-961f-82ee72b054a4
* (build_shared_structure_initializer):rms1993-08-011-66/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call default_conversion for NAME. (add_objc_string): Make an ADDR_EXPR to return. (init_objc_symtab): Make ADDR_EXPR for UOBJC_SELECTOR_TABLE_decl. Build all CONSTRUCTORs with types. (build_constructor): New function. All CONSTRUCTOR builds changed. (init_def_list, init_objc_symtab): New arg TYPE. (init_module_descriptor): Likewise. (init_objc_symtab): Pass TYPE arg to init_def_list. (generate_objc_symtab_decl): Pass TYPE arg to init_objc_symtab. (build_module_descriptor): Pass TYPE arg to init_module_descriptor. (build_descriptor_table_initializer): New arg TYPE. (generate_method_descriptors): Pass TYPE arg to build_descriptor_table_initializer. (generate_protocols): Pass TYPE arg to build_protocol_initializer. (uild_protocol_initializer): New arg TYPE. (build_ivar_list_initializer): New arg TYPE. (generate_ivar_lists): Pass TYPE arg to build_ivar_list_initializer. (build_dispatch_table_initializer): New arg TYPE. (generate_dispatch_tables): Pass TYPE arg to build_dispatch_table_initializer. (build_category_initializer): New arg TYPE. (build_shared_structure_initializer): New arg TYPE. (generate_category): Pass TYPE arg to build_category_initializer. (generate_shared_structures): Pass TYPE arg to build_shared_structure_initializer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5049 138bc75d-0d04-0410-961f-82ee72b054a4
* (synth_module_prologue): Call layout_type for the arrayrms1993-07-181-1/+3
| | | | | | | type used for _OBJC_SELECTOR_TABLE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4932 138bc75d-0d04-0410-961f-82ee72b054a4
* (encode_type_qualifiers): Add casts to enums in indices.rms1993-07-051-6/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4844 138bc75d-0d04-0410-961f-82ee72b054a4
* (encode_type): Add cases for DImode, encoded as 'q' and 'Q' respectively.rms1993-06-061-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4643 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_msg_sendv): Pass a dummy va_list, not 0, to objc_error.rms1993-06-051-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4631 138bc75d-0d04-0410-961f-82ee72b054a4
* (copy-headers): chmod the headers, not the dir.rms1993-06-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4625 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_init_protocols): Call recursivelyrms1993-05-231-7/+15
| | | | | | | on super protocols. Make local var `proto_class' static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4544 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud