Open coding of primitives: flesh out the type and range checking,
authorChris Hanson <org/chris-hanson/cph>
Sat, 21 Jan 1989 09:12:29 +0000 (09:12 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sat, 21 Jan 1989 09:12:29 +0000 (09:12 +0000)
commit40f77c402486900fdcc7021aec14069424e753d9
treeb0cb3d6e198032bcfa808cfa50f9ea652a5b7d96
parent9bc7fc6b1dca6aa8e7602f584da4cb987c3e4b8f
Open coding of primitives: flesh out the type and range checking,
which was previously a little spotty (e.g. general-car-cdr had no type
checking).  Improve handling of `string-ref' and `string-set!' so that
they inline code in the computed index case.  Flush inline coding of
`char->ascii', which was incorrect anyway since it didn't check to see
if the character was in the ASCII range.
v7/src/compiler/rtlgen/opncod.scm