projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.31.22: improved SAP-{REF,SET}-* for x86-64
[sbcl.git]
/
src
/
code
/
target-sap.lisp
diff --git
a/src/code/target-sap.lisp
b/src/code/target-sap.lisp
index
13b5037
..
ae48346
100644
(file)
--- a/
src/code/target-sap.lisp
+++ b/
src/code/target-sap.lisp
@@
-41,7
+41,7
@@
;;; Return a new SAP, OFFSET bytes from SAP.
(defun sap+ (sap offset)
(declare (type system-area-pointer sap)
;;; Return a new SAP, OFFSET bytes from SAP.
(defun sap+ (sap offset)
(declare (type system-area-pointer sap)
- (fixnum offset))
+ (type (signed-byte #.sb!vm:n-word-bits) offset))
(sap+ sap offset))
;;; Return the byte offset between SAP1 and SAP2.
(sap+ sap offset))
;;; Return the byte offset between SAP1 and SAP2.