Chromium Code Reviews
DescriptionVM precompiler: Allow optimizing static initializers.
Static initializers were compiled without any optimizations. They are only
executed once, but the optimizer can potentially extract static type information
and may also produce a bit smaller code. (7K size savings when compiling dart2js -- i.e. < 0.1%)
This CL enables optimizations for them. The space savings
are not great, but I still think it's nicer to only have
optimized code when precompiling, instead of a mixture of
unoptimized and optimized.
Also, fix printing disassembly for initializers, and insert additional assertions.
BUG=
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/245197fb9fd35359f16e65c11d2fff50cf9352de
Patch Set 1 #
Messages
Total messages: 8 (5 generated)
|
|||||||||||||||||||||||||||||||||||||