X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Ftarget-insts.lisp;h=c021af1b2ec44e42e3263654abc66ee6e0eaff5f;hb=079ef9dad558ca07cb8178ef428bf738112174fa;hp=01ffe7cf3e1f86aa0d9e35da5c445cb210bb3b74;hpb=cea4896b2482b7b2b429c1631d774b4cfbc0efba;p=sbcl.git diff --git a/src/compiler/x86/target-insts.lisp b/src/compiler/x86/target-insts.lisp index 01ffe7c..c021af1 100644 --- a/src/compiler/x86/target-insts.lisp +++ b/src/compiler/x86/target-insts.lisp @@ -1,4 +1,8 @@ ;;;; target-only stuff from CMU CL's src/compiler/x86/insts.lisp +;;;; +;;;; i.e. stuff which was in CMU CL's insts.lisp file, but which in +;;;; the SBCL build process can't be compiled into code for the +;;;; cross-compilation host ;;;; This software is part of the SBCL system. See the README file for ;;;; more information. @@ -43,6 +47,13 @@ (unless (or firstp (minusp offset)) (write-char #\+ stream)) (if firstp - (sb!disassem:princ16 offset stream) - (princ offset stream)))))) + (progn + (sb!disassem:princ16 offset stream) + (or (minusp offset) + (nth-value 1 + (sb!disassem::note-code-constant-absolute offset dstate)) + (sb!disassem:maybe-note-assembler-routine offset + nil + dstate))) + (princ offset stream)))))) (write-char #\] stream))