- Timestamp:
- Nov 30, 2007, 12:46:28 PM (17 years ago)
- File:
-
- 1 edited
-
branches/working-0711/ccl/compiler/nx0.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/compiler/nx0.lisp
r6897 r7791 979 979 (let* ((bits (nx-var-bits var)) 980 980 (mask (%ilogior (%ilsl $vbitsetq 1) (ash -1 $vbitspecial) (%ilsl $vbitclosed 1))) 981 ;(count (%i+ (%ilogand $vrefmask bits) (%ilsr 8 (%ilogand $vsetqmask bits))))982 981 (nrefs (%ilogand $vrefmask bits)) 983 982 (val (nx-untyped-form initform)) … … 986 985 (if 987 986 (or 988 ;(%izerop count) ; unreferenced vars can still have side effects989 987 (nx-t val) 990 988 (nx-null val) 991 (and (eql nrefs 1) ( acode-absolute-ptr-p val t))989 (and (eql nrefs 1) (not (logbitp $vbitdynamicextent bits)) ( acode-absolute-ptr-p val t)) 992 990 (eq op (%nx1-operator fixnum)) 993 991 (eq op (%nx1-operator immediate))) 994 (nx-set-var-bits var (%ilogior (%ilsl $vbitpuntable 1) bits)))) 992 (progn 993 (nx-set-var-bits var (%ilogior (%ilsl $vbitpuntable 1) bits))))) 995 994 (when (and (%ilogbitp $vbitdynamicextent bits) 996 995 (or (eq op (%nx1-operator closed-function)) … … 1219 1218 (boundtobits (nx-var-bits boundto))) 1220 1219 (declare (fixnum varbits boundtobits)) 1221 1222 1220 (unless (eq (%ilogior 1223 1221 (%ilsl $vbitsetq 1) … … 1228 1226 (%ilsl $vbitclosed 1)) 1229 1227 boundtobits)) 1230 ; Can't happen -1228 ;; Can't happen - 1231 1229 (unless (%izerop (%ilogand (%ilogior 1232 1230 (%ilsl $vbitsetq 1)
Note:
See TracChangeset
for help on using the changeset viewer.
