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

Unified Diff: runtime/vm/bit_vector.cc

Issue 12638040: Compute local variable liveness before translation to SSA. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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/bit_vector.h ('k') | runtime/vm/bit_vector_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bit_vector.cc
diff --git a/runtime/vm/bit_vector.cc b/runtime/vm/bit_vector.cc
index 80b640b247c38304c234c041209f2aed873e3e1f..b97c18e4dec6ee5e01e97cddf95d278a81d678b1 100644
--- a/runtime/vm/bit_vector.cc
+++ b/runtime/vm/bit_vector.cc
@@ -88,10 +88,10 @@ bool BitVector::KillAndAdd(BitVector* kill, BitVector* gen) {
}
-void BitVector::Intersect(const BitVector& other) {
- ASSERT(other.length() == length());
+void BitVector::Intersect(const BitVector* other) {
+ ASSERT(other->length() == length());
for (int i = 0; i < data_length_; i++) {
- data_[i] = data_[i] & other.data_[i];
+ data_[i] = data_[i] & other->data_[i];
}
}
« no previous file with comments | « runtime/vm/bit_vector.h ('k') | runtime/vm/bit_vector_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698