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

Unified Diff: runtime/vm/object.h

Issue 10824209: - Allow patching of top-level methods and accessors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/object.h
===================================================================
--- runtime/vm/object.h (revision 10353)
+++ runtime/vm/object.h (working copy)
@@ -1963,6 +1963,7 @@
// more regular.
void AddClass(const Class& cls) const;
void AddObject(const Object& obj, const String& name) const;
+ void ReplaceObject(const Object& obj, const String& name) const;
RawObject* LookupObject(const String& name) const;
RawClass* LookupClass(const String& name) const;
RawClass* LookupClassAllowPrivate(const String& name) const;
@@ -1998,6 +1999,8 @@
raw_ptr()->native_entry_resolver_ = value;
}
+ RawError* Patch(const String& url, const String& source) const;
+
RawString* PrivateName(const String& name) const;
intptr_t index() const { return raw_ptr()->index_; }
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698