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

Unified Diff: runtime/vm/object_reload.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_reload.cc
diff --git a/runtime/vm/object_reload.cc b/runtime/vm/object_reload.cc
index 2cf57e48e9f88a0cf04b919959631d9fdb572491..405854db24770010541fb867e141835677a1248f 100644
--- a/runtime/vm/object_reload.cc
+++ b/runtime/vm/object_reload.cc
@@ -152,12 +152,12 @@ void Class::CopyCanonicalConstants(const Class& old_cls) const {
}
-void Class::CopyCanonicalTypes(const Class& old_cls) const {
- const Object& old_canonical_types = Object::Handle(old_cls.canonical_types());
- if (old_canonical_types.IsNull()) {
+void Class::CopyCanonicalType(const Class& old_cls) const {
+ const Type& old_canonical_type = Type::Handle(old_cls.canonical_type());
+ if (old_canonical_type.IsNull()) {
return;
}
- set_canonical_types(old_canonical_types);
+ set_canonical_type(old_canonical_type);
}
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698