1.0.9.14: Marginally improved VOPs, and a bit of code cleanup.
[sbcl.git] / src / compiler / mips / alloc.lisp
index d0f21a3..8b1cff9 100644 (file)
@@ -10,7 +10,6 @@
 ;;;; files for more information.
 
 (in-package "SB!VM")
-
 \f
 ;;;; LIST and LIST*
 (defoptimizer (list stack-allocate-result) ((&rest args))
@@ -80,7 +79,6 @@
 
 (define-vop (list* list-or-list*)
   (:variant t))
-
 \f
 ;;;; Special purpose inline allocators.
 
         (inst li temp (logior (ash (1- size) n-widetag-bits)
                               closure-header-widetag))
         (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.
-;;;
 (define-vop (make-value-cell)
   (:args (value :to :save :scs (descriptor-reg any-reg null zero)))
   (:temporary (:scs (non-descriptor-reg)) temp)
   (:temporary (:sc non-descriptor-reg :offset nl4-offset) pa-flag)
+  (:info stack-allocate-p)
+  (:ignore stack-allocate-p)
   (:results (result :scs (descriptor-reg)))
   (:generator 10
     (with-fixed-allocation (result pa-flag temp value-cell-header-widetag value-cell-size)
   (:generator 1
     (inst li result unbound-marker-widetag)))
 
+(define-vop (make-funcallable-instance-tramp)
+  (:args)
+  (:results (result :scs (any-reg)))
+  (:generator 1
+    (inst li result (make-fixup "funcallable_instance_tramp" :foreign))))
+
 (define-vop (fixed-alloc)
   (:args)
   (:info name words type lowtag)