[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp b7f3624 3/7: * Rename comp-emit-set-const -> comp-em
From: |
Andrea Corallo |
Subject: |
feature/native-comp b7f3624 3/7: * Rename comp-emit-set-const -> comp-emit-setimm |
Date: |
Sun, 1 Mar 2020 14:41:56 -0500 (EST) |
branch: feature/native-comp
commit b7f36249246a8f80924806593afcf55ab3baca2a
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>
* Rename comp-emit-set-const -> comp-emit-setimm
---
lisp/emacs-lisp/comp.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 3c993c5..6ad9706 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -679,7 +679,7 @@ If DST-N is specified use it otherwise assume it to be the
current slot."
"Emit annotation STR."
(comp-emit `(comment ,str)))
-(defun comp-emit-set-const (val)
+(defun comp-emit-setimm (val)
"Set constant VAL to current slot."
(let ((rel-idx (comp-add-const-to-relocs val)))
(cl-assert (numberp rel-idx))
@@ -1086,7 +1086,7 @@ the annotation emission."
(cl-second (comp-block-insns
(comp-limplify-curr-block comp-pass)))))
(byte-constant
- (comp-emit-set-const arg))
+ (comp-emit-setimm arg))
(byte-discardN-preserve-tos
(cl-incf (comp-sp) (- arg))
(comp-copy-slot (+ arg (comp-sp)))))))
@@ -1112,7 +1112,7 @@ the annotation emission."
(intern (format "entry_fallback_%s" (1+ i))))
do (comp-with-sp i
(comp-make-curr-block bb (comp-sp))
- (comp-emit-set-const nil)
+ (comp-emit-setimm nil)
(comp-emit `(jump ,next-bb)))))
(comp-make-curr-block 'entry_rest_args (comp-sp))
(comp-emit `(set-rest-args-to-local ,(comp-slot-n nonrest)))
@@ -1675,7 +1675,7 @@ Here goes everything that can be done not iteratively
(read once).
;; is now left to gcc, to be implemented only if we want a
;; reliable diagnostic here.
(let ((values (apply f (mapcar #'comp-mvar-constant args))))
- ;; See `comp-emit-set-const'.
+ ;; See `comp-emit-setimm'.
(setf (car insn) 'setimm
(cddr insn) (list (comp-add-const-to-relocs values) values))))))
- feature/native-comp updated (86cc937 -> 0cef208), Andrea Corallo, 2020/03/01
- feature/native-comp 62384df 2/7: * Reduce stack depth while marking native compiled subrs, Andrea Corallo, 2020/03/01
- feature/native-comp b7f3624 3/7: * Rename comp-emit-set-const -> comp-emit-setimm,
Andrea Corallo <=
- feature/native-comp 0cef208 7/7: * Reorganize passes, Andrea Corallo, 2020/03/01
- feature/native-comp b41d76f 5/7: Remove relocation index form LIMPLE setimm, Andrea Corallo, 2020/03/01
- feature/native-comp f60cb02 6/7: * Allow for multiple SSA runs, Andrea Corallo, 2020/03/01
- feature/native-comp 5543338 4/7: Optimize relocation classes for object duplication, Andrea Corallo, 2020/03/01
- feature/native-comp 6664f98 1/7: Merge remote-tracking branch 'savannah/master' into HEAD, Andrea Corallo, 2020/03/01