X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Fvm-tran.lisp;h=2542c12cb224d5e4f03a6a299e64bdcddacd8584;hb=d83c8a160b4215cfc5379dd4fb70c9589a428ae0;hp=06009ee8e2059555632f2a856def0c6b5e2bc50c;hpb=f1ffbf976aaa50b7b22f126b97e34afe06a91210;p=sbcl.git diff --git a/src/compiler/generic/vm-tran.lisp b/src/compiler/generic/vm-tran.lisp index 06009ee..2542c12 100644 --- a/src/compiler/generic/vm-tran.lisp +++ b/src/compiler/generic/vm-tran.lisp @@ -32,6 +32,10 @@ `(truly-the layout (%instance-ref ,x 0))) (define-source-transform %set-instance-layout (x val) `(%instance-set ,x 0 (the layout ,val))) +(define-source-transform %funcallable-instance-layout (x) + `(truly-the layout (%funcallable-instance-info ,x 0))) +(define-source-transform %set-funcallable-instance-layout (x val) + `(setf (%funcallable-instance-info ,x 0) (the layout ,val))) ;;;; character support