| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 external_int16_array_class_(Class::null()), | 52 external_int16_array_class_(Class::null()), |
| 53 external_uint16_array_class_(Class::null()), | 53 external_uint16_array_class_(Class::null()), |
| 54 external_int32_array_class_(Class::null()), | 54 external_int32_array_class_(Class::null()), |
| 55 external_uint32_array_class_(Class::null()), | 55 external_uint32_array_class_(Class::null()), |
| 56 external_int64_array_class_(Class::null()), | 56 external_int64_array_class_(Class::null()), |
| 57 external_uint64_array_class_(Class::null()), | 57 external_uint64_array_class_(Class::null()), |
| 58 external_float32_array_class_(Class::null()), | 58 external_float32_array_class_(Class::null()), |
| 59 external_float64_array_class_(Class::null()), | 59 external_float64_array_class_(Class::null()), |
| 60 stacktrace_class_(Class::null()), | 60 stacktrace_class_(Class::null()), |
| 61 jsregexp_class_(Class::null()), | 61 jsregexp_class_(Class::null()), |
| 62 weak_property_class_(Class::null()), |
| 62 true_value_(Bool::null()), | 63 true_value_(Bool::null()), |
| 63 false_value_(Bool::null()), | 64 false_value_(Bool::null()), |
| 64 symbol_table_(Array::null()), | 65 symbol_table_(Array::null()), |
| 65 canonical_type_arguments_(Array::null()), | 66 canonical_type_arguments_(Array::null()), |
| 66 core_library_(Library::null()), | 67 core_library_(Library::null()), |
| 67 core_impl_library_(Library::null()), | 68 core_impl_library_(Library::null()), |
| 68 math_library_(Library::null()), | 69 math_library_(Library::null()), |
| 69 isolate_library_(Library::null()), | 70 isolate_library_(Library::null()), |
| 70 mirrors_library_(Library::null()), | 71 mirrors_library_(Library::null()), |
| 71 native_wrappers_library_(Library::null()), | 72 native_wrappers_library_(Library::null()), |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 void ObjectStore::InitKeywordTable() { | 130 void ObjectStore::InitKeywordTable() { |
| 130 // Set up the keywords symbol array so that we can access it while scanning. | 131 // Set up the keywords symbol array so that we can access it while scanning. |
| 131 Array& keywords = Array::Handle(keyword_symbols()); | 132 Array& keywords = Array::Handle(keyword_symbols()); |
| 132 ASSERT(keywords.IsNull()); | 133 ASSERT(keywords.IsNull()); |
| 133 keywords = Array::New(Token::numKeywords, Heap::kOld); | 134 keywords = Array::New(Token::numKeywords, Heap::kOld); |
| 134 ASSERT(!keywords.IsError() && !keywords.IsNull()); | 135 ASSERT(!keywords.IsError() && !keywords.IsNull()); |
| 135 set_keyword_symbols(keywords); | 136 set_keyword_symbols(keywords); |
| 136 } | 137 } |
| 137 | 138 |
| 138 } // namespace dart | 139 } // namespace dart |
| OLD | NEW |