Change lots of global primitives to be defined as compound procedures.
authorChris Hanson <org/chris-hanson/cph>
Sun, 10 Feb 2008 06:14:19 +0000 (06:14 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 10 Feb 2008 06:14:19 +0000 (06:14 +0000)
commite5a7698c1f021908792368b23305332ede40cbbf
tree520beb3e0459bc6de3cbe7a1a26376b5e5606bc6
parent55eee87934ab8d9e1fca5ae24b2b2463cc0d6030
Change lots of global primitives to be defined as compound procedures.
The compiler will still open-code them appropriately when the appear
in the operator position.  However, this change means that
non-operator references to these primitives avoid passing a primitive
object around, which improves performance when the object is
eventually called.
18 files changed:
v7/src/runtime/boole.scm
v7/src/runtime/boot.scm
v7/src/runtime/char.scm
v7/src/runtime/fixart.scm
v7/src/runtime/gc.scm
v7/src/runtime/gcdemn.scm
v7/src/runtime/gentag.scm
v7/src/runtime/global.scm
v7/src/runtime/list.scm
v7/src/runtime/make.scm
v7/src/runtime/packag.scm
v7/src/runtime/random.scm
v7/src/runtime/record.scm
v7/src/runtime/runtime.pkg
v7/src/runtime/string.scm
v7/src/runtime/sysmac.scm
v7/src/runtime/uproc.scm
v7/src/runtime/vector.scm