X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Falpha%2Falloc.lisp;h=96621a3553b53e2bd1e9c87b84a180ad57f5d895;hb=ef0891e470ff35840def7a5717ede18a58266e76;hp=85e82bd3f79f45724fdef37a92bb627933547287;hpb=acd7d81b37546ee1263c44b8027a2745c420d157;p=sbcl.git diff --git a/src/compiler/alpha/alloc.lisp b/src/compiler/alpha/alloc.lisp index 85e82bd..96621a3 100644 --- a/src/compiler/alpha/alloc.lisp +++ b/src/compiler/alpha/alloc.lisp @@ -12,11 +12,6 @@ (in-package "SB!VM") ;;;; LIST and LIST* -(defoptimizer (list stack-allocate-result) ((&rest args)) - (not (null args))) -(defoptimizer (list* stack-allocate-result) ((&rest args)) - (not (null (rest args)))) - (define-vop (list-or-list*) (:args (things :more t)) (:temporary (:scs (descriptor-reg) :type list) ptr) @@ -140,14 +135,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 result result closure-self-slot 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 +158,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