X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fcompiler%2Falpha%2Falloc.lisp;h=878fd58d687d0b387b7f8fffc3b3e627622fbae0;hb=5d04a95274c9ddaebbcd6ddffc5d646e2c25598c;hp=78c3b89c0debc51749851cd9aa095ec9ad293b5c;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/src/compiler/alpha/alloc.lisp b/src/compiler/alpha/alloc.lisp index 78c3b89..878fd58 100644 --- a/src/compiler/alpha/alloc.lisp +++ b/src/compiler/alpha/alloc.lisp @@ -127,7 +127,6 @@ (:info length stack-allocate-p) (:temporary (:scs (non-descriptor-reg)) temp) (:results (result :scs (descriptor-reg))) - (:node-var node) (:generator 10 (let* ((size (+ length closure-info-offset)) (alloc-size (pad-data-block size))) @@ -141,13 +140,15 @@ (inst lda csp-tn alloc-size csp-tn)) (t (inst bis alloc-tn fun-pointer-lowtag result))) - (storew temp result 0 fun-pointer-lowtag)) - (storew function result closure-fun-slot fun-pointer-lowtag)))) + (storew temp result 0 fun-pointer-lowtag) + (storew function result closure-fun-slot fun-pointer-lowtag))))) ;;; The compiler likes to be able to directly make value cells. (define-vop (make-value-cell) (:args (value :to :save :scs (descriptor-reg any-reg null zero))) (:temporary (:scs (non-descriptor-reg)) temp) + (:info stack-allocate-p) + (:ignore stack-allocate-p) (:results (result :scs (descriptor-reg))) (:generator 10 (with-fixed-allocation @@ -162,10 +163,16 @@ (:generator 1 (inst li unbound-marker-widetag result))) +(define-vop (make-funcallable-instance-tramp) + (:args) + (:results (result :scs (any-reg))) + (:generator 1 + (inst li (make-fixup "funcallable_instance_tramp" :foreign) result))) + (define-vop (fixed-alloc) (:args) - (:info name words type lowtag) - (:ignore name) + (:info name words type lowtag stack-allocate-p) + (:ignore name stack-allocate-p) (:results (result :scs (descriptor-reg))) (:temporary (:scs (non-descriptor-reg)) temp) (:generator 4