OLD | NEW |
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" |
11 #include "vm/raw_object.h" | 11 #include "vm/raw_object.h" |
12 #include "vm/symbols.h" | 12 #include "vm/symbols.h" |
13 #include "vm/visitor.h" | 13 #include "vm/visitor.h" |
14 | 14 |
15 namespace dart { | 15 namespace dart { |
16 | 16 |
17 ObjectStore::ObjectStore() | 17 ObjectStore::ObjectStore() |
18 : object_class_(Class::null()), | 18 : object_class_(Class::null()), |
19 object_type_(Type::null()), | 19 object_type_(Type::null()), |
20 null_class_(Class::null()), | 20 null_class_(Class::null()), |
21 null_type_(Type::null()), | 21 null_type_(Type::null()), |
22 function_type_(Type::null()), | 22 function_type_(Type::null()), |
23 function_impl_type_(Type::null()), | 23 closure_class_(Class::null()), |
24 number_type_(Type::null()), | 24 number_type_(Type::null()), |
25 int_type_(Type::null()), | 25 int_type_(Type::null()), |
26 integer_implementation_class_(Class::null()), | 26 integer_implementation_class_(Class::null()), |
27 smi_class_(Class::null()), | 27 smi_class_(Class::null()), |
28 smi_type_(Type::null()), | 28 smi_type_(Type::null()), |
29 mint_class_(Class::null()), | 29 mint_class_(Class::null()), |
30 mint_type_(Type::null()), | 30 mint_type_(Type::null()), |
31 bigint_class_(Class::null()), | 31 bigint_class_(Class::null()), |
32 double_class_(Class::null()), | 32 double_class_(Class::null()), |
33 double_type_(Type::null()), | 33 double_type_(Type::null()), |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 cls = async_lib.LookupClass(Symbols::StreamIterator()); | 201 cls = async_lib.LookupClass(Symbols::StreamIterator()); |
202 ASSERT(!cls.IsNull()); | 202 ASSERT(!cls.IsNull()); |
203 set_stream_iterator_class(cls); | 203 set_stream_iterator_class(cls); |
204 | 204 |
205 const Library& internal_lib = Library::Handle(internal_library()); | 205 const Library& internal_lib = Library::Handle(internal_library()); |
206 cls = internal_lib.LookupClass(Symbols::Symbol()); | 206 cls = internal_lib.LookupClass(Symbols::Symbol()); |
207 set_symbol_class(cls); | 207 set_symbol_class(cls); |
208 } | 208 } |
209 | 209 |
210 } // namespace dart | 210 } // namespace dart |
OLD | NEW |