Skip to content

Commit

Permalink
Fix disassembly of parse-key-args
Browse files Browse the repository at this point in the history
  • Loading branch information
Bike committed Jul 13, 2024
1 parent b4903cd commit ffa1f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disassemble.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
finally (cl:return (values (list* (first desc) longp args) ip)))))

(defun %display-instruction (name longp args textify-operand)
(if (string= name "parse-key-args")
(if (string= name "PARSE-KEY-ARGS")
;; We special case this despite the keys-arg thing because it's
;; just pretty weird all around.
(let* ((more-start (second (first args)))
Expand All @@ -79,7 +79,7 @@
(keys (third args))
(framestart (second (fourth args))))
;; Print
(format t "~& ~:[~;long ~]~(~a~)~:[~;-aok~] ~d ~d '~s ~d"
(format t "~& ~:[~;long ~]~(~a~)~:[~;-aok~] ~d ~d ~a ~d"
longp name aokp more-start key-count
(funcall textify-operand keys key-count) framestart))
;; Normal case
Expand Down

0 comments on commit ffa1f24

Please sign in to comment.