| 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" |
| 11 #include "vm/raw_object.h" | 11 #include "vm/raw_object.h" |
| 12 #include "vm/symbols.h" | 12 #include "vm/symbols.h" |
| 13 #include "vm/visitor.h" | 13 #include "vm/visitor.h" |
| 14 | 14 |
| 15 namespace dart { | 15 namespace dart { |
| 16 | 16 |
| 17 ObjectStore::ObjectStore() | 17 ObjectStore::ObjectStore() |
| 18 : object_class_(Class::null()), | 18 : object_class_(Class::null()), |
| 19 object_type_(Type::null()), | 19 object_type_(Type::null()), |
| 20 null_class_(Class::null()), | 20 null_class_(Class::null()), |
| 21 null_type_(Type::null()), | 21 null_type_(Type::null()), |
| 22 function_type_(Type::null()), | 22 function_type_(Type::null()), |
| 23 function_impl_type_(Type::null()), | 23 function_impl_type_(Type::null()), |
| 24 library_prefix_class_(Class::null()), |
| 24 type_class_(Class::null()), | 25 type_class_(Class::null()), |
| 25 number_type_(Type::null()), | 26 number_type_(Type::null()), |
| 26 int_type_(Type::null()), | 27 int_type_(Type::null()), |
| 27 integer_implementation_class_(Class::null()), | 28 integer_implementation_class_(Class::null()), |
| 28 smi_class_(Class::null()), | 29 smi_class_(Class::null()), |
| 29 mint_class_(Class::null()), | 30 mint_class_(Class::null()), |
| 30 bigint_class_(Class::null()), | 31 bigint_class_(Class::null()), |
| 31 double_class_(Class::null()), | 32 double_class_(Class::null()), |
| 32 float32x4_type_(Type::null()), | 33 float32x4_type_(Type::null()), |
| 33 int32x4_type_(Type::null()), | 34 int32x4_type_(Type::null()), |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array)); | 141 Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array)); |
| 141 // Expansion of inlined functions requires additional memory at run time, | 142 // Expansion of inlined functions requires additional memory at run time, |
| 142 // avoid it. | 143 // avoid it. |
| 143 stack_trace.set_expand_inlined(false); | 144 stack_trace.set_expand_inlined(false); |
| 144 set_preallocated_stack_trace(stack_trace); | 145 set_preallocated_stack_trace(stack_trace); |
| 145 | 146 |
| 146 return true; | 147 return true; |
| 147 } | 148 } |
| 148 | 149 |
| 149 } // namespace dart | 150 } // namespace dart |
| OLD | NEW |