Ignore:
Timestamp:
08/09/10 11:31:52 (13 years ago)
Author:
ehuelsmann
Message:

Switch pass2 to the pool routines from jvm-class-file.lisp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/generic-class-file/abcl/src/org/armedbear/lisp/jvm.lisp

    r12879 r12881  
    138138(defmacro with-class-file (class-file &body body)
    139139  (let ((var (gensym)))
    140     `(let* ((,var ,class-file)
    141             (*pool*                 (abcl-class-file-pool ,var))
    142             (*pool-count*           (abcl-class-file-pool-count ,var))
    143             (*pool-entries*         (abcl-class-file-pool-entries ,var))
     140    `(let* ((,var                   ,class-file)
     141            (*class-file*           ,var)
     142            (*pool*                 (abcl-class-file-constants ,var))
    144143            (*fields*               (abcl-class-file-fields ,var))
    145144            (*static-code*          (abcl-class-file-static-code ,var))
     
    147146            (*declared-functions*   (abcl-class-file-functions ,var)))
    148147       (progn ,@body)
    149        (setf (abcl-class-file-pool ,var)         *pool*
    150              (abcl-class-file-pool-count ,var)   *pool-count*
    151              (abcl-class-file-pool-entries ,var) *pool-entries*
    152              (abcl-class-file-fields ,var)       *fields*
     148       (setf (abcl-class-file-fields ,var)       *fields*
    153149             (abcl-class-file-static-code ,var)  *static-code*
    154150             (abcl-class-file-objects ,var)      *externalized-objects*
Note: See TracChangeset for help on using the changeset viewer.