Chromium Code Reviews
DescriptionDo less inlining in lazy initializer expressions.
Lazy initializer expressions are executed at most once, so should be optimized for size rather than speed.
This currently means only inlining when the call is the only use of the function, sunce we don't really have the right information to do a good job in other cases.
Also use this heuristic to inline in throw expressions - this eliminates the constructor function for several exception classes that have a single throw site.
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=42420
Patch Set 1 #Patch Set 2 : #Messages
Total messages: 4 (1 generated)
|