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

Unified Diff: runtime/vm/object.h

Issue 1407533005: Eliminate RawClass::patch_class_ field (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/compiler.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 2c94f2dcbe7a6df8dfca59c49184a74f6a5a97aa..108843be0a29deea00b3205a95304c67ecb65783 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1051,10 +1051,8 @@ class Class : public Object {
// Note this returns false for mixin application aliases.
bool IsMixinApplication() const;
- RawClass* patch_class() const {
- return raw_ptr()->patch_class_;
- }
- void set_patch_class(const Class& patch_class) const;
+ RawClass* GetPatchClass() const;
+ void SetPatchClass(const Class& patch_class) const;
// Interfaces is an array of Types.
RawArray* interfaces() const { return raw_ptr()->interfaces_; }
@@ -3388,6 +3386,10 @@ class Library : public Object {
intptr_t num_anonymous_classes() const { return raw_ptr()->num_anonymous_; }
RawArray* anonymous_classes() const { return raw_ptr()->anonymous_classes_; }
+ RawGrowableObjectArray* patch_classes() const {
+ return raw_ptr()->patch_classes_;
+ }
+
// Library imports.
RawArray* imports() const { return raw_ptr()->imports_; }
RawArray* exports() const { return raw_ptr()->exports_; }
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698