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

Unified Diff: runtime/vm/hash_map_test.cc

Issue 10872035: Add a simple dominator based redundancy elimination. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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
« runtime/vm/flow_graph_optimizer.cc ('K') | « runtime/vm/hash_map.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/hash_map_test.cc
===================================================================
--- runtime/vm/hash_map_test.cc (revision 11221)
+++ runtime/vm/hash_map_test.cc (working copy)
@@ -30,6 +30,10 @@
EXPECT(map.Lookup(&v1) == &v1);
EXPECT(map.Lookup(&v2) == &v2);
EXPECT(map.Lookup(&v3) == &v1);
+ DirectChainedHashMap<TestValue*> map2(map);
+ EXPECT(map2.Lookup(&v1) == &v1);
+ EXPECT(map2.Lookup(&v2) == &v2);
+ EXPECT(map2.Lookup(&v3) == &v1);
}
} // namespace dart
« runtime/vm/flow_graph_optimizer.cc ('K') | « runtime/vm/hash_map.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698