comparison doc/internals.txt @ 367:34dfc9747f23

Reduction passes complete
author lost@starbug
date Thu, 15 Apr 2010 21:56:06 -0600
parents 6a98cc90c14f
children 656630007668
comparison
equal deleted inserted replaced
366:84dc6d2ec6ba 367:34dfc9747f23
32 32
33 Work through all un-resolved instructions and force sizes. After each size 33 Work through all un-resolved instructions and force sizes. After each size
34 is forced, try re-resolving all other instructions. This is done starting 34 is forced, try re-resolving all other instructions. This is done starting
35 at the beginning of the source and working forward. If any instruction does 35 at the beginning of the source and working forward. If any instruction does
36 not resolve when forced, an error will be thrown. 36 not resolve when forced, an error will be thrown.
37
38 Pass 5
39 ------
40
41 Constantize all line addresses and throw errors if any cannot be. This
42 pass will repeat until no further lines addresses are reduced to constants
43 at which time all lines will be checked for constant-ness.
44
45 Pass 6
46 ------
47
48 Finalize all expressions related to instructions. Carp about any that
49 cannot be reduced to a usable form. That means, for the non-object target
50 all expressions must resolve to a constant. For the object form, all
51 expressions must resolve to symbol references and constants. Those symbol
52 references may be internal or external.