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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 native_wrappers_library_(Library::null()), | 69 native_wrappers_library_(Library::null()), |
70 root_library_(Library::null()), | 70 root_library_(Library::null()), |
71 typed_data_library_(Library::null()), | 71 typed_data_library_(Library::null()), |
72 profiler_library_(Library::null()), | 72 profiler_library_(Library::null()), |
73 libraries_(GrowableObjectArray::null()), | 73 libraries_(GrowableObjectArray::null()), |
74 pending_classes_(GrowableObjectArray::null()), | 74 pending_classes_(GrowableObjectArray::null()), |
75 pending_functions_(GrowableObjectArray::null()), | 75 pending_functions_(GrowableObjectArray::null()), |
76 pending_deferred_loads_(GrowableObjectArray::null()), | 76 pending_deferred_loads_(GrowableObjectArray::null()), |
77 resume_capabilities_(GrowableObjectArray::null()), | 77 resume_capabilities_(GrowableObjectArray::null()), |
78 sticky_error_(Error::null()), | 78 sticky_error_(Error::null()), |
79 unhandled_exception_handler_(String::null()), | |
80 empty_context_(Context::null()), | 79 empty_context_(Context::null()), |
81 stack_overflow_(Instance::null()), | 80 stack_overflow_(Instance::null()), |
82 out_of_memory_(Instance::null()), | 81 out_of_memory_(Instance::null()), |
83 preallocated_unhandled_exception_(UnhandledException::null()), | 82 preallocated_unhandled_exception_(UnhandledException::null()), |
84 preallocated_stack_trace_(Stacktrace::null()), | 83 preallocated_stack_trace_(Stacktrace::null()), |
85 lookup_port_handler_(Function::null()), | 84 lookup_port_handler_(Function::null()), |
86 empty_uint32_array_(TypedData::null()), | 85 empty_uint32_array_(TypedData::null()), |
87 handle_message_function_(Function::null()), | 86 handle_message_function_(Function::null()), |
88 library_load_error_table_(Array::null()) { | 87 library_load_error_table_(Array::null()) { |
89 for (RawObject** current = from(); current <= to(); current++) { | 88 for (RawObject** current = from(); current <= to(); current++) { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 cls = async_lib.LookupClass(Symbols::StreamIterator()); | 186 cls = async_lib.LookupClass(Symbols::StreamIterator()); |
188 ASSERT(!cls.IsNull()); | 187 ASSERT(!cls.IsNull()); |
189 set_stream_iterator_class(cls); | 188 set_stream_iterator_class(cls); |
190 | 189 |
191 const Library& internal_lib = Library::Handle(internal_library()); | 190 const Library& internal_lib = Library::Handle(internal_library()); |
192 cls = internal_lib.LookupClass(Symbols::Symbol()); | 191 cls = internal_lib.LookupClass(Symbols::Symbol()); |
193 set_symbol_class(cls); | 192 set_symbol_class(cls); |
194 } | 193 } |
195 | 194 |
196 } // namespace dart | 195 } // namespace dart |
OLD | NEW |