Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: runtime/vm/object_store.cc

Issue 589733002: Remove some of the unused classes stored in the object store. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object_store.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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()),
25 type_class_(Class::null()),
26 number_type_(Type::null()), 24 number_type_(Type::null()),
27 int_type_(Type::null()), 25 int_type_(Type::null()),
28 integer_implementation_class_(Class::null()), 26 integer_implementation_class_(Class::null()),
29 smi_class_(Class::null()), 27 smi_class_(Class::null()),
30 mint_class_(Class::null()), 28 mint_class_(Class::null()),
31 double_class_(Class::null()), 29 double_class_(Class::null()),
32 float32x4_type_(Type::null()), 30 float32x4_type_(Type::null()),
33 int32x4_type_(Type::null()), 31 int32x4_type_(Type::null()),
34 float64x2_type_(Type::null()), 32 float64x2_type_(Type::null()),
35 string_type_(Type::null()), 33 string_type_(Type::null()),
36 one_byte_string_class_(Class::null()), 34 one_byte_string_class_(Class::null()),
37 two_byte_string_class_(Class::null()), 35 two_byte_string_class_(Class::null()),
38 external_one_byte_string_class_(Class::null()), 36 external_one_byte_string_class_(Class::null()),
39 external_two_byte_string_class_(Class::null()), 37 external_two_byte_string_class_(Class::null()),
40 bool_type_(Type::null()), 38 bool_type_(Type::null()),
41 bool_class_(Class::null()), 39 bool_class_(Class::null()),
42 array_class_(Class::null()), 40 array_class_(Class::null()),
43 array_type_(Type::null()), 41 array_type_(Type::null()),
44 immutable_array_class_(Class::null()), 42 immutable_array_class_(Class::null()),
45 growable_object_array_class_(Class::null()), 43 growable_object_array_class_(Class::null()),
46 linked_hash_map_class_(Class::null()), 44 linked_hash_map_class_(Class::null()),
47 float32x4_class_(Class::null()), 45 float32x4_class_(Class::null()),
48 int32x4_class_(Class::null()), 46 int32x4_class_(Class::null()),
49 float64x2_class_(Class::null()), 47 float64x2_class_(Class::null()),
50 typed_data_classes_(Array::null()),
51 error_class_(Class::null()), 48 error_class_(Class::null()),
52 stacktrace_class_(Class::null()),
53 weak_property_class_(Class::null()), 49 weak_property_class_(Class::null()),
54 symbol_table_(Array::null()), 50 symbol_table_(Array::null()),
55 canonical_type_arguments_(Array::null()), 51 canonical_type_arguments_(Array::null()),
56 async_library_(Library::null()), 52 async_library_(Library::null()),
57 builtin_library_(Library::null()), 53 builtin_library_(Library::null()),
58 core_library_(Library::null()), 54 core_library_(Library::null()),
59 isolate_library_(Library::null()), 55 isolate_library_(Library::null()),
60 math_library_(Library::null()), 56 math_library_(Library::null()),
61 mirrors_library_(Library::null()), 57 mirrors_library_(Library::null()),
62 native_wrappers_library_(Library::null()), 58 native_wrappers_library_(Library::null()),
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array)); 147 Stacktrace::Handle(Stacktrace::New(code_array, pc_offset_array));
152 // Expansion of inlined functions requires additional memory at run time, 148 // Expansion of inlined functions requires additional memory at run time,
153 // avoid it. 149 // avoid it.
154 stack_trace.set_expand_inlined(false); 150 stack_trace.set_expand_inlined(false);
155 set_preallocated_stack_trace(stack_trace); 151 set_preallocated_stack_trace(stack_trace);
156 152
157 return true; 153 return true;
158 } 154 }
159 155
160 } // namespace dart 156 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698