Tom Wood
3e676e9922
Initial revision
...
From-SVN: r4075
1993-04-10 01:03:51 +00:00
Tom Wood
2fb3112712
Add support for protocols, classes, and strings.
...
Add support for protocols, classes, and
strings. Update the runtime targets for the new GNU runtimes as
well as existing NeXT runtimes.
From-SVN: r4069
1993-04-09 23:12:37 +00:00
Tom Wood
e31c7eec77
*** empty log message ***
...
From-SVN: r4068
1993-04-09 23:12:37 +00:00
Mike Stump
d0d4af87cc
Added front-end taggint to object files.
...
From-SVN: r3874
1993-03-25 08:51:26 +00:00
Richard Kenner
f005288757
(build_objc_method_call, get_class_reference):
...
Call assemble_external on anything we are about to generate a call to.
(get_super_receiver): Likewise.
(handle_class_ref): Put constant in readonly-data section, not text.
(build_objc_symtab_template): Correctly build index type for 0-length array.
From-SVN: r3734
1993-03-14 17:21:33 -05:00
Richard Stallman
7bbc643254
(OBJC_GEN_METHOD_LABEL): Convert colons to _'s.
...
Don't use the category name or the number.
From-SVN: r3691
1993-03-10 07:19:29 +00:00
Michael Meissner
c3c03e50c0
Close #ifdef NEXT_OBJC_RUNTIME properly.
...
From-SVN: r3687
1993-03-09 16:32:42 +00:00
Richard Stallman
187e4b0f22
(really_start_method): Always use OBJC_GEN_METHOD_LABEL.
...
Pass method_slot as additional arg.
(OBJC_GEN_METHOD_LABEL): Add default definition.
From-SVN: r3677
1993-03-08 21:17:33 +00:00
Richard Stallman
d33edda78e
(handle_class_ref): Call assemble_external.
...
From-SVN: r3649
1993-03-04 21:20:14 +00:00
Richard Stallman
b16f586d98
(HASHFUNCTION): Insure nonnegative hash even if addresses are negative.
...
From-SVN: r3473
1993-02-15 07:18:09 +00:00
Richard Stallman
f79322f009
(init_objc): Use xrealoc, not realloc.
...
From-SVN: r3419
1993-02-03 23:23:22 +00:00
Doug Evans
8935266327
* (build_module_descriptor): fix call to start_function
...
From-SVN: r3397
1993-01-31 20:24:19 +00:00
Richard Stallman
e58232cd7b
Include objc-act.h.
...
From-SVN: r3272
1993-01-19 03:21:31 +00:00
Richard Stallman
25eddb2cc5
Comment change.
...
From-SVN: r3271
1993-01-19 03:20:52 +00:00
Richard Stallman
51480b1e3e
(encode_method_def): Null-terminate encoding.
...
(build_ivar_list_initializer): Null-terminate type encoding.
From-SVN: r3270
1993-01-19 03:18:50 +00:00
Paul Eggert
d09c632362
# Fix misspellings in comments.
...
From-SVN: r3190
1993-01-11 05:12:26 +00:00
Richard Stallman
c55dc79a59
(init_module_descriptor):
...
Use size_in_bytes to get size of `struct objc_module'.
From-SVN: r3168
1993-01-09 09:14:53 +00:00
Richard Stallman
80485a6d56
Rename decls for vars renamed to _objc_alloc, _objc_dealloc,
...
_objc_realloc, _objc_copy, _objc_error.
From-SVN: r3101
1993-01-05 19:55:35 +00:00
Richard Stallman
bc957254f8
Minor typographical changes.
...
From-SVN: r2913
1992-12-26 22:09:40 +00:00
Richard Stallman
b53241dce5
(build_encode_expr): Terminate the encode string with a null.
...
(encode_aggregate): Distinguish pointer to record from a
record. Output fields for record. Fix unions.
From-SVN: r2896
1992-12-19 09:04:47 +00:00
Richard Stallman
0e9934c8fc
(finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]:
...
Always call build_selector_translation_table.
From-SVN: r2895
1992-12-19 08:47:33 +00:00
Richard Stallman
61fab23682
(build_message_expr): Don't crash if super_type is 0.
...
From-SVN: r2723
1992-11-09 17:42:55 +00:00
Richard Stallman
66a35ceaa8
(build_message_expr): Use save_expr for receiver.
...
From-SVN: r2681
1992-11-03 08:12:39 +00:00
Richard Stallman
152551c656
(OBJC_SELECTORS_WITHOUT_LABELS): Define by default.
...
From-SVN: r2662
1992-10-31 20:41:23 +00:00
Richard Stallman
56358f7f02
Don't include gstdarg.h here.
...
From-SVN: r2641
1992-10-28 21:52:36 +00:00
Richard Stallman
012473fbc4
Include tconfig.h, not config.h.
...
Include gstdarg.h.
From-SVN: r2640
1992-10-28 21:52:01 +00:00
Richard Stallman
97d5530df4
(hash_ptr): Renamed from hash_int.
...
(compare_ptrs): Renamed from compare_ints.
Do not cast args to int; just compare.
From-SVN: r2611
1992-10-26 08:16:20 +00:00
Richard Stallman
c50dca4443
(handle_impent, handle_class_ref): Use __
...
to start the generated names, not period.
From-SVN: r2554
1992-10-22 12:30:09 +00:00
Richard Stallman
f6ba5fe9cc
(start_class): For an INTERFACE_TYPE, push to permanent obstack.
...
(build_message_expr): Use TYPE_MAIN_VARIANT when comparing types.
From-SVN: r2494
1992-10-17 01:37:08 +00:00
Richard Stallman
a4f6608ca2
Some comments and whitespace cleaned up. RCS headers removed.
...
Include gstddef.h and objc-proto.h.
Don't include objcP.h or objc-protoP.h.
Avoid use of u_int, etc. so no need for sys/types.h.
Adjust for change in node_table field data type.
Fix calls to DEBUG_PRINTF; no longer wants stream as arg.
From-SVN: r2456
1992-10-14 09:49:27 +00:00
Richard Stallman
437b93370d
(reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
...
(DEBUG_PRINT_REG): Define if not defined.
(print_rtx): Use DEBUG_PRINT_REG for hard regs.
(reg_name): Moved here.
Get rid of RCS headers. Fix up whitespace and comments.
Make key field and corresponding args `const void *'.
Don't use assert.
Get rid of spurious array-level in node_table field; make it void **.
Declare module_hash_table, class_hash_table.
(hash_int): Divide by sizeof (void *), not by 2**that minus 1.
From-SVN: r2455
1992-10-14 09:32:39 +00:00
Richard Stallman
584322a463
Removed due to issues
...
From-SVN: r2454
1992-10-14 09:29:26 +00:00
Richard Stallman
80b0e34e58
Fix indentation. Carry out renamings from hash.h.
...
Rename args and locals also.
From-SVN: r2193
1992-09-20 23:43:50 +00:00
Richard Stallman
d0bd180dfb
Fix indentation, clean up comments.
...
Rename structure fields and typedefs.
From-SVN: r2192
1992-09-20 23:42:24 +00:00
Richard Stallman
6072a4f54a
Changed some decls.
...
From-SVN: r2020
1992-09-02 02:04:32 +00:00
Richard Stallman
f847fb392d
Changed the format of various sections to conform with GNU standard.
...
Deleted dependencies on some header files.
Replaced the use of the functions from memory.h with funtions like bzero.
Changed the include format.
From-SVN: r2019
1992-09-02 01:59:40 +00:00
Dennis Glatting
c7d30f6625
minor documentation changes.
...
From-SVN: r2008
1992-08-31 14:15:02 -07:00
Dennis Glatting
893cc95830
minor documentation changes.
...
From-SVN: r2007
1992-08-31 14:09:15 -07:00
Dennis Glatting
4037e7bffb
minor documentation adjustments.
...
From-SVN: r2006
1992-08-31 13:47:29 -07:00
Richard Stallman
ed9eaf9bb8
(create_builtin_decl): Set TREE_STATIC.
...
Don't set DECL_EXTERNAL or TREE_PUBLIC.
From-SVN: r1997
1992-08-30 21:05:48 +00:00
Richard Stallman
741be22fac
(build_selector_translation_table): NULL-terminate the selector list.
...
(build_selector_translation_table): NULL-terminate the
selector list. Mark _OBJC_SELECTOR_REFERENCES_decl as static, not extern.
From-SVN: r1892
1992-08-19 02:49:35 +00:00
Dennis Glatting
2a425bd567
Saving a working version before release.
...
From-SVN: r1884
1992-08-17 21:46:58 -07:00
Richard Stallman
0924ddefb6
Renamed TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL.
...
to DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL.
From-SVN: r1570
1992-07-12 03:06:32 +00:00
Michael Meissner
f94b4fbc75
Remove xmalloc/free declarations
...
From-SVN: r1562
1992-07-12 01:56:28 +00:00
Michael Meissner
c724abee00
Fix call to build_int_2 to have 2 arguments.
...
From-SVN: r1536
1992-07-09 01:17:16 +00:00
Richard Stallman
1ae3f45f5b
(build_module_descriptor,add_objc_decls):
...
Set DECL_IN_SYSTEM_HEADER instead of TREE_USED on compiler-created decls.
From-SVN: r1493
1992-07-07 01:48:35 +00:00
Richard Stallman
9d00e77707
entered into RCS
...
From-SVN: r931
1992-05-07 06:41:25 +00:00
Richard Stallman
9dee6758c3
*** empty log message ***
...
From-SVN: r853
1992-04-28 23:43:21 +00:00
Richard Stallman
6e3f07241c
*** empty log message ***
...
From-SVN: r822
1992-04-23 02:20:18 +00:00
Richard Kenner
fc3ffe8309
*** empty log message ***
...
From-SVN: r754
1992-04-16 22:05:56 -04:00
Dennis Glatting
2db2bea5cb
Check in after array version of run-time works.
...
Expect more changes as hash version and other changes are made.
From-SVN: r734
1992-04-13 11:43:08 +00:00
Tom Wood
77f934bbbf
*** empty log message ***
...
From-SVN: r732
1992-04-13 10:58:19 +00:00
Richard Stallman
55142f01b2
*** empty log message ***
...
From-SVN: r575
1992-03-23 05:29:03 +00:00
Jim Wilson
b85b8af2c0
*** empty log message ***
...
From-SVN: r522
1992-03-19 10:40:36 -08:00
Richard Stallman
af35aeb289
*** empty log message ***
...
From-SVN: r497
1992-03-16 04:38:38 +00:00
Richard Stallman
b8093d0212
*** empty log message ***
...
From-SVN: r399
1992-03-06 03:15:07 +00:00
Richard Stallman
b3a5ad9cbd
*** empty log message ***
...
From-SVN: r326
1992-02-15 20:26:02 +00:00
Richard Stallman
6c65299b5e
Initial revision
...
From-SVN: r203
1992-01-17 23:15:38 +00:00
Dennis Glatting
ec04a5a3c9
modified to handle new initialization scheme.
...
fixed code structure.
From-SVN: r155
1992-01-03 02:55:03 +00:00
Dennis Glatting
94b8bab1ea
Deleted index variable stuff. Index variables are a hack to the language.
...
Cleaned up some documentation.
From-SVN: r149
1991-12-31 20:16:08 +00:00
Richard Stallman
02ba24b7f4
entered into RCS
...
From-SVN: r135
1991-12-24 04:01:31 +00:00
Dennis Glatting
eedb4710a6
Cleaned up file format for a distribution.
...
From-SVN: r111
1991-12-10 12:05:28 +00:00
Dennis Glatting
cb21dc2330
fixed assert macro.
...
added memory allocation adjustment macro for hash size allocation.
From-SVN: r96
1991-12-03 02:01:23 +00:00
Dennis Glatting
d17804d82a
modified to remove changes previously made to implement posing.
...
modified to remove changes previously made to
implement posing. posing just got easy.
From-SVN: r83
1991-12-01 01:29:29 +00:00
Dennis Glatting
b21c45844b
modified to implement set functions.
...
From-SVN: r81
1991-11-29 22:00:10 +00:00
Dennis Glatting
752efdc0a5
fixed several const decls. bozo.
...
From-SVN: r80
1991-11-29 20:02:01 +00:00
Dennis Glatting
3f2f181378
many changes including posing...
...
many changes including posing, things to make the compiler
happier, structure changes, and things to make it play better.
From-SVN: r79
1991-11-29 00:24:14 +00:00
Dennis Glatting
a46ecc2682
changed shorts back to ints.
...
the efficiency gained didn't out weight the grossness of the code.
From-SVN: r69
1991-11-24 01:20:02 +00:00
Dennis Glatting
c8497ed621
converted some entries in the hash structure from ints to shorts.
...
this was done to use a less expensive division instruction
in the hashIndex() routine.
From-SVN: r68
1991-11-23 22:19:21 +00:00
Dennis Glatting
b6793c3947
deleted hashIndex() and moved it to hash-inline.h converted...
...
deleted hashIndex() and moved it to hash-inline.h
converted hash_value_for_key() to a inline and moved it to hash-inline.h.
From-SVN: r67
1991-11-23 22:18:29 +00:00
Dennis Glatting
7e8ead54c2
changed hash value calculation.
...
func name changed from hashValue() to hashIndex(). the
func really calculated a index anyway.
changed hash func impl. essentually it was calculating a hash value
from a hash value. this is a implementation thing.
From-SVN: r66
1991-11-21 22:27:06 +00:00
Dennis Glatting
c97e400f30
deleted hash mask information from hash struct.
...
changed hashing algorithm. those values are no longer needed.
From-SVN: r65
1991-11-21 22:25:19 +00:00
Dennis Glatting
c13029bc88
converted hashValue() to a inline.
...
From-SVN: r64
1991-11-20 23:29:20 +00:00
Dennis Glatting
b1fc2c61e2
changed typedef and struct decls.
...
the run-time was changed and those decls changed too.
From-SVN: r63
1991-11-19 12:37:49 +00:00
Dennis Glatting
ddeb938e91
bug in hash_delete().
...
bug in hash_delete(). It was using void* to obtain nodes to
pass to hash_remove(). The value passed to hash_removed() is a
entry from the node structure rather than the node itself. Using
void* removed compiler checking.
Modified to implement cache expansion.
From-SVN: r62
1991-11-19 12:34:41 +00:00
Dennis Glatting
5b54889788
changed the defs for class structures for new implementation of run-time.
...
changed def of SEL back to its original type.
From-SVN: r61
1991-11-16 15:57:35 +00:00
Dennis Glatting
60cabde622
implemented hash table expansion as suggested by rms.
...
From-SVN: r59
1991-11-07 23:23:40 +00:00
Dennis Glatting
eed5ef66e7
added copyleft.
...
From-SVN: r58
1991-11-07 22:31:42 +00:00
Dennis Glatting
1e6464e0e4
added copyleft
...
From-SVN: r57
1991-11-07 22:30:54 +00:00
Dennis Glatting
4217c4568b
Initial check in. Preliminary development stage.
...
From-SVN: r46
1991-10-24 00:45:39 +00:00
Dennis Glatting
e545f2b026
Initial check in. Preliminary development stage.
...
From-SVN: r45
1991-10-24 00:19:24 +00:00
Richard Stallman
ec21bae226
entered into RCS
...
From-SVN: r25
1991-05-31 20:42:57 +00:00
Richard Stallman
430bcc173e
entered into RCS
...
From-SVN: r8
1990-03-24 21:05:55 +00:00