We have taken a declarative approach to dynamic compilation , which is compatible with our long-term goal of applying dynamic compilation completely automatically without programmer direction.
Dynamic compilation enables optimizations based on the values of data computed at run time.
The dynamic compiler makes a specialized copy of the code for each set of run-time values used in these optimizations, essentially treating the data as constants in each copy. Using the values of these run-time constants , a dynamic compiler can eliminate their memory loads, perform constant propagation and folding, remove branches they determine, and fully unroll loops they bound. Last updated January 30, 1998.