From 614c72b3ff3a1235e9fadae468e2c515c1bab64c Mon Sep 17 00:00:00 2001 From: Douglas Katzman Date: Wed, 15 Nov 2017 20:49:53 -0500 Subject: [PATCH] Remove single use function, revise comment, fix inlining failure --- src/compiler/target-disassem.lisp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/compiler/target-disassem.lisp b/src/compiler/target-disassem.lisp index 634d25fe5..7ca94b4b8 100644 --- a/src/compiler/target-disassem.lisp +++ b/src/compiler/target-disassem.lisp @@ -43,11 +43,6 @@ (declare (type list insts)) (sort insts #'> :key #'specializer-rank)) -(defun specialization-error (insts) - (bug - "~@" - insts)) - ;;; Given a list of instructions INSTS, Sees if one of these instructions is a ;;; more general form of all the others, in which case they are put into its ;;; specializers list, and it is returned. Otherwise an error is signaled. @@ -62,7 +57,8 @@ (return) ; exit the inner loop ))) (cond ((null masters) - (specialization-error insts)) + (bug "~@" + insts)) ((cdr masters) (error "multiple specializing masters: ~S" masters)) (t @@ -225,10 +221,10 @@ ;;; Function header layout (dual word aligned): ;;; header-word ;;; self pointer -;;; next pointer (next function header) ;;; name ;;; arglist ;;; type +;;; info ;;; ;;; LRA layout (dual word aligned): ;;; header-word @@ -1007,7 +1003,6 @@ ;;; Return non-NIL if any bit in MASK ;;; is in the set of instruction properties in DSTATE. -(declaim (inline dstate-getprop)) (defun dstate-getprop (dstate mask) (logtest mask (dstate-inst-properties dstate))) -- 2.11.4.GIT