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

Unified Diff: vm/ic_data_test.cc

Issue 8404009: Restructure instance calls in optimizing compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 2 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/ic_data.cc ('k') | vm/opt_code_generator_ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/ic_data_test.cc
===================================================================
--- vm/ic_data_test.cc (revision 834)
+++ vm/ic_data_test.cc (working copy)
@@ -54,9 +54,14 @@
GrowableArray<const Class*> test_classes;
Function& test_target = Function::Handle();
ic_data.GetCheckAt(0, &test_classes, &test_target);
+ Class& test_class_1 = Class::Handle();
+ Function& test_target_1 = Function::Handle();
+ ic_data.GetOneClassCheckAt(0, &test_class_1, &test_target_1);
EXPECT(SameClassArrays(classes, test_classes));
+ EXPECT_EQ(test_classes[0]->raw(), test_class_1.raw());
EXPECT_EQ(target.raw(), test_target.raw());
+ EXPECT_EQ(test_target.raw(), test_target_1.raw());
const Function& new_target =
Function::Handle(GetDummyTarget(name.ToCString()));
« no previous file with comments | « vm/ic_data.cc ('k') | vm/opt_code_generator_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698