2008-09-01 |
Paul Boddie |
file
changeset
files
shortlog
|
Added notes about calling initialisers and instantiators, adopting a strategy
where instantiation detected at compile-time is performed using an initialiser
directly, whereas that detected at run-time is done using an instantiator whose
code is now generated in the image.
Added a finalise method to the Importer in order to set attribute locations
before code generation, since some code (use of initialisers) requires details
of a different program unit's locals (although this is actually unnecessary, but
done because Attr instances are employed in the generated code).
Changed class invocation at compile-time to acquire the new object reference
from the frame of an already invoked initialiser just before dropping the frame.
Added some support for raw image encoding of classes and functions.
Changed JumpWithFrame usage to involve the current callable, not the current
value.
Added RecoverFrame and AdjustFrame instructions.
Improved the tests around instantiation. |
|