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

Side by Side Diff: runtime/vm/object_store.cc

Issue 580903004: Make sure Bigint._digits is always a Uint32List (instead of sometimes null). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object_store.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/object_store.h" 5 #include "vm/object_store.h"
6 6
7 #include "vm/exceptions.h" 7 #include "vm/exceptions.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/isolate.h" 9 #include "vm/isolate.h"
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 pending_classes_(GrowableObjectArray::null()), 66 pending_classes_(GrowableObjectArray::null()),
67 pending_functions_(GrowableObjectArray::null()), 67 pending_functions_(GrowableObjectArray::null()),
68 resume_capabilities_(GrowableObjectArray::null()), 68 resume_capabilities_(GrowableObjectArray::null()),
69 sticky_error_(Error::null()), 69 sticky_error_(Error::null()),
70 unhandled_exception_handler_(String::null()), 70 unhandled_exception_handler_(String::null()),
71 empty_context_(Context::null()), 71 empty_context_(Context::null()),
72 stack_overflow_(Instance::null()), 72 stack_overflow_(Instance::null()),
73 out_of_memory_(Instance::null()), 73 out_of_memory_(Instance::null()),
74 preallocated_stack_trace_(Stacktrace::null()), 74 preallocated_stack_trace_(Stacktrace::null()),
75 lookup_port_handler_(Function::null()), 75 lookup_port_handler_(Function::null()),
76 empty_uint32_array_(TypedData::null()),
76 handle_message_function_(Function::null()), 77 handle_message_function_(Function::null()),
77 library_load_error_table_(Array::null()), 78 library_load_error_table_(Array::null()),
78 default_tag_(UserTag::null()) { 79 default_tag_(UserTag::null()) {
79 } 80 }
80 81
81 82
82 ObjectStore::~ObjectStore() { 83 ObjectStore::~ObjectStore() {
83 } 84 }
84 85
85 86
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array)); 152 Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array));
152 // Expansion of inlined functions requires additional memory at run time, 153 // Expansion of inlined functions requires additional memory at run time,
153 // avoid it. 154 // avoid it.
154 stack_trace.set_expand_inlined(false); 155 stack_trace.set_expand_inlined(false);
155 set_preallocated_stack_trace(stack_trace); 156 set_preallocated_stack_trace(stack_trace);
156 157
157 return true; 158 return true;
158 } 159 }
159 160
160 } // namespace dart 161 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698