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

Unified Diff: runtime/vm/object.h

Issue 1498933002: Delete patch classes once they are applied (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Now it works Created 5 years 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 2bf1aa2a26da0919d847ae777a11f1e92739fccc..4bf089637724c9a40326c79f00b046c3fd16ae42 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1065,7 +1065,6 @@ class Class : public Object {
bool IsMixinApplication() const;
RawClass* GetPatchClass() const;
- void SetPatchClass(const Class& patch_class) const;
// Interfaces is an array of Types.
RawArray* interfaces() const { return raw_ptr()->interfaces_; }
@@ -3395,6 +3394,10 @@ class Library : public Object {
void SetLoadError(const Instance& error) const;
RawInstance* TransitiveLoadError() const;
+ void AddPatchClass(const Class& cls) const;
+ RawClass* GetPatchClass(const String& name) const;
+ void RemovePatchClass(const Class& cls) const;
+
static intptr_t InstanceSize() {
return RoundedAllocationSize(sizeof(RawLibrary));
}
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698