Changeset 13447


Ignore:
Timestamp:
08/07/11 12:51:58 (12 years ago)
Author:
ehuelsmann
Message:

Add documentation.

File:
1 edited

Legend:

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

    r13269 r13447  
    288288  representation
    289289  special-p     ; indicates whether a variable is special
     290
     291;; A variable can be stored in a number of locations.
     292;;  1. if it's passed as a normal argument, it'll be in a register (max 8)
     293;;     the same is true if the variable is a local variable (at any index)
     294;;  2. if it's passed in the argument array, it'll be in the array in
     295;;     register 1 (register 0 contains the function object)
     296;;  3. if the variable is part of a closure, it'll be in the closure array
     297;;  4. if the variable is part of the outer scope of a function with a
     298;;     non-null lexical environment, the variable is to be looked up
     299;;     from a lexical environment object
     300
     301;; a variable can be either special-p *or* have a register *or*
     302;; have an index *or* a closure-index *or* an environment
     303
    290304  register      ; register number for a local variable
    291305  binding-register ; register number containing the binding reference
     
    294308  environment   ; the environment for the variable, if we're compiling in
    295309                ; a non-null lexical environment with variables
    296     ;; a variable can be either special-p *or* have a register *or*
    297     ;; have an index *or* a closure-index *or* an environment
     310
    298311  (reads 0 :type fixnum)
    299312  (writes 0 :type fixnum)
Note: See TracChangeset for help on using the changeset viewer.