| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 external_uint16_array_class_(Class::null()), | 57 external_uint16_array_class_(Class::null()), |
| 58 external_int32_array_class_(Class::null()), | 58 external_int32_array_class_(Class::null()), |
| 59 external_uint32_array_class_(Class::null()), | 59 external_uint32_array_class_(Class::null()), |
| 60 external_int64_array_class_(Class::null()), | 60 external_int64_array_class_(Class::null()), |
| 61 external_uint64_array_class_(Class::null()), | 61 external_uint64_array_class_(Class::null()), |
| 62 external_float32_array_class_(Class::null()), | 62 external_float32_array_class_(Class::null()), |
| 63 external_float64_array_class_(Class::null()), | 63 external_float64_array_class_(Class::null()), |
| 64 stacktrace_class_(Class::null()), | 64 stacktrace_class_(Class::null()), |
| 65 jsregexp_class_(Class::null()), | 65 jsregexp_class_(Class::null()), |
| 66 weak_property_class_(Class::null()), | 66 weak_property_class_(Class::null()), |
| 67 true_value_(Bool::null()), | |
| 68 false_value_(Bool::null()), | |
| 69 symbol_table_(Array::null()), | 67 symbol_table_(Array::null()), |
| 70 canonical_type_arguments_(Array::null()), | 68 canonical_type_arguments_(Array::null()), |
| 71 core_library_(Library::null()), | 69 core_library_(Library::null()), |
| 72 core_impl_library_(Library::null()), | 70 core_impl_library_(Library::null()), |
| 73 math_library_(Library::null()), | 71 math_library_(Library::null()), |
| 74 isolate_library_(Library::null()), | 72 isolate_library_(Library::null()), |
| 75 mirrors_library_(Library::null()), | 73 mirrors_library_(Library::null()), |
| 76 scalarlist_library_(Library::null()), | 74 scalarlist_library_(Library::null()), |
| 77 native_wrappers_library_(Library::null()), | 75 native_wrappers_library_(Library::null()), |
| 78 builtin_library_(Library::null()), | 76 builtin_library_(Library::null()), |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 void ObjectStore::InitKeywordTable() { | 136 void ObjectStore::InitKeywordTable() { |
| 139 // Set up the keywords symbol array so that we can access it while scanning. | 137 // Set up the keywords symbol array so that we can access it while scanning. |
| 140 Array& keywords = Array::Handle(keyword_symbols()); | 138 Array& keywords = Array::Handle(keyword_symbols()); |
| 141 ASSERT(keywords.IsNull()); | 139 ASSERT(keywords.IsNull()); |
| 142 keywords = Array::New(Token::numKeywords, Heap::kOld); | 140 keywords = Array::New(Token::numKeywords, Heap::kOld); |
| 143 ASSERT(!keywords.IsError() && !keywords.IsNull()); | 141 ASSERT(!keywords.IsError() && !keywords.IsNull()); |
| 144 set_keyword_symbols(keywords); | 142 set_keyword_symbols(keywords); |
| 145 } | 143 } |
| 146 | 144 |
| 147 } // namespace dart | 145 } // namespace dart |
| OLD | NEW |