Changeset 5516
- Timestamp:
- Nov 7, 2006, 8:10:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/compiler/optimizers.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/compiler/optimizers.lisp
r5404 r5516 1569 1569 type))) 1570 1570 (if (= 2 (length subscripts)) 1571 (setq call `(%aref2 ,a ,(car subscripts) ,(cadr subscripts)))) 1571 (setq call `(%aref2 ,a ,@subscripts)) 1572 (if (= 3 (length subscripts)) 1573 (setq call `(%aref3 ,a ,@subscripts)))) 1572 1574 (if useful 1573 1575 `(the ,useful ,call) … … 1577 1579 (define-compiler-macro aset (&whole call a &rest subs&val) 1578 1580 (if (= 3 (length subs&val)) 1579 `(%aset2 ,a ,(car subs&val) ,(cadr subs&val) ,(caddr subs&val)) 1580 call)) 1581 `(%aset2 ,a ,@subs&val) 1582 (if (= 4 (length subs&val)) 1583 `(%aset3 ,a ,@subs&val) 1584 call))) 1581 1585 1582 1586
Note:
See TracChangeset
for help on using the changeset viewer.
