I wonder which optimizers support AVM2 (ActionScript 3 VM)? I know that it uses JIT, but does Dead Code Elimination support constant folding, attachment, etc.
I am also very interested that the ActionScript compiler also performs some optimizations. AFAIK C # compiler makes a very small set of optimizations (required only for language support), JIT does all the work. And it works very fast.
Thank.
Thanks MPD. AVM2 supports:
- Constant bending
- Copying and continuous distribution
- Resolving Common Sub-Expressions (CSE)
- Dead Code Elimination (DCE)
source
share