From: Nathan Froyd Date: Sat, 8 Jul 2006 20:28:41 +0000 (+0000) Subject: 0.9.14.10: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=1751080c69017dfa4d814b20dbed88d9f93701a4;p=sbcl.git 0.9.14.10: s/DO-/EMIT-/ in some IR2 translation functions. --- diff --git a/src/compiler/generic/vm-ir2tran.lisp b/src/compiler/generic/vm-ir2tran.lisp index 1ca4e97..2c9320e 100644 --- a/src/compiler/generic/vm-ir2tran.lisp +++ b/src/compiler/generic/vm-ir2tran.lisp @@ -32,7 +32,7 @@ name offset lowtag) (move-lvar-result node block (list value-tn) (node-lvar node)))) -(defun do-inits (node block name result lowtag inits args) +(defun emit-inits (node block name result lowtag inits args) (let ((unbound-marker-tn nil)) (dolist (init inits) (let ((kind (car init)) @@ -55,7 +55,7 @@ name slot lowtag)))) (aver (null args))) -(defun do-fixed-alloc (node block name words type lowtag result) +(defun emit-fixed-alloc (node block name words type lowtag result) (vop fixed-alloc node block name words type lowtag result)) (defoptimizer ir2-convert-fixed-allocation @@ -64,8 +64,8 @@ (locs (lvar-result-tns lvar (list *backend-t-primitive-type*))) (result (first locs))) - (do-fixed-alloc node block name words type lowtag result) - (do-inits node block name result lowtag inits args) + (emit-fixed-alloc node block name words type lowtag result) + (emit-inits node block name result lowtag inits args) (move-lvar-result node block locs lvar))) (defoptimizer ir2-convert-variable-allocation @@ -76,10 +76,10 @@ (result (first locs))) (if (constant-lvar-p extra) (let ((words (+ (lvar-value extra) words))) - (do-fixed-alloc node block name words type lowtag result)) + (emit-fixed-alloc node block name words type lowtag result)) (vop var-alloc node block (lvar-tn node block extra) name words type lowtag result)) - (do-inits node block name result lowtag inits args) + (emit-inits node block name result lowtag inits args) (move-lvar-result node block locs lvar))) ;;; :SET-TRANS (in objdef.lisp DEFINE-PRIMITIVE-OBJECT) doesn't quite diff --git a/src/compiler/ir2tran.lisp b/src/compiler/ir2tran.lisp index 777121f..2963865 100644 --- a/src/compiler/ir2tran.lisp +++ b/src/compiler/ir2tran.lisp @@ -46,13 +46,8 @@ ;;; Allocate an indirect value cell. Maybe do some clever stack ;;; allocation someday. -;;; -;;; FIXME: DO-MAKE-VALUE-CELL is a bad name, since it doesn't make -;;; clear what's the distinction between it and the MAKE-VALUE-CELL -;;; VOP, and since the DO- further connotes iteration, which has -;;; nothing to do with this. Clearer, more systematic names, anyone? (defevent make-value-cell-event "Allocate heap value cell for lexical var.") -(defun do-make-value-cell (node block value res) +(defun emit-make-value-cell (node block value res) (event make-value-cell-event node) (vop make-value-cell node block value res)) @@ -714,7 +709,7 @@ (let ((src (lvar-tn node block arg)) (dest (leaf-info var))) (if (lambda-var-indirect var) - (do-make-value-cell node block src dest) + (emit-make-value-cell node block src dest) (emit-move node block src dest))))) (lambda-vars fun) (basic-combination-args node)) (values)) @@ -748,7 +743,7 @@ ((lambda-var-indirect var) (let ((temp (make-normal-tn *backend-t-primitive-type*))) - (do-make-value-cell node block actual temp) + (emit-make-value-cell node block actual temp) (temps temp))) ((member actual (locs)) (let ((temp (make-normal-tn (tn-primitive-type loc)))) @@ -1140,7 +1135,7 @@ (let ((pass (standard-arg-location n)) (home (leaf-info arg))) (if (lambda-var-indirect arg) - (do-make-value-cell node block pass home) + (emit-make-value-cell node block pass home) (emit-move node block pass home)))) (incf n)))) @@ -1261,7 +1256,7 @@ (when (leaf-refs var) (let ((dest (leaf-info var))) (if (lambda-var-indirect var) - (do-make-value-cell node block src dest) + (emit-make-value-cell node block src dest) (emit-move node block src dest))))) (lvar-tns node block lvar (mapcar (lambda (x) @@ -1520,7 +1515,7 @@ (ecase kind ((:block :tagbody) (if (nlx-info-safe-p info) - (do-make-value-cell node block res (ir2-nlx-info-home 2info)) + (emit-make-value-cell node block res (ir2-nlx-info-home 2info)) (emit-move node block res (ir2-nlx-info-home 2info)))) (:unwind-protect (vop set-unwind-protect node block block-tn)) diff --git a/version.lisp-expr b/version.lisp-expr index 93d2242..ae34558 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.9.14.9" +"0.9.14.10"