Changeset 4994


Ignore:
Timestamp:
12/06/03 16:36:06 (18 years ago)
Author:
piso
Message:

COMPILE-LET/LET*: clear values at top of body.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/jvm.lisp

    r4989 r4994  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: jvm.lisp,v 1.54 2003-12-06 03:35:51 piso Exp $
     4;;; $Id: jvm.lisp,v 1.55 2003-12-06 16:36:06 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    16791679
    16801680(defun compile-let/let* (form for-effect)
    1681 ;;   (format t "compile-let/let* *locals* = ~S~%" *locals*)
    16821681  (let* ((*variables* *variables*)
    16831682         (specials ())
     
    16941693          (when (eq (car decl) 'special)
    16951694            (setf specials (append (cdr decl) specials))))))
    1696 ;;     (when specials
    1697 ;;       (format t "specials = ~S~%" specials))
    16981695    ;; Are we going to bind any special variables?
    16991696    (dolist (varspec varlist)
     
    17201717       (compile-let*-vars varlist specials)))
    17211718    ;; Body of LET/LET*.
     1719    (emit-clear-values)
    17221720    (do ((body (cddr form) (cdr body)))
    17231721        ((null (cdr body))
Note: See TracChangeset for help on using the changeset viewer.