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

Unified Diff: runtime/vm/scopes.h

Issue 9664062: Support allocating and calling closures in the new non-optimizing compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated review comments. Created 8 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/parser.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scopes.h
diff --git a/runtime/vm/scopes.h b/runtime/vm/scopes.h
index 16a18cb52a12ea49a6b8c43f90eec1a8fb399202..56dc6b93f4a30d9779e5686b2b0ef54e1da8d5c6 100644
--- a/runtime/vm/scopes.h
+++ b/runtime/vm/scopes.h
@@ -62,7 +62,7 @@ class LocalVariable : public ZoneAllocated {
// out, and fell back to a different compilation mode). In any case, it
// should not change the index once set.
void set_index(int index) {
- ASSERT(!HasIndex() || (index_ == index));
+ ASSERT(!HasIndex());
ASSERT(index != kUnitializedIndex);
index_ = index;
}
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698