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/dart_entry.h" | 8 #include "vm/dart_entry.h" |
9 #include "vm/isolate.h" | 9 #include "vm/isolate.h" |
10 #include "vm/object.h" | 10 #include "vm/object.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 error_listeners_(GrowableObjectArray::null()), | 83 error_listeners_(GrowableObjectArray::null()), |
84 empty_context_(Context::null()), | 84 empty_context_(Context::null()), |
85 stack_overflow_(Instance::null()), | 85 stack_overflow_(Instance::null()), |
86 out_of_memory_(Instance::null()), | 86 out_of_memory_(Instance::null()), |
87 preallocated_unhandled_exception_(UnhandledException::null()), | 87 preallocated_unhandled_exception_(UnhandledException::null()), |
88 preallocated_stack_trace_(Stacktrace::null()), | 88 preallocated_stack_trace_(Stacktrace::null()), |
89 lookup_port_handler_(Function::null()), | 89 lookup_port_handler_(Function::null()), |
90 empty_uint32_array_(TypedData::null()), | 90 empty_uint32_array_(TypedData::null()), |
91 handle_message_function_(Function::null()), | 91 handle_message_function_(Function::null()), |
92 library_load_error_table_(Array::null()), | 92 library_load_error_table_(Array::null()), |
93 compile_time_constants_(Array::null()), | 93 vm_compile_time_constants_(Array::null()), |
94 unique_dynamic_targets_(Array::null()), | 94 unique_dynamic_targets_(Array::null()), |
95 token_objects_(GrowableObjectArray::null()), | 95 token_objects_(GrowableObjectArray::null()), |
96 token_objects_map_(Array::null()), | 96 token_objects_map_(Array::null()), |
97 megamorphic_cache_table_(GrowableObjectArray::null()), | 97 megamorphic_cache_table_(GrowableObjectArray::null()), |
98 megamorphic_miss_code_(Code::null()), | 98 megamorphic_miss_code_(Code::null()), |
99 megamorphic_miss_function_(Function::null()) { | 99 megamorphic_miss_function_(Function::null()) { |
100 for (RawObject** current = from(); current <= to(); current++) { | 100 for (RawObject** current = from(); current <= to(); current++) { |
101 ASSERT(*current == Object::null()); | 101 ASSERT(*current == Object::null()); |
102 } | 102 } |
103 } | 103 } |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 ASSERT(!cls.IsNull()); | 225 ASSERT(!cls.IsNull()); |
226 set_stream_iterator_class(cls); | 226 set_stream_iterator_class(cls); |
227 | 227 |
228 const Library& internal_lib = Library::Handle(internal_library()); | 228 const Library& internal_lib = Library::Handle(internal_library()); |
229 cls = internal_lib.LookupClass(Symbols::Symbol()); | 229 cls = internal_lib.LookupClass(Symbols::Symbol()); |
230 set_symbol_class(cls); | 230 set_symbol_class(cls); |
231 #endif | 231 #endif |
232 } | 232 } |
233 | 233 |
234 } // namespace dart | 234 } // namespace dart |
OLD | NEW |