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

Unified Diff: runtime/vm/object_store.cc

Issue 933193002: - Increase the size of the preallocated stack trace to give (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 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.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.cc
===================================================================
--- runtime/vm/object_store.cc (revision 43834)
+++ runtime/vm/object_store.cc (working copy)
@@ -154,14 +154,12 @@
Stacktrace::Handle(isolate)));
set_preallocated_unhandled_exception(unhandled_exception);
- const Array& code_array = Array::Handle(
- isolate,
+ const Array& code_array = Array::Handle(isolate,
Array::New(Stacktrace::kPreallocatedStackdepth, Heap::kOld));
- const Array& pc_offset_array = Array::Handle(
- isolate,
+ const Array& pc_offset_array = Array::Handle(isolate,
Array::New(Stacktrace::kPreallocatedStackdepth, Heap::kOld));
- const Stacktrace& stack_trace =
- Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array));
+ const Stacktrace& stack_trace = Stacktrace::Handle(isolate,
+ Stacktrace::New(code_array, pc_offset_array));
// Expansion of inlined functions requires additional memory at run time,
// avoid it.
stack_trace.set_expand_inlined(false);
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698