Changeset 5880


Ignore:
Timestamp:
Feb 10, 2007, 9:26:47 PM (18 years ago)
Author:
Gary Byers
Message:

Pretty much commited to the new FF-CALL expansion ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lib/foreign-types.lisp

    r5863 r5880  
    13401340result-type-specifer is :VOID or NIL"
    13411341  (funcall (ftd-ff-call-expand-function *target-ftd*)
    1342            `(%ff-call ,entry) args)
    1343   #+nil         
    1344   (let* ((monitor (eq (car args) :monitor-exception-ports)))
    1345     (when monitor
    1346       (setq args (cdr args)))
    1347     (collect ((representation nil))
    1348       (when monitor
    1349         (representation :monitor-exception-ports))
    1350       (do* ((a args (cddr a)))
    1351            ((null (cdr a))
    1352             (if (null a) (representation :void)
    1353               (let* ((rettype (car a)))
    1354                 (representation (foreign-type-to-representation-type
    1355                                  rettype)))))
    1356         (let* ((spec (car a))
    1357                (val (cadr a)))
    1358           (if (eq spec :registers)
    1359             (representation spec)
    1360             (representation (foreign-type-to-representation-type spec)))
    1361         (representation val)))
    1362     `(%ff-call ,entry ,@(representation)))))
     1342           `(%ff-call ,entry) args))
    13631343       
    13641344         
Note: See TracChangeset for help on using the changeset viewer.