| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 symbol_table_(Array::null()), | 67 symbol_table_(Array::null()), |
| 68 canonical_type_arguments_(Array::null()), | 68 canonical_type_arguments_(Array::null()), |
| 69 async_library_(Library::null()), |
| 70 builtin_library_(Library::null()), |
| 69 core_library_(Library::null()), | 71 core_library_(Library::null()), |
| 70 core_impl_library_(Library::null()), | 72 core_impl_library_(Library::null()), |
| 73 crypto_library_(Library::null()), |
| 74 isolate_library_(Library::null()), |
| 75 json_library_(Library::null()), |
| 71 math_library_(Library::null()), | 76 math_library_(Library::null()), |
| 72 isolate_library_(Library::null()), | |
| 73 mirrors_library_(Library::null()), | 77 mirrors_library_(Library::null()), |
| 78 native_wrappers_library_(Library::null()), |
| 79 root_library_(Library::null()), |
| 74 scalarlist_library_(Library::null()), | 80 scalarlist_library_(Library::null()), |
| 75 native_wrappers_library_(Library::null()), | 81 uri_library_(Library::null()), |
| 76 builtin_library_(Library::null()), | 82 utf_library_(Library::null()), |
| 77 root_library_(Library::null()), | |
| 78 libraries_(GrowableObjectArray::null()), | 83 libraries_(GrowableObjectArray::null()), |
| 79 pending_classes_(GrowableObjectArray::null()), | 84 pending_classes_(GrowableObjectArray::null()), |
| 80 sticky_error_(Error::null()), | 85 sticky_error_(Error::null()), |
| 81 unhandled_exception_handler_(String::null()), | 86 unhandled_exception_handler_(String::null()), |
| 82 empty_context_(Context::null()), | 87 empty_context_(Context::null()), |
| 83 stack_overflow_(Instance::null()), | 88 stack_overflow_(Instance::null()), |
| 84 out_of_memory_(Instance::null()), | 89 out_of_memory_(Instance::null()), |
| 85 keyword_symbols_(Array::null()), | 90 keyword_symbols_(Array::null()), |
| 86 receive_port_create_function_(Function::null()), | 91 receive_port_create_function_(Function::null()), |
| 87 lookup_receive_port_function_(Function::null()), | 92 lookup_receive_port_function_(Function::null()), |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 void ObjectStore::InitKeywordTable() { | 144 void ObjectStore::InitKeywordTable() { |
| 140 // Set up the keywords symbol array so that we can access it while scanning. | 145 // Set up the keywords symbol array so that we can access it while scanning. |
| 141 Array& keywords = Array::Handle(keyword_symbols()); | 146 Array& keywords = Array::Handle(keyword_symbols()); |
| 142 ASSERT(keywords.IsNull()); | 147 ASSERT(keywords.IsNull()); |
| 143 keywords = Array::New(Token::numKeywords, Heap::kOld); | 148 keywords = Array::New(Token::numKeywords, Heap::kOld); |
| 144 ASSERT(!keywords.IsError() && !keywords.IsNull()); | 149 ASSERT(!keywords.IsError() && !keywords.IsNull()); |
| 145 set_keyword_symbols(keywords); | 150 set_keyword_symbols(keywords); |
| 146 } | 151 } |
| 147 | 152 |
| 148 } // namespace dart | 153 } // namespace dart |
| OLD | NEW |