OLD | NEW |
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 empty_array_(Array::null()), | 63 empty_array_(Array::null()), |
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 isolate_library_(Library::null()), | 68 isolate_library_(Library::null()), |
69 mirrors_library_(Library::null()), | 69 mirrors_library_(Library::null()), |
70 native_wrappers_library_(Library::null()), | 70 native_wrappers_library_(Library::null()), |
71 builtin_library_(Library::null()), | 71 builtin_library_(Library::null()), |
72 root_library_(Library::null()), | 72 root_library_(Library::null()), |
| 73 import_map_(Array::null()), |
73 registered_libraries_(Library::null()), | 74 registered_libraries_(Library::null()), |
74 pending_classes_(GrowableObjectArray::null()), | 75 pending_classes_(GrowableObjectArray::null()), |
75 sticky_error_(Error::null()), | 76 sticky_error_(Error::null()), |
76 empty_context_(Context::null()), | 77 empty_context_(Context::null()), |
77 stack_overflow_(Instance::null()), | 78 stack_overflow_(Instance::null()), |
78 out_of_memory_(Instance::null()), | 79 out_of_memory_(Instance::null()), |
79 keyword_symbols_(Array::null()) { | 80 keyword_symbols_(Array::null()) { |
80 } | 81 } |
81 | 82 |
82 | 83 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 return kStringInterface; | 310 return kStringInterface; |
310 } else if (raw_type == list_interface()) { | 311 } else if (raw_type == list_interface()) { |
311 return kListInterface; | 312 return kListInterface; |
312 } else if (raw_type == byte_array_interface()) { | 313 } else if (raw_type == byte_array_interface()) { |
313 return kByteArrayInterface; | 314 return kByteArrayInterface; |
314 } | 315 } |
315 return kInvalidIndex; | 316 return kInvalidIndex; |
316 } | 317 } |
317 | 318 |
318 } // namespace dart | 319 } // namespace dart |
OLD | NEW |