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

Unified Diff: vm/bit_vector_test.cc

Issue 10796108: Add a backward instruction iterator and use it in the liveness analysis. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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/bit_vector.h ('k') | vm/flow_graph_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/bit_vector_test.cc
===================================================================
--- vm/bit_vector_test.cc (revision 9874)
+++ vm/bit_vector_test.cc (working copy)
@@ -74,6 +74,14 @@
EXPECT_EQ(true, a->Contains(64));
EXPECT_EQ(true, a->Contains(96));
EXPECT_EQ(false, a->Contains(127));
+ a->Remove(0);
+ a->Remove(32);
+ a->Remove(64);
+ a->Remove(96);
+ EXPECT_EQ(false, a->Contains(0));
+ EXPECT_EQ(false, a->Contains(32));
+ EXPECT_EQ(false, a->Contains(64));
+ EXPECT_EQ(false, a->Contains(96));
}
}
« no previous file with comments | « vm/bit_vector.h ('k') | vm/flow_graph_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698