X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fppc%2Falloc.lisp;h=55c6df53aff6999fa29d4c1b8a8c86cea1869a7a;hb=935d6f6a696c2b0bff1c937cef346cb495e41999;hp=4f83b44cb0ff84036042d6a0f188fc629944ef79;hpb=3a0f3612dc2bbf3e4e8e7395bcbbf8cd1791b963;p=sbcl.git diff --git a/src/compiler/ppc/alloc.lisp b/src/compiler/ppc/alloc.lisp index 4f83b44..55c6df5 100644 --- a/src/compiler/ppc/alloc.lisp +++ b/src/compiler/ppc/alloc.lisp @@ -149,7 +149,6 @@ (inst lr temp (logior (ash (1- size) n-widetag-bits) closure-header-widetag)))) ;;; should this be closure-fun-slot instead of 0? (storew temp result 0 fun-pointer-lowtag) - (storew result result closure-self-slot fun-pointer-lowtag) (storew function result closure-fun-slot fun-pointer-lowtag))))) ;;; The compiler likes to be able to directly make value cells. @@ -173,6 +172,12 @@ (:generator 1 (inst li result unbound-marker-widetag))) +(define-vop (make-funcallable-instance-tramp) + (:args) + (:results (result :scs (any-reg))) + (:generator 1 + (inst lr result (make-fixup "funcallable_instance_tramp" :foreign)))) + (define-vop (fixed-alloc) (:args) (:info name words type lowtag)