Changeset 7881
- Timestamp:
- Dec 10, 2007, 8:46:08 PM (17 years ago)
- File:
-
- 1 edited
-
branches/ia32/compiler/X86/x86-lap.lisp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ia32/compiler/X86/x86-lap.lisp
r7830 r7881 1413 1413 constants-vector))))) 1414 1414 1415 #+x86 -target1415 #+x8664-target 1416 1416 (defun create-x86-function (name frag-list constants bits debug-info) 1417 1417 (unless name (setq bits (logior bits (ash -1 $lfbits-noname-bit)))) … … 1498 1498 (instruction (x86::make-x86-instruction)) 1499 1499 (frag-list (make-frag-list))) 1500 (make-x86-lap-label entry-code-tag) 1501 (make-x86-lap-label srt-tag) 1500 1502 (make-x86-lap-label end-code-tag) 1501 (make-x86-lap-label entry-code-tag)1502 1503 ;; count of 32-bit words between header and function boundary 1503 1504 ;; marker, inclusive. … … 1542 1543 (incf srt-index 4))))) 1543 1544 (show-frag-bytes frag-list) 1544 (cross-create-x86-function name frag-list *x86-lap-constants* *x86-lap-lfun-bits* nil))) 1545 (funcall #-x8632-target #'cross-create-x86-function 1546 #+x8632-target (if (eq *target-backend* *host-backend*) 1547 #'create-x86-function 1548 #'cross-create-x86-function) 1549 name frag-list *x86-lap-constants* *x86-lap-lfun-bits* nil))) 1545 1550 1546 1551 (defmacro defx86lapfunction (&environment env name arglist &body body … … 1554 1559 (eval-when (:compile-toplevel) 1555 1560 (note-function-info ',name t ,env)) 1556 #-x86 -target1561 #-x8664-target 1557 1562 (progn 1558 1563 (eval-when (:load-toplevel) … … 1560 1565 (eval-when (:execute) 1561 1566 (%define-x86-lap-function ',name '((let ,arglist ,@body))))) 1562 #+x86 -target ; just shorthand for defun1567 #+x8664-target ; just shorthand for defun 1563 1568 (%defun (nfunction ,name (lambda (&lap 0) (x86-lap-function ,name ,arglist ,@body))) ,doc))) 1564 1569 … … 1573 1578 (eval-when (:compile-toplevel) 1574 1579 (note-function-info ',name t ,env)) 1580 #-x8632-target 1575 1581 (progn 1576 1582 (eval-when (:load-toplevel) … … 1578 1584 (eval-when (:execute) 1579 1585 (%define-x8632-lap-function ',name '((let ,arglist ,@body))))) 1580 )) 1586 #+x8632-target 1587 (%defun (nfunction ,name (lambda (&lap 0) (x86-lap-function ,name ,arglist ,@body))) ,doc)))
Note:
See TracChangeset
for help on using the changeset viewer.
