Index: runtime/vm/flow_graph_type_propagator.cc |
diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc |
index 6af05d6c52e0dc1a37c13f6253b84aa317718455..7ee1a50f3797161db31dcb269cf4d68409907d69 100644 |
--- a/runtime/vm/flow_graph_type_propagator.cc |
+++ b/runtime/vm/flow_graph_type_propagator.cc |
@@ -996,7 +996,7 @@ CompileType LoadStaticFieldInstr::ComputeType() const { |
} |
ASSERT(field.is_static()); |
if (field.is_final()) { |
- const Instance& obj = Instance::Handle(field.value()); |
+ const Instance& obj = Instance::Handle(field.StaticValue()); |
if ((obj.raw() != Object::sentinel().raw()) && |
(obj.raw() != Object::transition_sentinel().raw()) && |
!obj.IsNull()) { |