Ignore:
Timestamp:
01/20/12 01:10:39 (12 years ago)
Author:
astalla
Message:

A small reorganization of compiler/jvm code. Runtime-class wasn't autoloading properly in certain situations due to a wrong dependency graph among some system files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/runtime-class.lisp

    r13790 r13792  
    1 (require "COMPILER-PASS2")
    2 (require "JVM-CLASS-FILE")
     1(require "JVM")
    32
    43;;The package is set to :jvm for convenience, since most of the symbols used
     
    187186              (cond
    188187                ((jvm-class-name-p type) (aload 1))
    189                 ((eq type :int) (iload 1))
     188                ((eq type :int) (emit 'iload 1))
    190189                (t (error "Unsupported setter parameter type: ~A" type)))
    191190              (emit-putfield (class-file-class class-file) name type)
     
    219218
    220219;;TODO:
     220;; - Returning nil as null is broken
    221221;; - Function calls with 8+ args
    222222;; - super method invocation. Idea: generate companion methods super_... to use with plain jcall. Add a flag per method to optionally disable this when not needed.
Note: See TracChangeset for help on using the changeset viewer.