| 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" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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()), |
| 34 float32x4_type_(Type::null()), | 34 float32x4_type_(Type::null()), |
| 35 int32x4_type_(Type::null()), | 35 int32x4_type_(Type::null()), |
| 36 float64x2_type_(Type::null()), | 36 float64x2_type_(Type::null()), |
| 37 string_type_(Type::null()), | 37 string_type_(Type::null()), |
| 38 future_class_(Class::null()), | 38 future_class_(Class::null()), |
| 39 completer_class_(Class::null()), | 39 completer_class_(Class::null()), |
| 40 stream_iterator_class_(Class::null()), |
| 40 one_byte_string_class_(Class::null()), | 41 one_byte_string_class_(Class::null()), |
| 41 two_byte_string_class_(Class::null()), | 42 two_byte_string_class_(Class::null()), |
| 42 external_one_byte_string_class_(Class::null()), | 43 external_one_byte_string_class_(Class::null()), |
| 43 external_two_byte_string_class_(Class::null()), | 44 external_two_byte_string_class_(Class::null()), |
| 44 bool_type_(Type::null()), | 45 bool_type_(Type::null()), |
| 45 bool_class_(Class::null()), | 46 bool_class_(Class::null()), |
| 46 array_class_(Class::null()), | 47 array_class_(Class::null()), |
| 47 array_type_(Type::null()), | 48 array_type_(Type::null()), |
| 48 immutable_array_class_(Class::null()), | 49 immutable_array_class_(Class::null()), |
| 49 growable_object_array_class_(Class::null()), | 50 growable_object_array_class_(Class::null()), |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 176 |
| 176 const Library& async_lib = Library::Handle(async_library()); | 177 const Library& async_lib = Library::Handle(async_library()); |
| 177 ASSERT(!async_lib.IsNull()); | 178 ASSERT(!async_lib.IsNull()); |
| 178 Class& cls = Class::Handle(isolate); | 179 Class& cls = Class::Handle(isolate); |
| 179 cls = async_lib.LookupClass(Symbols::Future()); | 180 cls = async_lib.LookupClass(Symbols::Future()); |
| 180 ASSERT(!cls.IsNull()); | 181 ASSERT(!cls.IsNull()); |
| 181 set_future_class(cls); | 182 set_future_class(cls); |
| 182 cls = async_lib.LookupClass(Symbols::Completer()); | 183 cls = async_lib.LookupClass(Symbols::Completer()); |
| 183 ASSERT(!cls.IsNull()); | 184 ASSERT(!cls.IsNull()); |
| 184 set_completer_class(cls); | 185 set_completer_class(cls); |
| 186 cls = async_lib.LookupClass(Symbols::StreamIterator()); |
| 187 ASSERT(!cls.IsNull()); |
| 188 set_stream_iterator_class(cls); |
| 185 } | 189 } |
| 186 | 190 |
| 187 } // namespace dart | 191 } // namespace dart |
| OLD | NEW |