Add GENERAL-CAR-CDR to usual integrations.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 10 Feb 2019 04:26:40 +0000 (04:26 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 10 Feb 2019 04:26:40 +0000 (04:26 +0000)
The compiler explicitly calls this for every RTL accessor, so that
would explain why this primitive was turning up hot.  Should speed up
the compiler a little to avoid diving into microcoded primitives for
every attempt to get a piece out of an RTL expression during the RTL
passes!

src/sf/gconst.scm

index af2301a1b5040a425d6032e14206062436b6ef9f..9a2fbe7e6439b859eb9eb43ae9ea1f28c20d6d3c 100644 (file)
@@ -163,6 +163,7 @@ USA.
     (flo:vector-ref floating-vector-ref)
     (flo:vector-set! floating-vector-set!)
     (flo:zero? flonum-zero?)
+    (general-car-cdr general-car-cdr)
     (get-fixed-objects-vector get-fixed-objects-vector)
     (get-interrupt-enables get-interrupt-enables)
     (hunk3-cons hunk3-cons)