| 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 23 matching lines...) Expand all Loading... |
| 34 two_byte_string_class_(Class::null()), | 34 two_byte_string_class_(Class::null()), |
| 35 external_one_byte_string_class_(Class::null()), | 35 external_one_byte_string_class_(Class::null()), |
| 36 external_two_byte_string_class_(Class::null()), | 36 external_two_byte_string_class_(Class::null()), |
| 37 bool_type_(Type::null()), | 37 bool_type_(Type::null()), |
| 38 bool_class_(Class::null()), | 38 bool_class_(Class::null()), |
| 39 array_class_(Class::null()), | 39 array_class_(Class::null()), |
| 40 array_type_(Type::null()), | 40 array_type_(Type::null()), |
| 41 immutable_array_class_(Class::null()), | 41 immutable_array_class_(Class::null()), |
| 42 growable_object_array_class_(Class::null()), | 42 growable_object_array_class_(Class::null()), |
| 43 float32x4_class_(Class::null()), | 43 float32x4_class_(Class::null()), |
| 44 uint32x4_class_(Class::null()), | 44 int32x4_class_(Class::null()), |
| 45 typed_data_classes_(Array::null()), | 45 typed_data_classes_(Array::null()), |
| 46 error_class_(Class::null()), | 46 error_class_(Class::null()), |
| 47 stacktrace_class_(Class::null()), | 47 stacktrace_class_(Class::null()), |
| 48 jsregexp_class_(Class::null()), | 48 jsregexp_class_(Class::null()), |
| 49 weak_property_class_(Class::null()), | 49 weak_property_class_(Class::null()), |
| 50 mirror_reference_class_(Class::null()), | 50 mirror_reference_class_(Class::null()), |
| 51 symbol_table_(Array::null()), | 51 symbol_table_(Array::null()), |
| 52 canonical_type_arguments_(Array::null()), | 52 canonical_type_arguments_(Array::null()), |
| 53 async_library_(Library::null()), | 53 async_library_(Library::null()), |
| 54 builtin_library_(Library::null()), | 54 builtin_library_(Library::null()), |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 void ObjectStore::InitKeywordTable() { | 147 void ObjectStore::InitKeywordTable() { |
| 148 // Set up the keywords symbol array so that we can access it while scanning. | 148 // Set up the keywords symbol array so that we can access it while scanning. |
| 149 Array& keywords = Array::Handle(keyword_symbols()); | 149 Array& keywords = Array::Handle(keyword_symbols()); |
| 150 ASSERT(keywords.IsNull()); | 150 ASSERT(keywords.IsNull()); |
| 151 keywords = Array::New(Token::numKeywords, Heap::kOld); | 151 keywords = Array::New(Token::numKeywords, Heap::kOld); |
| 152 ASSERT(!keywords.IsError() && !keywords.IsNull()); | 152 ASSERT(!keywords.IsError() && !keywords.IsNull()); |
| 153 set_keyword_symbols(keywords); | 153 set_keyword_symbols(keywords); |
| 154 } | 154 } |
| 155 | 155 |
| 156 } // namespace dart | 156 } // namespace dart |
| OLD | NEW |