Implement primitive to allow linking variables that have different
authorChris Hanson <org/chris-hanson/cph>
Tue, 7 Aug 2001 01:27:17 +0000 (01:27 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 7 Aug 2001 01:27:17 +0000 (01:27 +0000)
commit6f60945a6b97a46f88bb79d85c6e719d3bd972bb
tree39c6f1b7da0ae59549b2b1b56675437d90923911
parentd1fa1bce86f75c1692cb0efc9b5bdad84c266332
Implement primitive to allow linking variables that have different
names.  (Previously, linked variables were required to have the same
name.)  This requires a major redesign of the cache data structures,
and since the garbage collector knows about these structures, all of
the garbage-collector files are affected too.  The new data structures
have slightly different space requirements: a cache with no references
uses one word less than previously, while a cache with references uses
three words more than previously (independent of the number of
references).

This change requires Runtime 14.190 or later.
17 files changed:
v7/src/microcode/bchdmp.c
v7/src/microcode/bchgcl.c
v7/src/microcode/bintopsb.c
v7/src/microcode/cmpint.c
v7/src/microcode/fasdump.c
v7/src/microcode/fasload.c
v7/src/microcode/gccode.h
v7/src/microcode/gcloop.c
v7/src/microcode/lookprm.c
v7/src/microcode/lookup.c
v7/src/microcode/lookup.h
v7/src/microcode/psbmap.h
v7/src/microcode/psbtobin.c
v7/src/microcode/purify.c
v7/src/microcode/sdata.h
v7/src/microcode/trap.h
v7/src/microcode/types.h