Changeset 11821 for trunk/abcl/src/org/armedbear/lisp/jvm.lisp
- Timestamp:
- 05/03/09 12:19:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/jvm.lisp
r11820 r11821 364 364 ;; If non-nil, the TAGBODY contains local blocks which "contaminate" the 365 365 ;; environment, with GO forms in them which target tags in this TAGBODY 366 ;; Non-nil if and only if the block doesn't modify the environment 366 367 needs-environment-restoration 367 368 ;; If non-nil, register containing saved dynamic environment for this block. … … 401 402 402 403 403 (defknown enclosed-by-protected-block-p (&optional outermost-block) boolean)404 (defknown enclosed-by-protected-block-p (&optional t) boolean) 404 405 (defun enclosed-by-protected-block-p (&optional outermost-block) 405 406 "Indicates whether the code being compiled/analyzed is enclosed in … … 413 414 (return-from enclosed-by-protected-block-p t)))) 414 415 415 (defknown enclosed-by-environment-setting-block-p (&optional outermost-block) 416 boolean) 416 (defknown enclosed-by-environment-setting-block-p (&optional t) boolean) 417 417 (defun enclosed-by-environment-setting-block-p (&optional outermost-block) 418 418 (dolist (enclosing-block *blocks*) 419 419 (when (eq enclosing-block outermost-block) 420 420 (return nil)) 421 (when (block-environment-register enclosing-block) 421 (when (and (block-environment-register enclosing-block) 422 (not (block-needs-environment-restoration enclosing-block))) 422 423 (return t)))) 423 424
Note: See TracChangeset
for help on using the changeset viewer.