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

Unified Diff: runtime/vm/snapshot.h

Issue 510613002: Add passive handle types PassiveObject and PassiveInstance to allow (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.h
===================================================================
--- runtime/vm/snapshot.h (revision 39567)
+++ runtime/vm/snapshot.h (working copy)
@@ -28,6 +28,7 @@
class LanguageError;
class Library;
class Object;
+class PassiveObject;
class ObjectStore;
class PageSpace;
class RawApiError;
@@ -252,7 +253,7 @@
Heap* heap() const { return heap_; }
ObjectStore* object_store() const { return isolate_->object_store(); }
ClassTable* class_table() const { return isolate_->class_table(); }
- Object* ObjectHandle() { return &obj_; }
+ PassiveObject* PassiveObjectHandle() { return &pobj_; }
Array* ArrayHandle() { return &array_; }
String* StringHandle() { return &str_; }
AbstractType* TypeHandle() { return &type_; }
@@ -368,6 +369,7 @@
PageSpace* old_space_; // Old space of the current isolate.
Class& cls_; // Temporary Class handle.
Object& obj_; // Temporary Object handle.
+ PassiveObject& pobj_; // Temporary PassiveObject handle.
Array& array_; // Temporary Array handle.
Field& field_; // Temporary Field handle.
String& str_; // Temporary String handle.
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698