Changeset 6304
- Timestamp:
- Apr 18, 2007, 4:34:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/x8664-call/ccl/compiler/X86/X8664/x8664-arch.lisp
r6292 r6304 1283 1283 `(ccl::%stack-block ((,buf ,size :clear t)) 1284 1284 ,@body))) 1285 1285 1286 ;;; an (lea (@ disp (% rip)) (% fn)) instruction following a tagged 1287 ;;; return address helps the runtime map from the return address to 1288 ;;; the containing function. That instuction is 7 bytes long: 3 1289 ;;; bytes of code followed by 4 bytes of displacement. The constant 1290 ;;; part of that - assuming that FN is R13 - looks like #x4c #x8d #x2d. 1291 1292 (defconstant recover-fn-from-rip-length 7) 1293 (defconstant recover-fn-from-rip-disp-offset 3) 1294 (defconstant recover-fn-from-rip-word0 #x8d4c) 1295 (defconstant recover-fn-from-rip-byte2 #x2d) 1286 1296 1287 1297
Note:
See TracChangeset
for help on using the changeset viewer.
