Richard Kenner
9f26926521
(union sversion): New.
...
(struct sarray): Maintain multiple versions.
(sarray_remove_garbage): Add prototype.
From-SVN: r11446
1996-03-05 09:11:25 -05:00
Richard Kenner
1ebb5fcc64
(sarray_{remove,free}_garbage): New functions.
...
(sarray_at_put, sarray_new, sarray_lazy_copy):
Modify/copy sarray structure/data in a thread-safe manner
(sarray_{realloc,free}): Reallocate/free sarray structure/data in a
thread-safe manner.
From-SVN: r11445
1996-03-05 09:10:50 -05:00
Richard Kenner
54d643f6f2
Include objc/thread.h.
...
From-SVN: r11444
1996-03-05 09:10:10 -05:00
Richard Kenner
691466c0b5
Update comments.
...
From-SVN: r11443
1996-03-05 09:09:10 -05:00
Richard Kenner
aef85e6a98
(__objc_runtime_mutux, __objc_runtime_thread_alive): New variables.
...
(objc_init_statics, __objc_init_protocols): Surround sarray access
with mutex lock/unlock
(__objc_exec_class): Likewise.
Initialization for thread-safe global variables.
Declarations for thread-safe functions and global variables
From-SVN: r11442
1996-03-05 09:07:56 -05:00
Richard Kenner
53cc7066b8
(__objc_init_class_tables): Surround sarray access with mutex lock/unlock.
...
(__objc_add_class_to_hash, objc_lookup_class): Likewise.
(objc_get_class, objc_get_next_class): Likweise.
(__objc_resolve_class_links, class_pose_as) Likewise.
From-SVN: r11441
1996-03-05 09:06:45 -05:00
Richard Kenner
625fc99df2
Changes to compile new files and name renaming.
...
From-SVN: r11440
1996-03-05 09:06:02 -05:00
Richard Kenner
605bf7304d
(objc_{write,read}_type, case _C_STRUCT_B): Fix typo.
...
From-SVN: r10990
1996-01-15 12:31:49 -05:00
Richard Kenner
3ea4ff2e26
(objc_alignof_type): Handle _C_PTR case.
...
From-SVN: r10807
1995-12-18 19:31:18 -05:00
Richard Kenner
fb3ba99d63
(objc_alignof_type): Handle _C_PTR case.
...
From-SVN: r10723
1995-12-14 18:13:16 -05:00
Richard Kenner
c0cacfd5a5
Changed archive command for libobjc.a to use $? for objects.
...
From-SVN: r10332
1995-09-12 17:40:04 -04:00
Richard Kenner
abc95ed36d
Fix spelling errors.
...
From-SVN: r10289
1995-08-28 06:54:22 -04:00
Richard Kenner
682d017157
objc-api.h (sel_get_any_typed_uid): Declare new function.
...
From-SVN: r10234
1995-08-13 21:47:53 -04:00
Richard Kenner
8b4d4a9da8
(sel_get_any_typed_uid): New function.
...
From-SVN: r10233
1995-08-13 21:47:34 -04:00
Richard Kenner
66759bfbb7
Change FSF address.
...
From-SVN: r9990
1995-06-15 17:07:30 -04:00
Richard Kenner
ed2ecfcbc9
Update header.
...
From-SVN: r9989
1995-06-15 17:07:13 -04:00
Richard Kenner
de18aff348
Change FSF address.
...
From-SVN: r9988
1995-06-15 17:06:59 -04:00
Richard Kenner
0af195cf99
Update FSF address.
...
From-SVN: r9972
1995-06-15 08:55:05 -04:00
Richard Kenner
4c38e45bc6
Update header.
...
From-SVN: r9971
1995-06-15 08:44:50 -04:00
Richard Kenner
84c09f78a1
Update FSF address.
...
From-SVN: r9970
1995-06-15 08:44:04 -04:00
Richard Kenner
701a1e6342
Update header.
...
From-SVN: r9969
1995-06-15 08:37:49 -04:00
Richard Kenner
6bc06b8f99
Update FSF address.
...
From-SVN: r9968
1995-06-15 08:37:21 -04:00
Richard Kenner
7f3ebb7ba9
Update header.
...
From-SVN: r9963
1995-06-15 07:54:51 -04:00
Richard Kenner
890edadebf
Update FSF address.
...
From-SVN: r9962
1995-06-15 07:54:32 -04:00
Richard Kenner
f7ca2fe71e
(hack_method_prototype): Set DECL_CONTEXT of parms.
...
From-SVN: r9953
1995-06-14 17:32:36 -04:00
Richard Kenner
0763f3ab57
(build_module_descriptor, really_start_method): Pass extra parm to
...
start_function.
From-SVN: r9945
1995-06-14 08:08:06 -04:00
Richard Kenner
2d2af5169d
(PRECOMPUTE_SELECTORS, struct soffset): Use #ifdef __sparc__, not
...
sparc.
From-SVN: r9821
1995-05-25 17:27:36 -04:00
Richard Kenner
51900510d2
Numerous formatting changes.
...
(NULLT): Deleted; all uses changed to NULL_TREE.
(get_{static,object}_reference, objc_add_static_instance):
Use push_obstacks instead of saving obstacks manually.
(build_{selector,class}_reference_decl): Likewise.
(build_objc_string_decl, build_protocol_reference): Likewise.
(comp_{method,proto}_with_proto): Likewise.
(create_builtin_decl, synth_module_prologue): Set DECL_ARTIFICIAL for internal
objects.
(build_{selector,class}_reference_decl, add_objc_decls): Likewise.
(generate_objc_symtab_decl, build_module_descriptor): Likewise.
(build_protocol_reference): Likewise.
(build_objc_string_decl, synch_forward_declarations): Likewise.
Delete call to end_temporary_allocation.
(generate_static_references, generate_strings): Likewise.
(build_selector_translation_table, generate_category): Likewise.
(generate_{ivars,protocol}_list, build_protocol_reference): Likewise.
(build_objc_string_object): If next_runtime, put everything in
permanent obstack.
(objc_add_static_instance): Use build_decl instead of start_decl
and finish_decl_top_level.
(build_{class_reference,objc_string}_decl): Clear DECL_CONTEXT.
(start_class): Exit with FATAL_EXIT_CODE, not 1.
(add_objc_decls): Don't set DECL_IN_SYSTEM_HEADER.
From-SVN: r9764
1995-05-22 17:02:40 -04:00
Richard Kenner
bbcffef3ad
(struct sarray): Make capacity size_t.
...
From-SVN: r9722
1995-05-16 17:46:53 -04:00
Richard Kenner
2b61d00a8b
(sarray_realloc): Make array index variables size_t.
...
From-SVN: r9721
1995-05-16 17:46:42 -04:00
Richard Kenner
2c89fb2e66
(__objc_write_class): Write class version.
...
(__objc_write_selector, objc_{write,read}_selector): Handle null selector.
From-SVN: r9720
1995-05-16 17:46:23 -04:00
Richard Kenner
9faa82d8c0
Fix typos in comments.
...
From-SVN: r9712
1995-05-16 08:39:54 -04:00
Richard Kenner
8e3dc5f661
(__objc_init_install_dtable): Fix misspelling in name of local label
...
`already_initialized'.
From-SVN: r9708
1995-05-16 07:09:02 -04:00
Richard Kenner
73bddf80d5
entered into RCS
...
From-SVN: r9700
1995-05-15 23:12:15 -04:00
Richard Kenner
0ad228e654
(start_method_def): Mark _self as possibly unused.
...
From-SVN: r9683
1995-05-14 11:38:31 -04:00
Richard Kenner
fc55cc66b2
(unused_list): New variable.
...
(build_tmp_function_decl): Call push_parm_decl with new format.
(start_class): Initialize unused_list.
(start_method_def): Call push_parm_decl with new format and mark _cmp as
possibly unused.
From-SVN: r9658
1995-05-12 15:54:00 -04:00
Richard Kenner
df27f225b7
(objc_init_statics): Fix missing part of last change.
...
From-SVN: r9604
1995-05-09 19:11:43 -04:00
Richard Kenner
a142e7ccfe
(__objc_send_initialize): Call superclass if object does not implement
...
+initialize.
From-SVN: r9597
1995-05-09 11:44:43 -04:00
Richard Kenner
a4137a04de
(_objc_load_callback): Add declaration.
...
From-SVN: r9593
1995-05-08 18:13:53 -04:00
Richard Kenner
d8a55d0960
(_objc_load_callback): Add declaration.
...
(__objc_exec_class): Call _objc_load_callback after every Class or Category
is added.
From-SVN: r9592
1995-05-08 18:13:33 -04:00
Richard Kenner
3ce88d8f5c
(SHELL): Now /bin/sh.
...
From-SVN: r9582
1995-05-05 16:54:10 -04:00
Doug Evans
5a1f85b4f3
NXConstantString.h renamed to NXConstStr.h.
...
From-SVN: r9579
1995-05-05 17:32:07 +00:00
Richard Kenner
48b2b6676f
NXConstantString renamed to NXConstStr.
...
From-SVN: r9575
1995-05-04 18:01:21 -04:00
Doug Evans
f4f2475387
(*): Update calls to start_decl, finish_struct (pass NULLs for attributes).
...
From-SVN: r9528
1995-04-28 05:07:47 +00:00
Richard Kenner
4cb8c14b60
(OBJC_VERSION): Version 7.
...
(build_objc_string_object): Build a full declaration if not using the next
runtime.
(objc_add_static_instance): New function.
(init_module_descriptor): Add reference to static instances table.
(build_module_descriptor): Add field for static instances table.
(get_objc_string_decl): New function.
(generate_static_references): New function.
(finish_objc): Call generate_static_references if needed.
From-SVN: r9500
1995-04-26 19:18:37 -04:00
Richard Kenner
0994488a6b
Changed Class * to Class in order to match NEXTSTEP and OpenStep
...
runtime.
From-SVN: r9497
1995-04-26 19:16:05 -04:00
Richard Kenner
bc1f3f7791
(OBJC_O): Added bare-bones implementation of NXConstantString.
...
From-SVN: r9496
1995-04-26 19:08:38 -04:00
Richard Kenner
f76bab0219
Initial revision
...
From-SVN: r9495
1995-04-26 19:08:15 -04:00
Richard Kenner
4426bf3fe6
Changed Class * to Class in order to match NEXTSTEP and OpenStep runtime.
...
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
(OBJC_VERSION): Version 7.
(objc_init_statics): New function.
(__objc_exec_class): Invoke objc_init_statics if needed.
From-SVN: r9494
1995-04-26 19:07:00 -04:00
Richard Kenner
e35ec8520b
Changed Class * to Class in order to match NEXTSTEP and OpenStep runtime.
...
Changed Class * to Class in order to match NEXTSTEP and OpenStep
runtime.
(objc_static_instances): New struct to record static instances of a certain
class.
(objc_module): New tag STATICS to point to the table of objc_statics_instances.
From-SVN: r9493
1995-04-26 19:05:45 -04:00