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

Unified Diff: runtime/vm/scopes.h

Issue 10377104: Compute assigned variables and dominance frontiers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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
Index: runtime/vm/scopes.h
diff --git a/runtime/vm/scopes.h b/runtime/vm/scopes.h
index 3079e1e17f307f6f8acc234106d46e70d23cc02d..9a841ae3d83ba53569ef2da7ec0898e9c41a3131 100644
--- a/runtime/vm/scopes.h
+++ b/runtime/vm/scopes.h
@@ -58,10 +58,7 @@ class LocalVariable : public ZoneAllocated {
return index_;
}
- // Assign an index to a local. This function can be called more than once
- // on the same on local (e.g., if we tried to compile in one mode, bailed
- // out, and fell back to a different compilation mode). In any case, it
- // should not change the index once set.
+ // Assign an index to a local.
void set_index(int index) {
ASSERT(!HasIndex());
ASSERT(index != kUnitializedIndex);

Powered by Google App Engine
This is Rietveld 408576698