| 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/isolate.h" | 8 #include "vm/isolate.h" |
| 9 #include "vm/object.h" | 9 #include "vm/object.h" |
| 10 #include "vm/raw_object.h" | 10 #include "vm/raw_object.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 mint_class_(Class::null()), | 27 mint_class_(Class::null()), |
| 28 bigint_class_(Class::null()), | 28 bigint_class_(Class::null()), |
| 29 double_class_(Class::null()), | 29 double_class_(Class::null()), |
| 30 string_type_(Type::null()), | 30 string_type_(Type::null()), |
| 31 one_byte_string_class_(Class::null()), | 31 one_byte_string_class_(Class::null()), |
| 32 two_byte_string_class_(Class::null()), | 32 two_byte_string_class_(Class::null()), |
| 33 external_one_byte_string_class_(Class::null()), | 33 external_one_byte_string_class_(Class::null()), |
| 34 external_two_byte_string_class_(Class::null()), | 34 external_two_byte_string_class_(Class::null()), |
| 35 bool_type_(Type::null()), | 35 bool_type_(Type::null()), |
| 36 bool_class_(Class::null()), | 36 bool_class_(Class::null()), |
| 37 list_class_(Class::null()), | |
| 38 array_class_(Class::null()), | 37 array_class_(Class::null()), |
| 39 array_type_(Type::null()), | 38 array_type_(Type::null()), |
| 40 immutable_array_class_(Class::null()), | 39 immutable_array_class_(Class::null()), |
| 41 growable_object_array_class_(Class::null()), | 40 growable_object_array_class_(Class::null()), |
| 42 float32x4_class_(Class::null()), | 41 float32x4_class_(Class::null()), |
| 43 uint32x4_class_(Class::null()), | 42 uint32x4_class_(Class::null()), |
| 44 typed_data_classes_(Array::null()), | 43 typed_data_classes_(Array::null()), |
| 45 stacktrace_class_(Class::null()), | 44 stacktrace_class_(Class::null()), |
| 46 jsregexp_class_(Class::null()), | 45 jsregexp_class_(Class::null()), |
| 47 weak_property_class_(Class::null()), | 46 weak_property_class_(Class::null()), |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 void ObjectStore::InitKeywordTable() { | 135 void ObjectStore::InitKeywordTable() { |
| 137 // Set up the keywords symbol array so that we can access it while scanning. | 136 // Set up the keywords symbol array so that we can access it while scanning. |
| 138 Array& keywords = Array::Handle(keyword_symbols()); | 137 Array& keywords = Array::Handle(keyword_symbols()); |
| 139 ASSERT(keywords.IsNull()); | 138 ASSERT(keywords.IsNull()); |
| 140 keywords = Array::New(Token::numKeywords, Heap::kOld); | 139 keywords = Array::New(Token::numKeywords, Heap::kOld); |
| 141 ASSERT(!keywords.IsError() && !keywords.IsNull()); | 140 ASSERT(!keywords.IsError() && !keywords.IsNull()); |
| 142 set_keyword_symbols(keywords); | 141 set_keyword_symbols(keywords); |
| 143 } | 142 } |
| 144 | 143 |
| 145 } // namespace dart | 144 } // namespace dart |
| OLD | NEW |