Skip to content

Commit

Permalink
Fix "unable to stack-allocate"
Browse files Browse the repository at this point in the history
  • Loading branch information
snuglas committed Mar 17, 2018
1 parent 072661d commit a4fe12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/generic/target-core.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
(sb!vm:sanctify-for-execution code-obj)))

(defun apply-fasl-fixups (fop-stack code-obj &aux (top (svref fop-stack 0)))
(dx-let ((preserved (make-array 3 :initial-element nil)))
(dx-let ((preserved (vector nil nil nil)))
(macrolet ((pop-fop-stack () `(prog1 (svref fop-stack top) (decf top))))
(dotimes (i (pop-fop-stack) (setf (svref fop-stack 0) top))
(multiple-value-bind (offset kind flavor)
Expand All @@ -152,7 +152,7 @@

(defun apply-core-fixups (fixup-notes code-obj)
(declare (list fixup-notes))
(dx-let ((preserved (make-array 3 :initial-element nil)))
(dx-let ((preserved (vector nil nil nil)))
(dolist (note fixup-notes)
(let ((fixup (fixup-note-fixup note))
(offset (fixup-note-position note)))
Expand Down

0 comments on commit a4fe12d

Please sign in to comment.