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

Unified Diff: runtime/vm/object_store.h

Issue 388963003: Avoid allocating an exception object in the snapshot reader. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: addressed comments Created 6 years, 5 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/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
===================================================================
--- runtime/vm/object_store.h (revision 38227)
+++ runtime/vm/object_store.h (working copy)
@@ -380,6 +380,13 @@
out_of_memory_ = value.raw();
}
+ RawUnhandledException* preallocated_unhandled_exception() const {
+ return preallocated_unhandled_exception_;
+ }
+ void set_preallocated_unhandled_exception(const UnhandledException& value) {
+ preallocated_unhandled_exception_ = value.raw();
+ }
+
RawStacktrace* preallocated_stack_trace() const {
return preallocated_stack_trace_;
}
@@ -495,6 +502,7 @@
RawContext* empty_context_;
RawInstance* stack_overflow_;
RawInstance* out_of_memory_;
+ RawUnhandledException* preallocated_unhandled_exception_;
RawStacktrace* preallocated_stack_trace_;
RawFunction* lookup_port_handler_;
RawFunction* handle_message_function_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698