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

Unified Diff: runtime/vm/raw_object.h

Issue 2719603002: Rename Closure instance field type_arguments_ to instantiator_. (Closed)
Patch Set: 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
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 54a2df28433777455c2c40dd1e4612b2a0171969..f407d0ecb9a3e78e97cfe0f1b9954b4a91301166 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -1782,10 +1782,11 @@ class RawClosure : public RawInstance {
RAW_HEAP_OBJECT_IMPLEMENTATION(Closure);
RawObject** from() {
- return reinterpret_cast<RawObject**>(&ptr()->type_arguments_);
+ return reinterpret_cast<RawObject**>(&ptr()->instantiator_);
}
- RawTypeArguments* type_arguments_;
+ // These 3 fields are also declared in the Dart source of class _Closure.
Cutch 2017/02/24 22:15:37 Add a note here that no fields can be added *befor
regis 2017/02/24 22:54:41 Done.
+ RawTypeArguments* instantiator_;
RawFunction* function_;
RawContext* context_;

Powered by Google App Engine
This is Rietveld 408576698