projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.12.37:
[sbcl.git]
/
src
/
compiler
/
x86
/
target-insts.lisp
diff --git
a/src/compiler/x86/target-insts.lisp
b/src/compiler/x86/target-insts.lisp
index
1b25231
..
c021af1
100644
(file)
--- 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
;;;; 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.
;;;; This software is part of the SBCL system. See the README file for
;;;; more information.
@@
-11,9
+15,6
@@
(in-package "SB!VM")
(in-package "SB!VM")
-(file-comment
- "$Header$")
-
(defun print-mem-access (value stream print-size-p dstate)
(declare (type list value)
(type stream stream)
(defun print-mem-access (value stream print-size-p dstate)
(declare (type list value)
(type stream stream)
@@
-46,6
+47,13
@@
(unless (or firstp (minusp offset))
(write-char #\+ stream))
(if firstp
(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))
(write-char #\] stream))