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

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

Issue 243973002: - Add a minimal implementation of Capability. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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') | runtime/vm/port_test.cc » ('j') | 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 typed_data_library_(Library::null()), 67 typed_data_library_(Library::null()),
68 libraries_(GrowableObjectArray::null()), 68 libraries_(GrowableObjectArray::null()),
69 pending_classes_(GrowableObjectArray::null()), 69 pending_classes_(GrowableObjectArray::null()),
70 pending_functions_(GrowableObjectArray::null()), 70 pending_functions_(GrowableObjectArray::null()),
71 sticky_error_(Error::null()), 71 sticky_error_(Error::null()),
72 unhandled_exception_handler_(String::null()), 72 unhandled_exception_handler_(String::null()),
73 empty_context_(Context::null()), 73 empty_context_(Context::null()),
74 stack_overflow_(Instance::null()), 74 stack_overflow_(Instance::null()),
75 out_of_memory_(Instance::null()), 75 out_of_memory_(Instance::null()),
76 preallocated_stack_trace_(Stacktrace::null()), 76 preallocated_stack_trace_(Stacktrace::null()),
77 receive_port_create_function_(Function::null()), 77 lookup_port_handler_(Function::null()),
78 lookup_receive_port_function_(Function::null()),
79 handle_message_function_(Function::null()) { 78 handle_message_function_(Function::null()) {
80 } 79 }
81 80
82 81
83 ObjectStore::~ObjectStore() { 82 ObjectStore::~ObjectStore() {
84 } 83 }
85 84
86 85
87 void ObjectStore::VisitObjectPointers(ObjectPointerVisitor* visitor) { 86 void ObjectStore::VisitObjectPointers(ObjectPointerVisitor* visitor) {
88 ASSERT(visitor != NULL); 87 ASSERT(visitor != NULL);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array)); 141 Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array));
143 // Expansion of inlined functions requires additional memory at run time, 142 // Expansion of inlined functions requires additional memory at run time,
144 // avoid it. 143 // avoid it.
145 stack_trace.set_expand_inlined(false); 144 stack_trace.set_expand_inlined(false);
146 set_preallocated_stack_trace(stack_trace); 145 set_preallocated_stack_trace(stack_trace);
147 146
148 return true; 147 return true;
149 } 148 }
150 149
151 } // namespace dart 150 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/port_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698