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/isolate.h" | 7 #include "vm/isolate.h" |
8 #include "vm/object.h" | 8 #include "vm/object.h" |
9 #include "vm/raw_object.h" | 9 #include "vm/raw_object.h" |
10 #include "vm/visitor.h" | 10 #include "vm/visitor.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 immutable_array_class_(Class::null()), | 32 immutable_array_class_(Class::null()), |
33 unhandled_exception_class_(Class::null()), | 33 unhandled_exception_class_(Class::null()), |
34 stacktrace_class_(Class::null()), | 34 stacktrace_class_(Class::null()), |
35 jsregexp_class_(Class::null()), | 35 jsregexp_class_(Class::null()), |
36 true_value_(Bool::null()), | 36 true_value_(Bool::null()), |
37 false_value_(Bool::null()), | 37 false_value_(Bool::null()), |
38 empty_array_(Array::null()), | 38 empty_array_(Array::null()), |
39 symbol_table_(Array::null()), | 39 symbol_table_(Array::null()), |
40 core_library_(Library::null()), | 40 core_library_(Library::null()), |
41 core_impl_library_(Library::null()), | 41 core_impl_library_(Library::null()), |
| 42 native_wrappers_library_(Library::null()), |
42 root_library_(Library::null()), | 43 root_library_(Library::null()), |
43 registered_libraries_(Library::null()), | 44 registered_libraries_(Library::null()), |
44 pending_classes_(Array::null()), | 45 pending_classes_(Array::null()), |
45 sticky_error_(String::null()), | 46 sticky_error_(String::null()), |
46 empty_context_(Context::null()) { | 47 empty_context_(Context::null()) { |
47 } | 48 } |
48 | 49 |
49 | 50 |
50 ObjectStore::~ObjectStore() { | 51 ObjectStore::~ObjectStore() { |
51 } | 52 } |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 return kBoolInterface; | 168 return kBoolInterface; |
168 } else if (raw_type == string_interface()) { | 169 } else if (raw_type == string_interface()) { |
169 return kStringInterface; | 170 return kStringInterface; |
170 } else if (raw_type == list_interface()) { | 171 } else if (raw_type == list_interface()) { |
171 return kListInterface; | 172 return kListInterface; |
172 } | 173 } |
173 return kInvalidIndex; | 174 return kInvalidIndex; |
174 } | 175 } |
175 | 176 |
176 } // namespace dart | 177 } // namespace dart |
OLD | NEW |