projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.2.7:
[sbcl.git]
/
src
/
compiler
/
x86-64
/
target-insts.lisp
diff --git
a/src/compiler/x86-64/target-insts.lisp
b/src/compiler/x86-64/target-insts.lisp
index
5411762
..
8f48d18
100644
(file)
--- a/
src/compiler/x86-64/target-insts.lisp
+++ b/
src/compiler/x86-64/target-insts.lisp
@@
-61,12
+61,13
@@
(rip-p
(princ offset stream)
(let ((addr (+ offset (sb!disassem:dstate-next-addr dstate))))
(rip-p
(princ offset stream)
(let ((addr (+ offset (sb!disassem:dstate-next-addr dstate))))
- (or (nth-value 1
- (sb!disassem::note-code-constant-absolute
- addr dstate))
- (sb!disassem:maybe-note-assembler-routine addr
- nil
- dstate))))
+ (when (plusp addr)
+ (or (nth-value 1
+ (sb!disassem::note-code-constant-absolute
+ addr dstate))
+ (sb!disassem:maybe-note-assembler-routine addr
+ nil
+ dstate)))))
(firstp
(progn
(sb!disassem:princ16 offset stream)
(firstp
(progn
(sb!disassem:princ16 offset stream)