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

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

Issue 10414084: Replace linked list of loaded libraries (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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/isolate.h" 8 #include "vm/isolate.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/raw_object.h" 10 #include "vm/raw_object.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 symbol_table_(Array::null()), 64 symbol_table_(Array::null()),
65 canonical_type_arguments_(Array::null()), 65 canonical_type_arguments_(Array::null()),
66 core_library_(Library::null()), 66 core_library_(Library::null()),
67 core_impl_library_(Library::null()), 67 core_impl_library_(Library::null()),
68 math_library_(Library::null()), 68 math_library_(Library::null()),
69 isolate_library_(Library::null()), 69 isolate_library_(Library::null()),
70 mirrors_library_(Library::null()), 70 mirrors_library_(Library::null()),
71 native_wrappers_library_(Library::null()), 71 native_wrappers_library_(Library::null()),
72 builtin_library_(Library::null()), 72 builtin_library_(Library::null()),
73 root_library_(Library::null()), 73 root_library_(Library::null()),
74 libraries_(GrowableObjectArray::null()),
74 import_map_(Array::null()), 75 import_map_(Array::null()),
75 registered_libraries_(Library::null()),
76 pending_classes_(GrowableObjectArray::null()), 76 pending_classes_(GrowableObjectArray::null()),
77 sticky_error_(Error::null()), 77 sticky_error_(Error::null()),
78 empty_context_(Context::null()), 78 empty_context_(Context::null()),
79 stack_overflow_(Instance::null()), 79 stack_overflow_(Instance::null()),
80 out_of_memory_(Instance::null()), 80 out_of_memory_(Instance::null()),
81 keyword_symbols_(Array::null()) { 81 keyword_symbols_(Array::null()) {
82 } 82 }
83 83
84 84
85 ObjectStore::~ObjectStore() { 85 ObjectStore::~ObjectStore() {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 return kStringInterface; 311 return kStringInterface;
312 } else if (raw_type == list_interface()) { 312 } else if (raw_type == list_interface()) {
313 return kListInterface; 313 return kListInterface;
314 } else if (raw_type == byte_array_interface()) { 314 } else if (raw_type == byte_array_interface()) {
315 return kByteArrayInterface; 315 return kByteArrayInterface;
316 } 316 }
317 return kInvalidIndex; 317 return kInvalidIndex;
318 } 318 }
319 319
320 } // namespace dart 320 } // 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