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

Unified Diff: runtime/vm/cha_test.cc

Issue 1584223006: Remove signature classes from the VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 4 years, 11 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/cha.cc ('k') | runtime/vm/class_finalizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cha_test.cc
diff --git a/runtime/vm/cha_test.cc b/runtime/vm/cha_test.cc
index a7c998df3999b576aad8bcb9885e8bb829b26ee6..771232467fc3c448d4ba6485b9a449a5a0498601 100644
--- a/runtime/vm/cha_test.cc
+++ b/runtime/vm/cha_test.cc
@@ -98,10 +98,9 @@ TEST_CASE(ClassHierarchyAnalysis) {
EXPECT(ContainsCid(cha.leaf_classes(), class_c.id()));
EXPECT(ContainsCid(cha.leaf_classes(), class_d.id()));
- const Class& function_impl_class =
- Class::Handle(Type::Handle(Isolate::Current()->object_store()->
- function_impl_type()).type_class());
- EXPECT(cha.HasSubclasses(function_impl_class.id()));
+ const Class& closure_class =
+ Class::Handle(Isolate::Current()->object_store()->closure_class());
+ EXPECT(!cha.HasSubclasses(closure_class.id()));
}
} // namespace dart
« no previous file with comments | « runtime/vm/cha.cc ('k') | runtime/vm/class_finalizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698