Changeset 11239 for trunk

Show
Ignore:
Timestamp:
05/09/06 13:12:23 (3 years ago)
Author:
rtoy
Message:

More updates for disassemble of flet/labels functions. If the
function is :external, don't return from the loop if it's an
flet/labels function. That way, it gets disassembled.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/compiler/disassem.lisp

    r11192 r11239  
    30513051                        (setf first-block-seen-p t)) 
    30523052                       ((eq kind :external) 
    3053                         (when first-block-seen-p 
    3054                           (return))) 
     3053                        (let* ((name (c::compiled-debug-function-name fmap-entry)) 
     3054                               (flet-p (and (list name) 
     3055                                            (member (car name) '(flet labels))))) 
     3056                          ;; Don't return from loop if this external 
     3057                          ;; entry is an flet or labels entry.  We 
     3058                          ;; want to continue the disassembly, if 
     3059                          ;; enabled. 
     3060                          (when (and first-block-seen-p 
     3061                                     (if *disassemble-flets* 
     3062                                         (not flet-p) 
     3063                                         t)) 
     3064                            (return)))) 
    30553065                       ((eq kind nil) 
    30563066                        ;; FIXME: Why do we return when we have a nil