| Index: runtime/vm/flow_graph_optimizer.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.cc (revision 31693)
|
| +++ runtime/vm/flow_graph_optimizer.cc (working copy)
|
| @@ -4581,12 +4581,9 @@
|
| }
|
| if (inputs_loop_invariant &&
|
| !current->IsAssertAssignable() &&
|
| - !current->IsAssertBoolean() &&
|
| - !current->IsGuardField()) {
|
| + !current->IsAssertBoolean()) {
|
| // TODO(fschneider): Enable hoisting of Assert-instructions
|
| // if it safe to do.
|
| - // TODO(15652): Hoisting guard-field instructions causes the
|
| - // optimizing compiler to crash.
|
| Hoist(&it, pre_header, current);
|
| } else if (current->IsCheckSmi() &&
|
| current->InputAt(0)->definition()->IsPhi()) {
|
|
|