Skip to content
Snippets Groups Projects
Commit 72d7f5a3 authored by ram's avatar ram
Browse files

In last fix, print position one-based, not zero-based.

parent 6f2d73d7
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/represent.lisp,v 1.23 1991/04/24 11:24:57 ram Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/represent.lisp,v 1.24 1991/04/24 11:27:45 ram Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -360,10 +360,10 @@
(template-name op-info)))
(arg-p (not (tn-ref-write-p op)))
(name (get-operand-name op-tn arg-p))
(pos (position-in #'tn-ref-across op
(if arg-p
(vop-args op-vop)
(vop-results op-vop)))))
(pos (1+ (position-in #'tn-ref-across op
(if arg-p
(vop-args op-vop)
(vop-results op-vop))))))
(compiler-note
"Doing ~A (cost ~D)~:[~2*~; ~:[to~;from~] ~S~], for:~%~6T~
The ~:R ~:[result~;argument~] of ~A."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment