Changeset 4704


Ignore:
Timestamp:
11/11/03 20:29:41 (18 years ago)
Author:
piso
Message:

COMPILE-SETQ: pay attention to FOR-EFFECT.

File:
1 edited

Legend:

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

    r4703 r4704  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: jvm.lisp,v 1.24 2003-11-11 20:13:03 piso Exp $
     4;;; $Id: jvm.lisp,v 1.25 2003-11-11 20:29:41 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    17321732    (when index
    17331733      (compile-form (cadr rest))
    1734       (emit-push-value)
     1734      (if for-effect
     1735          (unless (remove-store-value)
     1736            (emit-push-value))
     1737          (emit-push-value))
    17351738      (emit 'astore index)
    17361739      (return-from compile-setq))
Note: See TracChangeset for help on using the changeset viewer.