Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/compiler/sparc64/macros.lisp
    ... ... @@ -133,8 +133,10 @@
    133 133
     (defmacro lisp-return (return-pc &key (offset 0) (frob-code t))
    
    134 134
       "Return to RETURN-PC."
    
    135 135
       `(progn
    
    136
    +     ;; 8 to skip over the lra object, and 4*offset to get to the
    
    137
    +     ;; right instruction since each instruction is 4 bytes long.
    
    136 138
          (inst j ,return-pc
    
    137
    -	   (- (* (1+ ,offset) word-bytes) other-pointer-type))
    
    139
    +	   (- (+ 8 (* ,offset 4)) other-pointer-type))
    
    138 140
          ,(if frob-code
    
    139 141
     	  `(move code-tn ,return-pc)
    
    140 142
     	  '(inst nop))))