mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
* lisp/emacs-lisp/comp.el (comp-sp): Better style gv-setter declaration.
This commit is contained in:
parent
a3dc11e9cc
commit
2da2ad29b8
@ -810,9 +810,9 @@ Points to the next slot to be filled.")
|
||||
|
||||
(defsubst comp-sp ()
|
||||
"Current stack pointer."
|
||||
(declare (gv-setter (lambda (val)
|
||||
`(setf (comp-limplify-sp comp-pass) ,val))))
|
||||
(comp-limplify-sp comp-pass))
|
||||
(gv-define-setter comp-sp (value)
|
||||
`(setf (comp-limplify-sp comp-pass) ,value))
|
||||
|
||||
(defmacro comp-with-sp (sp &rest body)
|
||||
"Execute BODY setting the stack pointer to SP.
|
||||
|
Loading…
Reference in New Issue
Block a user