| Index: runtime/vm/intermediate_language.cc
|
| diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
|
| index 4a85521d060621f4b721a3efa7f4a0982e24ccf1..129622ffedfcee8d4c2e2bb10b0d3bd002fb51ea 100644
|
| --- a/runtime/vm/intermediate_language.cc
|
| +++ b/runtime/vm/intermediate_language.cc
|
| @@ -428,7 +428,12 @@ bool BinaryIntegerOpInstr::AttributesEqual(Instruction* other) const {
|
| }
|
|
|
| EffectSet LoadFieldInstr::Dependencies() const {
|
| - return immutable_ ? EffectSet::None() : EffectSet::All();
|
| + if (immutable_) {
|
| + return EffectSet::None();
|
| + } else {
|
| + UNREACHABLE(); // TODO(dartbug.com/30474): cleanup
|
| + return EffectSet::All();
|
| + }
|
| }
|
|
|
| bool LoadFieldInstr::AttributesEqual(Instruction* other) const {
|
| @@ -454,9 +459,12 @@ Instruction* InitStaticFieldInstr::Canonicalize(FlowGraph* flow_graph) {
|
| }
|
|
|
| EffectSet LoadStaticFieldInstr::Dependencies() const {
|
| - return (StaticField().is_final() && !FLAG_fields_may_be_reset)
|
| - ? EffectSet::None()
|
| - : EffectSet::All();
|
| + if (StaticField().is_final() && !FLAG_fields_may_be_reset) {
|
| + return EffectSet::None();
|
| + } else {
|
| + UNREACHABLE(); // TODO(dartbug.com/30474): cleanup
|
| + return EffectSet::All();
|
| + }
|
| }
|
|
|
| bool LoadStaticFieldInstr::AttributesEqual(Instruction* other) const {
|
|
|