| 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 empty_context_(Context::null()), | 83 empty_context_(Context::null()), |
| 84 stack_overflow_(Instance::null()), | 84 stack_overflow_(Instance::null()), |
| 85 out_of_memory_(Instance::null()), | 85 out_of_memory_(Instance::null()), |
| 86 preallocated_unhandled_exception_(UnhandledException::null()), | 86 preallocated_unhandled_exception_(UnhandledException::null()), |
| 87 preallocated_stack_trace_(Stacktrace::null()), | 87 preallocated_stack_trace_(Stacktrace::null()), |
| 88 lookup_port_handler_(Function::null()), | 88 lookup_port_handler_(Function::null()), |
| 89 empty_uint32_array_(TypedData::null()), | 89 empty_uint32_array_(TypedData::null()), |
| 90 handle_message_function_(Function::null()), | 90 handle_message_function_(Function::null()), |
| 91 library_load_error_table_(Array::null()), | 91 library_load_error_table_(Array::null()), |
| 92 compile_time_constants_(Array::null()), | 92 compile_time_constants_(Array::null()), |
| 93 unique_dynamic_targets_(Array::null()), |
| 93 token_objects_(GrowableObjectArray::null()), | 94 token_objects_(GrowableObjectArray::null()), |
| 94 token_objects_map_(Array::null()), | 95 token_objects_map_(Array::null()), |
| 95 megamorphic_cache_table_(GrowableObjectArray::null()), | 96 megamorphic_cache_table_(GrowableObjectArray::null()), |
| 96 megamorphic_miss_code_(Code::null()), | 97 megamorphic_miss_code_(Code::null()), |
| 97 megamorphic_miss_function_(Function::null()) { | 98 megamorphic_miss_function_(Function::null()) { |
| 98 for (RawObject** current = from(); current <= to(); current++) { | 99 for (RawObject** current = from(); current <= to(); current++) { |
| 99 ASSERT(*current == Object::null()); | 100 ASSERT(*current == Object::null()); |
| 100 } | 101 } |
| 101 } | 102 } |
| 102 | 103 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 cls = async_lib.LookupClass(Symbols::StreamIterator()); | 201 cls = async_lib.LookupClass(Symbols::StreamIterator()); |
| 201 ASSERT(!cls.IsNull()); | 202 ASSERT(!cls.IsNull()); |
| 202 set_stream_iterator_class(cls); | 203 set_stream_iterator_class(cls); |
| 203 | 204 |
| 204 const Library& internal_lib = Library::Handle(internal_library()); | 205 const Library& internal_lib = Library::Handle(internal_library()); |
| 205 cls = internal_lib.LookupClass(Symbols::Symbol()); | 206 cls = internal_lib.LookupClass(Symbols::Symbol()); |
| 206 set_symbol_class(cls); | 207 set_symbol_class(cls); |
| 207 } | 208 } |
| 208 | 209 |
| 209 } // namespace dart | 210 } // namespace dart |
| OLD | NEW |