Skip to content

Commit

Permalink
Remove inlines
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzchak committed Jan 8, 2024
1 parent a000ae7 commit 4716b18
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/lisp/kernel/cleavir/inline.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -325,25 +325,6 @@
(symbol (fdefinition fdesignator))))
(declaim (ftype (function (t) function) core:coerce-to-function)))

;;; ------------------------------------------------------------
;;;
;;; Copied from clasp/src/lisp/kernel/lsp/pprint.lisp
;;; and put here so that the inline definition is available
;;;
(in-package "SI")

#-bytecode
(progn (declaim (inline index-posn posn-index posn-column))
(defun index-posn (index stream)
(declare (type index index) (type pretty-stream stream))
(+ index (pretty-stream-buffer-offset stream)))
(defun posn-index (posn stream)
(declare (type posn posn) (type pretty-stream stream))
(- posn (pretty-stream-buffer-offset stream)))
(defun posn-column (posn stream)
(declare (type posn posn) (type pretty-stream stream))
(index-column (posn-index posn stream) stream))

#+(or)
(eval-when (:execute)
(format t "Setting core:*echo-repl-read* to NIL~%")
Expand Down

0 comments on commit 4716b18

Please sign in to comment.