projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.28.38: undefined warning and compilation unit summary tweaking
[sbcl.git]
/
src
/
compiler
/
x86-64
/
insts.lisp
diff --git
a/src/compiler/x86-64/insts.lisp
b/src/compiler/x86-64/insts.lisp
index
fdf8ad7
..
ae0f2b8
100644
(file)
--- a/
src/compiler/x86-64/insts.lisp
+++ b/
src/compiler/x86-64/insts.lisp
@@
-1234,7
+1234,7
@@
(emit-mod-reg-r/m-byte segment #b11 reg (reg-tn-encoding thing)))
(stack
;; Convert stack tns into an index off RBP.
(emit-mod-reg-r/m-byte segment #b11 reg (reg-tn-encoding thing)))
(stack
;; Convert stack tns into an index off RBP.
- (let ((disp (- (* (1+ (tn-offset thing)) n-word-bytes))))
+ (let ((disp (frame-byte-offset (tn-offset thing))))
(cond ((<= -128 disp 127)
(emit-mod-reg-r/m-byte segment #b01 reg #b101)
(emit-byte segment disp))
(cond ((<= -128 disp 127)
(emit-mod-reg-r/m-byte segment #b01 reg #b101)
(emit-byte segment disp))