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

Unified Diff: runtime/vm/raw_object.h

Issue 23619026: Simplify VM internal representation of a mixin application clause (MixinAppType (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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/parser.cc ('k') | tests/language/language_analyzer.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 27361)
+++ runtime/vm/raw_object.h (working copy)
@@ -1201,12 +1201,11 @@
RAW_HEAP_OBJECT_IMPLEMENTATION(MixinAppType);
RawObject** from() {
- return reinterpret_cast<RawObject**>(&ptr()->super_type_);
+ return reinterpret_cast<RawObject**>(&ptr()->mixins_);
}
- RawAbstractType* super_type_;
- RawArray* mixin_types_;
+ RawArray* mixins_; // Array of synthesized mixin application classes.
RawObject** to() {
- return reinterpret_cast<RawObject**>(&ptr()->mixin_types_);
+ return reinterpret_cast<RawObject**>(&ptr()->mixins_);
}
};
« no previous file with comments | « runtime/vm/parser.cc ('k') | tests/language/language_analyzer.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698