Index: runtime/vm/constant_propagator.cc |
diff --git a/runtime/vm/constant_propagator.cc b/runtime/vm/constant_propagator.cc |
index 29818e18b84761960977b4923b7949e1145842d4..5cf201816a513540a0d1ac75006cf23beda4c4ac 100644 |
--- a/runtime/vm/constant_propagator.cc |
+++ b/runtime/vm/constant_propagator.cc |
@@ -706,7 +706,7 @@ void ConstantPropagator::VisitInitStaticField(InitStaticFieldInstr* instr) { |
void ConstantPropagator::VisitLoadStaticField(LoadStaticFieldInstr* instr) { |
const Field& field = instr->StaticField(); |
ASSERT(field.is_static()); |
- Instance& obj = Instance::Handle(I, field.value()); |
+ Instance& obj = Instance::Handle(I, field.StaticValue()); |
if (field.is_final() && (obj.raw() != Object::sentinel().raw()) && |
(obj.raw() != Object::transition_sentinel().raw())) { |
if (obj.IsSmi() || obj.IsOld()) { |