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

Unified Diff: vm/cha_test.cc

Issue 10873004: Use kInstanceCid instead of object_store()->object_class() when checking to see if the class is obj… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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 | « vm/cha.cc ('k') | vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/cha_test.cc
===================================================================
--- vm/cha_test.cc (revision 11121)
+++ vm/cha_test.cc (working copy)
@@ -115,7 +115,7 @@
EXPECT_EQ(1, class_a_bar_overrides->length());
EXPECT_EQ(class_d_bar.raw(), (*class_a_bar_overrides)[0]->raw());
- // TODO(regis): Add this test EXPECT(CHA::HasSubclasses(kDartObjectCid)).
+ EXPECT(CHA::HasSubclasses(kInstanceCid));
EXPECT(!CHA::HasSubclasses(kSmiCid));
EXPECT(!CHA::HasSubclasses(kNullCid));
EXPECT(!CHA::HasSubclasses(kDynamicCid));
@@ -127,4 +127,3 @@
}
} // namespace dart
-
« no previous file with comments | « vm/cha.cc ('k') | vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698