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

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

Issue 2780393005: Move the canonical empty context to the VM isolate. (Closed)
Patch Set: . Created 3 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
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/raw_object.h » ('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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 typed_data_library_(Library::null()), 76 typed_data_library_(Library::null()),
77 _vmservice_library_(Library::null()), 77 _vmservice_library_(Library::null()),
78 libraries_(GrowableObjectArray::null()), 78 libraries_(GrowableObjectArray::null()),
79 libraries_map_(Array::null()), 79 libraries_map_(Array::null()),
80 closure_functions_(GrowableObjectArray::null()), 80 closure_functions_(GrowableObjectArray::null()),
81 pending_classes_(GrowableObjectArray::null()), 81 pending_classes_(GrowableObjectArray::null()),
82 pending_deferred_loads_(GrowableObjectArray::null()), 82 pending_deferred_loads_(GrowableObjectArray::null()),
83 resume_capabilities_(GrowableObjectArray::null()), 83 resume_capabilities_(GrowableObjectArray::null()),
84 exit_listeners_(GrowableObjectArray::null()), 84 exit_listeners_(GrowableObjectArray::null()),
85 error_listeners_(GrowableObjectArray::null()), 85 error_listeners_(GrowableObjectArray::null()),
86 empty_context_(Context::null()),
87 stack_overflow_(Instance::null()), 86 stack_overflow_(Instance::null()),
88 out_of_memory_(Instance::null()), 87 out_of_memory_(Instance::null()),
89 preallocated_unhandled_exception_(UnhandledException::null()), 88 preallocated_unhandled_exception_(UnhandledException::null()),
90 preallocated_stack_trace_(StackTrace::null()), 89 preallocated_stack_trace_(StackTrace::null()),
91 lookup_port_handler_(Function::null()), 90 lookup_port_handler_(Function::null()),
92 empty_uint32_array_(TypedData::null()), 91 empty_uint32_array_(TypedData::null()),
93 handle_message_function_(Function::null()), 92 handle_message_function_(Function::null()),
94 simple_instance_of_function_(Function::null()), 93 simple_instance_of_function_(Function::null()),
95 simple_instance_of_true_function_(Function::null()), 94 simple_instance_of_true_function_(Function::null()),
96 simple_instance_of_false_function_(Function::null()), 95 simple_instance_of_false_function_(Function::null()),
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 simple_instance_of_function_ = 310 simple_instance_of_function_ =
312 PrivateObjectLookup(Symbols::_simpleInstanceOf()); 311 PrivateObjectLookup(Symbols::_simpleInstanceOf());
313 simple_instance_of_true_function_ = 312 simple_instance_of_true_function_ =
314 PrivateObjectLookup(Symbols::_simpleInstanceOfTrue()); 313 PrivateObjectLookup(Symbols::_simpleInstanceOfTrue());
315 simple_instance_of_false_function_ = 314 simple_instance_of_false_function_ =
316 PrivateObjectLookup(Symbols::_simpleInstanceOfFalse()); 315 PrivateObjectLookup(Symbols::_simpleInstanceOfFalse());
317 #endif 316 #endif
318 } 317 }
319 318
320 } // namespace dart 319 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698