| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 29 matching lines...) Expand all Loading... |
| 40 stacktrace_class_(Class::null()), | 40 stacktrace_class_(Class::null()), |
| 41 jsregexp_class_(Class::null()), | 41 jsregexp_class_(Class::null()), |
| 42 true_value_(Bool::null()), | 42 true_value_(Bool::null()), |
| 43 false_value_(Bool::null()), | 43 false_value_(Bool::null()), |
| 44 empty_array_(Array::null()), | 44 empty_array_(Array::null()), |
| 45 symbol_table_(Array::null()), | 45 symbol_table_(Array::null()), |
| 46 canonical_type_arguments_(Array::null()), | 46 canonical_type_arguments_(Array::null()), |
| 47 core_library_(Library::null()), | 47 core_library_(Library::null()), |
| 48 core_impl_library_(Library::null()), | 48 core_impl_library_(Library::null()), |
| 49 native_wrappers_library_(Library::null()), | 49 native_wrappers_library_(Library::null()), |
| 50 builtin_library_(Library::null()), |
| 50 root_library_(Library::null()), | 51 root_library_(Library::null()), |
| 51 registered_libraries_(Library::null()), | 52 registered_libraries_(Library::null()), |
| 52 pending_classes_(Array::null()), | 53 pending_classes_(Array::null()), |
| 53 sticky_error_(Error::null()), | 54 sticky_error_(Error::null()), |
| 54 empty_context_(Context::null()), | 55 empty_context_(Context::null()), |
| 55 stack_overflow_(Instance::null()), | 56 stack_overflow_(Instance::null()), |
| 56 out_of_memory_(Instance::null()), | 57 out_of_memory_(Instance::null()), |
| 57 keyword_symbols_(Array::null()) { | 58 keyword_symbols_(Array::null()) { |
| 58 } | 59 } |
| 59 | 60 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 return kStringInterface; | 231 return kStringInterface; |
| 231 } else if (raw_type == list_interface()) { | 232 } else if (raw_type == list_interface()) { |
| 232 return kListInterface; | 233 return kListInterface; |
| 233 } else if (raw_type == byte_array_interface()) { | 234 } else if (raw_type == byte_array_interface()) { |
| 234 return kByteArrayInterface; | 235 return kByteArrayInterface; |
| 235 } | 236 } |
| 236 return kInvalidIndex; | 237 return kInvalidIndex; |
| 237 } | 238 } |
| 238 | 239 |
| 239 } // namespace dart | 240 } // namespace dart |
| OLD | NEW |