Changes between Version 4 and Version 5 of CompilationPhases


Ignore:
Timestamp:
12/30/08 21:42:16 (12 years ago)
Author:
ehuelsmann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilationPhases

    v4 v5  
    1818== Compilation phase 1: p1 ==
    1919
    20 ''Honestly, I have no idea what the difference is between p1 and p2, except for what is specified below.''
     20This phase analyzes the code, recording which variables are created where, what their visibility is, which closures get created, what their arguments are and if any variables are special.
     21
     22
    2123
    2224== Compilation phase 2: p2 ==
     
    3941 2. Optimize byte code by walking the byte codes,
    4042    replacing inefficient sequences with more efficient ones
    41  3. Translating the instructions from the instructions array to an array with byte-codes (octets) 
    42  3. Writing out a file according to the format specified for .class files
     43 3. Translating the instructions from the instructions array to an array with byte-codes (octets)
     44    Infrastructure to do this step can be found in compiler-pass2.lisp in the form of resolvers.
     45 4. Writing out a file according to the format specified for .class files
    4346