Changeset 4668


Ignore:
Timestamp:
11/07/03 19:14:00 (18 years ago)
Author:
piso
Message:

We don't need COMPILE-RETURN, since RETURN is a macro.

File:
1 edited

Legend:

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

    r4663 r4668  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: jvm.lisp,v 1.13 2003-11-07 16:17:24 piso Exp $
     4;;; $Id: jvm.lisp,v 1.14 2003-11-07 19:14:00 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    16661666            (error "COMPILE-FUNCTION: unsupported case: ~S" form)))))
    16671667
    1668 (defun compile-return (form)
    1669    (let* ((rest (cdr form))
    1670           (block-label nil)
    1671           (block-exit (cdr (assoc block-label *blocks*)))
    1672           (result-form (car rest)))
    1673      (unless block-exit
    1674        (error "no block named ~S is currently visible" block-label))
    1675      (compile-form result-form)
    1676      (emit 'goto `,block-exit)))
    1677 
    16781668(defun compile-return-from (form)
    16791669   (let* ((rest (cdr form))
     
    20132003                          progn
    20142004                          quote
    2015                           return
    20162005                          return-from
    20172006                          setq
Note: See TracChangeset for help on using the changeset viewer.