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

Unified Diff: vm/object.h

Issue 10834284: - Split Dart core libraries into shared sources and patch sources. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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
« no previous file with comments | « vm/dart_api_impl_test.cc ('k') | vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.h
===================================================================
--- vm/object.h (revision 10607)
+++ vm/object.h (working copy)
@@ -285,19 +285,6 @@
static RawClass* icdata_class() { return icdata_class_; }
static RawClass* subtypetestcache_class() { return subtypetestcache_class_; }
- static RawClass* CreateAndRegisterInterface(const char* cname,
- const Script& script,
- const Library& lib);
- static void RegisterClass(const Class& cls,
- const char* cname,
- const Script& script,
- const Library& lib);
-
- static void RegisterPrivateClass(const Class& cls,
- const char* cname,
- const Script& script,
- const Library& lib);
-
static RawError* Init(Isolate* isolate);
static void InitFromSnapshot(Isolate* isolate);
static void InitOnce();
@@ -365,6 +352,16 @@
private:
static void InitializeObject(uword address, intptr_t id, intptr_t size);
+ static RawClass* CreateAndRegisterInterface(const char* cname,
+ const Script& script,
+ const Library& lib);
+ static void RegisterClass(const Class& cls,
+ const char* cname,
+ const Library& lib);
+ static void RegisterPrivateClass(const Class& cls,
+ const char* cname,
+ const Library& lib);
+
cpp_vtable* vtable_address() const {
uword vtable_addr = reinterpret_cast<uword>(this);
return reinterpret_cast<cpp_vtable*>(vtable_addr);
@@ -464,6 +461,7 @@
RawString* UserVisibleName() const;
RawScript* script() const { return raw_ptr()->script_; }
+ void set_script(const Script& value) const;
intptr_t token_pos() const { return raw_ptr()->token_pos_; }
@@ -712,7 +710,6 @@
private:
void set_name(const String& value) const;
- void set_script(const Script& value) const;
void set_token_pos(intptr_t value) const;
void set_signature_function(const Function& value) const;
void set_signature_type(const AbstractType& value) const;
@@ -1995,7 +1992,7 @@
raw_ptr()->native_entry_resolver_ = value;
}
- RawError* Patch(const String& url, const String& source) const;
+ RawError* Patch(const Script& script) const;
RawString* PrivateName(const String& name) const;
« no previous file with comments | « vm/dart_api_impl_test.cc ('k') | vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698