Changeset 10984


Ignore:
Timestamp:
02/07/06 18:06:26 (18 years ago)
Author:
piso
Message:

P2-LOAD-TIME-VALUE: move the result to the target in the COMPILE-FILE case too.

File:
1 edited

Legend:

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

    r10968 r10984  
    22;;;
    33;;; Copyright (C) 2003-2006 Peter Graves
    4 ;;; $Id: jvm.lisp,v 1.768 2006-01-20 14:28:09 piso Exp $
     4;;; $Id: jvm.lisp,v 1.769 2006-02-07 18:06:26 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    58845884(defun compile-progn (form target representation)
    58855885  (compile-progn-body (cdr form) target)
    5886 ;;   (when (eq representation :int)
    5887 ;;     (emit-unbox-fixnum))
    5888   (fix-boxing representation nil)
    5889   )
     5886  (fix-boxing representation nil))
    58905887
    58915888(defun p2-eval-when (form target representation)
     
    58935890             (memq 'eval (cadr form)))
    58945891         (compile-progn-body (cddr form) target)
    5895 ;;          (when (eq representation :int)
    5896 ;;            (emit-unbox-fixnum)))
    58975892         (fix-boxing representation nil))
    58985893        (t
     
    59035898  (cond (*compile-file-truename*
    59045899         (emit 'getstatic *this-class*
    5905                (declare-load-time-value (second form)) +lisp-object+))
     5900               (declare-load-time-value (second form)) +lisp-object+)
     5901         (fix-boxing representation nil)
     5902         (emit-move-from-stack target representation))
    59065903        (t
    59075904         (compile-constant (eval (second form)) target representation))))
Note: See TracChangeset for help on using the changeset viewer.