| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 22 matching lines...) Expand all Loading... |
| 33 four_byte_string_class_(Class::null()), | 33 four_byte_string_class_(Class::null()), |
| 34 external_one_byte_string_class_(Class::null()), | 34 external_one_byte_string_class_(Class::null()), |
| 35 external_two_byte_string_class_(Class::null()), | 35 external_two_byte_string_class_(Class::null()), |
| 36 external_four_byte_string_class_(Class::null()), | 36 external_four_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 list_interface_(Type::null()), | 39 list_interface_(Type::null()), |
| 40 array_class_(Class::null()), | 40 array_class_(Class::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 byte_array_interface_(Type::null()), | |
| 44 int8_array_class_(Class::null()), | 43 int8_array_class_(Class::null()), |
| 45 uint8_array_class_(Class::null()), | 44 uint8_array_class_(Class::null()), |
| 46 int16_array_class_(Class::null()), | 45 int16_array_class_(Class::null()), |
| 47 uint16_array_class_(Class::null()), | 46 uint16_array_class_(Class::null()), |
| 48 int32_array_class_(Class::null()), | 47 int32_array_class_(Class::null()), |
| 49 uint32_array_class_(Class::null()), | 48 uint32_array_class_(Class::null()), |
| 50 int64_array_class_(Class::null()), | 49 int64_array_class_(Class::null()), |
| 51 uint64_array_class_(Class::null()), | 50 uint64_array_class_(Class::null()), |
| 52 float32_array_class_(Class::null()), | 51 float32_array_class_(Class::null()), |
| 53 float64_array_class_(Class::null()), | 52 float64_array_class_(Class::null()), |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 void ObjectStore::InitKeywordTable() { | 133 void ObjectStore::InitKeywordTable() { |
| 135 // Set up the keywords symbol array so that we can access it while scanning. | 134 // Set up the keywords symbol array so that we can access it while scanning. |
| 136 Array& keywords = Array::Handle(keyword_symbols()); | 135 Array& keywords = Array::Handle(keyword_symbols()); |
| 137 ASSERT(keywords.IsNull()); | 136 ASSERT(keywords.IsNull()); |
| 138 keywords = Array::New(Token::numKeywords, Heap::kOld); | 137 keywords = Array::New(Token::numKeywords, Heap::kOld); |
| 139 ASSERT(!keywords.IsError() && !keywords.IsNull()); | 138 ASSERT(!keywords.IsError() && !keywords.IsNull()); |
| 140 set_keyword_symbols(keywords); | 139 set_keyword_symbols(keywords); |
| 141 } | 140 } |
| 142 | 141 |
| 143 } // namespace dart | 142 } // namespace dart |
| OLD | NEW |