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

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

Issue 1965493004: Canonicalize generic types in an isolate specific hash table (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address-merge-conflicts Created 4 years, 7 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
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/precompiler.cc » ('j') | 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"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 array_type_(Type::null()), 49 array_type_(Type::null()),
50 immutable_array_class_(Class::null()), 50 immutable_array_class_(Class::null()),
51 growable_object_array_class_(Class::null()), 51 growable_object_array_class_(Class::null()),
52 linked_hash_map_class_(Class::null()), 52 linked_hash_map_class_(Class::null()),
53 float32x4_class_(Class::null()), 53 float32x4_class_(Class::null()),
54 int32x4_class_(Class::null()), 54 int32x4_class_(Class::null()),
55 float64x2_class_(Class::null()), 55 float64x2_class_(Class::null()),
56 error_class_(Class::null()), 56 error_class_(Class::null()),
57 weak_property_class_(Class::null()), 57 weak_property_class_(Class::null()),
58 symbol_table_(Array::null()), 58 symbol_table_(Array::null()),
59 canonical_types_(Array::null()),
59 canonical_type_arguments_(Array::null()), 60 canonical_type_arguments_(Array::null()),
60 async_library_(Library::null()), 61 async_library_(Library::null()),
61 builtin_library_(Library::null()), 62 builtin_library_(Library::null()),
62 core_library_(Library::null()), 63 core_library_(Library::null()),
63 collection_library_(Library::null()), 64 collection_library_(Library::null()),
64 convert_library_(Library::null()), 65 convert_library_(Library::null()),
65 developer_library_(Library::null()), 66 developer_library_(Library::null()),
66 internal_library_(Library::null()), 67 internal_library_(Library::null()),
67 isolate_library_(Library::null()), 68 isolate_library_(Library::null()),
68 math_library_(Library::null()), 69 math_library_(Library::null()),
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 ASSERT(!cls.IsNull()); 207 ASSERT(!cls.IsNull());
207 set_stream_iterator_class(cls); 208 set_stream_iterator_class(cls);
208 209
209 const Library& internal_lib = Library::Handle(internal_library()); 210 const Library& internal_lib = Library::Handle(internal_library());
210 cls = internal_lib.LookupClass(Symbols::Symbol()); 211 cls = internal_lib.LookupClass(Symbols::Symbol());
211 set_symbol_class(cls); 212 set_symbol_class(cls);
212 #endif 213 #endif
213 } 214 }
214 215
215 } // namespace dart 216 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object_store.h ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698