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

Unified Diff: vm/object_store.h

Issue 9030013: Fix issue 1023: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 12 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/object.cc ('k') | vm/object_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object_store.h
===================================================================
--- vm/object_store.h (revision 2927)
+++ vm/object_store.h (working copy)
@@ -291,6 +291,11 @@
stack_overflow_ = value.raw();
}
+ RawInstance* out_of_memory() const { return out_of_memory_; }
+ void set_out_of_memory(const Instance& value) {
+ out_of_memory_ = value.raw();
+ }
+
// Visit all object pointers.
void VisitObjectPointers(ObjectPointerVisitor* visitor);
@@ -353,7 +358,8 @@
RawString* sticky_error_;
RawContext* empty_context_;
RawInstance* stack_overflow_;
- RawObject** to() { return reinterpret_cast<RawObject**>(&stack_overflow_); }
+ RawInstance* out_of_memory_;
+ RawObject** to() { return reinterpret_cast<RawObject**>(&out_of_memory_); }
bool preallocate_objects_called_;
« no previous file with comments | « vm/object.cc ('k') | vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698