Index: runtime/vm/simulator_dbc.cc |
diff --git a/runtime/vm/simulator_dbc.cc b/runtime/vm/simulator_dbc.cc |
index d42e97c9a4f6208998ba4f60bab0feeccae4cf84..86ca930a41aaaa0c5d639f206872e2fb6d65326c 100644 |
--- a/runtime/vm/simulator_dbc.cc |
+++ b/runtime/vm/simulator_dbc.cc |
@@ -2881,7 +2881,7 @@ RawObject* Simulator::Call(const Code& code, |
RawObject* instance_cid_or_function; |
if (cid == kClosureCid) { |
RawClosure* closure = static_cast<RawClosure*>(instance); |
- instance_type_arguments = closure->ptr()->type_arguments_; |
+ instance_type_arguments = closure->ptr()->instantiator_; |
instance_cid_or_function = closure->ptr()->function_; |
} else { |
instance_cid_or_function = Smi::New(cid); |
@@ -2970,7 +2970,7 @@ RawObject* Simulator::Call(const Code& code, |
RawObject* instance_cid_or_function; |
if (cid == kClosureCid) { |
RawClosure* closure = static_cast<RawClosure*>(instance); |
- instance_type_arguments = closure->ptr()->type_arguments_; |
+ instance_type_arguments = closure->ptr()->instantiator_; |
instance_cid_or_function = closure->ptr()->function_; |
} else { |
instance_cid_or_function = Smi::New(cid); |