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