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/longjump.h" | 9 #include "vm/longjump.h" |
10 #include "vm/object.h" | 10 #include "vm/object.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 false_value_(Bool::null()), | 42 false_value_(Bool::null()), |
43 empty_array_(Array::null()), | 43 empty_array_(Array::null()), |
44 symbol_table_(Array::null()), | 44 symbol_table_(Array::null()), |
45 canonical_type_arguments_(Array::null()), | 45 canonical_type_arguments_(Array::null()), |
46 core_library_(Library::null()), | 46 core_library_(Library::null()), |
47 core_impl_library_(Library::null()), | 47 core_impl_library_(Library::null()), |
48 native_wrappers_library_(Library::null()), | 48 native_wrappers_library_(Library::null()), |
49 root_library_(Library::null()), | 49 root_library_(Library::null()), |
50 registered_libraries_(Library::null()), | 50 registered_libraries_(Library::null()), |
51 pending_classes_(Array::null()), | 51 pending_classes_(Array::null()), |
52 sticky_error_(String::null()), | 52 sticky_error_(Error::null()), |
53 empty_context_(Context::null()), | 53 empty_context_(Context::null()), |
54 stack_overflow_(Instance::null()), | 54 stack_overflow_(Instance::null()), |
55 out_of_memory_(Instance::null()), | 55 out_of_memory_(Instance::null()), |
56 preallocate_objects_called_(false) { | 56 preallocate_objects_called_(false) { |
57 } | 57 } |
58 | 58 |
59 | 59 |
60 ObjectStore::~ObjectStore() { | 60 ObjectStore::~ObjectStore() { |
61 } | 61 } |
62 | 62 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 return kBoolInterface; | 209 return kBoolInterface; |
210 } else if (raw_type == string_interface()) { | 210 } else if (raw_type == string_interface()) { |
211 return kStringInterface; | 211 return kStringInterface; |
212 } else if (raw_type == list_interface()) { | 212 } else if (raw_type == list_interface()) { |
213 return kListInterface; | 213 return kListInterface; |
214 } | 214 } |
215 return kInvalidIndex; | 215 return kInvalidIndex; |
216 } | 216 } |
217 | 217 |
218 } // namespace dart | 218 } // namespace dart |
OLD | NEW |