Changeset 8393


Ignore:
Timestamp:
Feb 1, 2008, 8:47:39 PM (17 years ago)
Author:
marco baringer
Message:

Added ccl::show-function-constants and show-uvector-contents (both of these will be used by slime at some point)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/source-tracking-0801/ccl/compiler/lambda-list.lisp

    r8390 r8393  
    4545  (getf (%lfun-info fn) 'text))
    4646
     47(defun show-function-constants (f)
     48  (dotimes (i (- (uvsize (function-to-function-vector f))
     49                 (%function-code-words f)))
     50    (format t "~&~d: ~s" i (nth-immediate f (1+ i)))))
     51
     52(defun show-uvector-contents (uvector)
     53  (dotimes (i (uvsize uvector))
     54    (format t "~&~D: ~S" i (uvref uvector i))))
     55
    4756;;; Lambda-list utilities
    4857
Note: See TracChangeset for help on using the changeset viewer.