DescriptionVM: Don't rely on always running constant propagation in the optimizer
When inlining functions that unconditionally throw (have zero normal returns),
the optimizer inserts a branch with a true condition and relies on
constant propagation to remove the rest of the caller which becomes unreachable
after inlining.
This allows to compilesuch functions without running constant propagation by
replacing uses of the return value with null.
BUG=
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/05ad578b77d074bf620227bcf5a3e5f53c28cc32
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|