Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: runtime/vm/simulator_dbc.cc

Issue 2719603002: Rename Closure instance field type_arguments_ to instantiator_. (Closed)
Patch Set: work in progress Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698