projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix undefined function errors on PPC and MIPS.
[sbcl.git]
/
src
/
code
/
sc-offset.lisp
diff --git
a/src/code/sc-offset.lisp
b/src/code/sc-offset.lisp
index
1811dd6
..
0f20089
100644
(file)
--- a/
src/code/sc-offset.lisp
+++ b/
src/code/sc-offset.lisp
@@
-16,6
+16,9
@@
;;;; We represent the place where some value is stored with a SC-OFFSET,
;;;; which is the SC number and offset encoded as an integer.
;;;; We represent the place where some value is stored with a SC-OFFSET,
;;;; which is the SC number and offset encoded as an integer.
+;;;; FIXME: this layout is hardcoded in some .S files,
+;;;; undefined_tramp in at least ppc-assem.S and mips-assem.S uses it.
+;;;; Ideally, it shouldn't be hardcoded.
(defconstant-eqx sc-offset-scn-byte (byte 6 0) #'equalp)
(defconstant-eqx sc-offset-offset-byte (byte 21 6) #'equalp)
(def!type sc-offset () '(unsigned-byte 27))
(defconstant-eqx sc-offset-scn-byte (byte 6 0) #'equalp)
(defconstant-eqx sc-offset-offset-byte (byte 21 6) #'equalp)
(def!type sc-offset () '(unsigned-byte 27))