Ignore:
Timestamp:
12/27/11 19:50:08 (12 years ago)
Author:
astalla
Message:

First stab at restoring runtime-class.
Supported: extending a Java class, implementing interfaces, defining methods
of up to 7 non-primitive arguments returning void or a non-primitive object.
Unsupported: everything else, including fields, constructors, annotations,
primitive arguments and return values, and the LispObject[] call convention
for functions with more than 8 arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/jvm-instructions.lisp

    r13535 r13710  
    234234(define-opcode freturn 174 1 nil nil)
    235235(define-opcode dreturn 175 1 nil nil)
     236(define-opcode ireturn 172 1 -1 nil)
    236237(define-opcode areturn 176 1 -1 nil)
    237238(define-opcode return 177 1 0 nil)
     
    569570                 166 ; if_acmpne
    570571                 167 ; goto
     572                 172 ; ireturn
    571573                 176 ; areturn
    572574                 177 ; return
     
    722724                                    in ~A at index ~D: ~
    723725                                    found ~S, expected ~S."
    724                                    (compiland-name *current-compiland*)
     726                                   (if *current-compiland*
     727                                       (compiland-name *current-compiland*)
     728                                       "<unknown>")
    725729                                   i instruction-depth
    726730                                   (+ depth instruction-stack)))
     
    733737                                    in ~A at index ~D: ~
    734738                                    negative depth ~S."
    735                                    (compiland-name *current-compiland*)
     739                                   (if *current-compiland*
     740                                       (compiland-name *current-compiland*)
     741                                       "<unknown>")
    736742                                   i depth))
    737743        (when (branch-p opcode)
Note: See TracChangeset for help on using the changeset viewer.